/** * @param mixed $properties * * @internal */ public function __construct($properties = null) { if (!empty($this->id)) { $this->_exists = true; $this->_hold = $this->hold; $this->_posts = $this->posts; } else { parent::__construct($properties); } $this->_db = JFactory::getDBO(); }
/** * @param mixed $properties * * @internal */ public function __construct($properties = null) { $this->_db = JFactory::getDbo(); parent::__construct($properties); }