/** * Constructor - instantiates one object of this class */ public function __construct($name, $taskbasepath, $plan = null) { $this->taskbasepath = $taskbasepath; $this->blockname = ''; $this->contextid = 0; $this->oldcontextid = 0; $this->blockid = 0; $this->oldblockid = 0; parent::__construct($name, $plan); }
/** * Constructor - instantiates one object of this class */ public function __construct($name, $info, $plan = null) { $this->info = $info; $this->modulename = $this->info->modulename; $this->moduleid = 0; $this->oldmoduleid = $this->info->moduleid; $this->contextid = 0; $this->oldcontextid = 0; $this->activityid = 0; $this->oldactivityid = 0; parent::__construct($name, $plan); }
/** * Constructor - instantiates one object of this class */ public function __construct($name, $info, $plan = null) { $this->info = $info; $this->sectionid = 0; parent::__construct($name, $plan); }