public function __construct($group_id = false) { parent::__construct(); if (intval($group_id)) { $this->findById(intval($group_id)); } }
public function __construct($note_id = false) { parent::__construct(); if (intval($note_id)) { $return = $this->findById(intval($note_id)); } }
public function __construct($rightId = false) { parent::__construct(); if ($rightId) { $this->findById($rightId); } }
public function __construct($privilege_id = false) { parent::__construct(); if (intval($privilege_id)) { $this->findById($privilege_id); } }
public function __construct($id = null) { parent::__construct(); if ($id) { $this->findById(intval($id)); } }
public function __construct($thread_id = false) { parent::__construct(); if (intval($thread_id)) { $this->findByThreadId(intval($thread_id)); } }
public function __construct($id = false) { parent::__construct(); if ($id !== false) { $this->findById($id); } }
public function __construct($post_id = false) { parent::__construct(); if (intval($post_id)) { $this->findByPostId(intval($post_id)); } }
public function __construct($location_id = false) { parent::__construct(); if (intval($location_id)) { $this->findById(intval($location_id)); } $this->parentId = 0; $this->countryId = 0; }
/** * loads a usage entity on instantiation if provided with an id * also loads all usage types from GeoType * * @param int $id * @access public */ public function __construct($id = false) { parent::__construct(); if (intval($id)) { $this->findById(intval($id)); } $this->createEntity('GeoType'); $this->geo_types = GeoType::getAllTypes(); }
public function __construct($member_id = false) { parent::__construct(); if ($member_id) { $this->findById($member_id); } $this->words = new MOD_words(); if (isset($_SESSION['lang'])) { $langarr = explode('-', $_SESSION['lang']); $this->lang = $langarr[0]; } else { $this->lang = 'en'; } }
public function __construct() { parent::__construct(); }