Esempio n. 1
0
 public function __construct($config)
 {
     if (empty($config['order_sql'])) {
         $config['order_sql'] = 'date DESC';
     }
     return parent::__construct($config);
 }
Esempio n. 2
0
 function __construct($config)
 {
     $return = parent::__construct($config);
     /** @todo this is mock */
     $this->items = array('post' => new content_types_item($this, $config, array('id' => 1, 'name' => 'post', 'module' => 'content'), true), 'comment' => new content_types_item($this, $config, array('id' => 2, 'name' => 'comment', 'module' => 'content'), true));
     $this->convert2array();
     return $return;
 }
Esempio n. 3
0
 public function __construct($config)
 {
     return parent::__construct($config);
 }
Esempio n. 4
0
 function __construct($config)
 {
     $config['order_sql'] = 'time DESC';
     return parent::__construct($config);
 }
Esempio n. 5
0
 /**
  * Make sessions collection
  */
 public function __construct($config)
 {
     $this->_session_key = $this->make_key();
     return parent::__construct($config);
 }
Esempio n. 6
0
 /**
  * construct           
  */
 function __construct($config)
 {
     parent::__construct($config);
 }