Exemplo n.º 1
0
 /**
  * Constructor
  *
  * @access	protected
  */
 public function __construct($identifier = null)
 {
     if (self::$_now === null) {
         self::$_now = new JDate();
     }
     if (self::$_my === null) {
         self::$_my = JFactory::getUser();
     }
     // Always load the data -- if item does not exist: fill empty data
     $this->load($identifier);
     $this->_db = JFactory::getDBO();
 }