public function __construct($config) { if (empty($config['order_sql'])) { $config['order_sql'] = 'date DESC'; } return parent::__construct($config); }
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; }
public function __construct($config) { return parent::__construct($config); }
function __construct($config) { $config['order_sql'] = 'time DESC'; return parent::__construct($config); }
/** * Make sessions collection */ public function __construct($config) { $this->_session_key = $this->make_key(); return parent::__construct($config); }
/** * construct */ function __construct($config) { parent::__construct($config); }