Activity::__construct PHP Method

__construct() public method

public __construct ( $id = null, $activityGroupId = null, $name = null, $expectedURL = null, $status = null, $type = null )
        public function __construct($id = null, $activityGroupId = null, $name = null, $expectedURL = null, $status = null, $type = null)
        {
            $this->id = $id;
            $this->activityGroupId = $activityGroupId;
            $this->name = $name;
            $this->expectedURL = $expectedURL;
            $this->status = $status;
            $this->type = $type;
        }

Usage Example

Example #1
0
 protected function __construct()
 {
     parent::__construct();
     $this->cms = CmsView::init("文章管理");
     $this->cms->setPageTitle("文章管理");
     $this->cms->setUserName("可爱的依然");
     $this->cms->setControlFile("tpl/admin/control.json");
 }
All Usage Examples Of Activity::__construct