public function __construct($a_view_id = 0, $a_table_id = 0)
 {
     parent::__construct("dclf", $a_view_id, 0, true);
     if ($a_table_id != 0) {
         $this->setTableId($a_table_id);
     }
     if ($a_view_id != 0) {
         $this->setId($a_view_id);
         $this->doRead();
     }
     //Default-Values
     $this->type = 0;
     // recordview
     $this->formtype = 0;
     // copage
 }
 /**
  * Constructor
  *
  * @access	public
  * @param	wiki page id
  */
 function __construct($a_id = 0, $a_old_nr = 0)
 {
     parent::__construct("user", $a_id, $a_old_nr);
 }
 /**
  * Constructor
  *
  * @param int $a_id blog posting id
  * @param int $a_old_nr versioning
  * @param bool $a_halt halt on errors
  * @return ilBlogPosting
  */
 function __construct($a_id = 0, $a_old_nr = 0, $a_halt = true)
 {
     parent::__construct("blp", $a_id, $a_old_nr, $a_halt);
 }
 /**
  * Constructor
  * @access	public
  * @param	scorm 2004 page id
  */
 function __construct($a_id = 0, $a_old_nr = 0)
 {
     parent::__construct("sahs", $a_id, $a_old_nr);
     $this->mobs_contained = array();
     $this->files_contained = array();
 }
 /**
  * Constructor
  *
  * @param int $a_portfolio_id
  * @param int $a_id
  * @param int $a_old_nr
  */
 function __construct($a_portfolio_id, $a_id = 0, $a_old_nr = 0)
 {
     $this->portfolio_id = (int) $a_portfolio_id;
     $this->type = self::TYPE_PAGE;
     parent::__construct("prtf", $a_id, $a_old_nr);
 }