public function __construct($take_slide_name = false, $course_code = null, $resource_id = null, $user_id = null) { $this->take_slide_name = $take_slide_name; parent::__construct($course_code, $resource_id, $user_id); }
/** * Class constructor. Calls the parent class and initialises the local attribute split_steps * @param boolean Whether to split steps (true) or make one large page (false) * @param string Course code * @param integer Resource ID * @param integer Creator user id * @return void */ public function __construct($split_steps = false, $course_code = null, $resource_id = null, $user_id = null) { $this->split_steps = $split_steps; parent::__construct($course_code, $resource_id, $user_id); }