Beispiel #1
0
 /**
  * @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();
 }
Beispiel #2
0
 /**
  * @param mixed $properties
  *
  * @internal
  */
 public function __construct($properties = null)
 {
     $this->_db = JFactory::getDbo();
     parent::__construct($properties);
 }