Пример #1
0
 public function __construct($config = array())
 {
     $this->_name = $this->_prefix . 'category_value';
     return parent::__construct($config);
 }
Пример #2
0
 /**
  * Constructor.
  *
  * Supported params for $config are:
  * - db              = user-supplied instance of database connector,
  *                     or key name of registry instance.
  * - name            = table name.
  * - primary         = string or array of primary key(s).
  * - rowClass        = row class name.
  * - rowsetClass     = rowset class name.
  * - referenceMap    = array structure to declare relationship
  *                     to parent tables.
  * - dependentTables = array of child tables.
  * - metadataCache   = cache for information from adapter describeTable().
  *
  * @param  mixed $config Array of user-specified config options, or just the Db Adapter.
  * @return void
  */
 public function __construct($config = array())
 {
     $this->_name = 'bbm_settings';
     return parent::__construct($config);
 }
Пример #3
0
 /**
  * Constructor.
  *
  * Supported params for $config are:
  * - db              = user-supplied instance of database connector,
  *                     or key name of registry instance.
  * - name            = table name.
  * - primary         = string or array of primary key(s).
  * - rowClass        = row class name.
  * - rowsetClass     = rowset class name.
  * - referenceMap    = array structure to declare relationship
  *                     to parent tables.
  * - dependentTables = array of child tables.
  * - metadataCache   = cache for information from adapter describeTable().
  *
  * @param  mixed $config Array of user-specified config options, or just the Db Adapter.
  * @return void
  */
 public function __construct($config = array())
 {
     $this->_name = $this->_prefix . 'order_detail';
     return parent::__construct($config);
 }
Пример #4
0
 /**
  * Constructor.
  *
  * Supported params for $config are:
  * - db              = user-supplied instance of database connector,
  *                     or key name of registry instance.
  * - name            = table name.
  * - primary         = string or array of primary key(s).
  * - rowClass        = row class name.
  * - rowsetClass     = rowset class name.
  * - referenceMap    = array structure to declare relationship
  *                     to parent tables.
  * - dependentTables = array of child tables.
  * - metadataCache   = cache for information from adapter describeTable().
  *
  * @param  mixed $config Array of user-specified config options, or just the Db Adapter.
  * @return void
  */
 public function __construct($config = array())
 {
     $this->_name = $this->_prefix . 'reservation';
     return parent::__construct($config);
 }
Пример #5
0
 /**
  * Constructor.
  *
  * Supported params for $config are:
  * - db              = user-supplied instance of database connector,
  *                     or key name of registry instance.
  * - name            = table name.
  * - primary         = string or array of primary key(s).
  * - rowClass        = row class name.
  * - rowsetClass     = rowset class name.
  * - referenceMap    = array structure to declare relationship
  *                     to parent tables.
  * - dependentTables = array of child tables.
  * - metadataCache   = cache for information from adapter describeTable().
  *
  * @param  mixed $config Array of user-specified config options, or just the Db Adapter.
  * @return void
  */
 public function __construct($config = array())
 {
     $this->_name = $this->_prefix . 'user_expand';
     return parent::__construct($config);
 }
Пример #6
0
 /**
  * Constructor.
  *
  * Supported params for $config are:
  * - db              = user-supplied instance of database connector,
  *                     or key name of registry instance.
  * - name            = table name.
  * - primary         = string or array of primary key(s).
  * - rowClass        = row class name.
  * - rowsetClass     = rowset class name.
  * - referenceMap    = array structure to declare relationship
  *                     to parent tables.
  * - dependentTables = array of child tables.
  * - metadataCache   = cache for information from adapter describeTable().
  *
  * @param  mixed $config Array of user-specified config options, or just the Db Adapter.
  * @return void
  */
 public function __construct($config = array())
 {
     $this->_name = $this->_prefix . 'group_permission';
     return parent::__construct($config);
 }
Пример #7
0
 /**
  * Constructor.
  *
  * Supported params for $config are:
  * - db              = user-supplied instance of database connector,
  *                     or key name of registry instance.
  * - name            = table name.
  * - primary         = string or array of primary key(s).
  * - rowClass        = row class name.
  * - rowsetClass     = rowset class name.
  * - referenceMap    = array structure to declare relationship
  *                     to parent tables.
  * - dependentTables = array of child tables.
  * - metadataCache   = cache for information from adapter describeTable().
  *
  * @param  mixed $config Array of user-specified config options, or just the Db Adapter.
  * @return void
  */
 public function __construct($config = array())
 {
     $this->_name = $this->_prefix . 'scontent_lang';
     return parent::__construct($config);
 }
Пример #8
0
 public function countAllUsers($condition)
 {
     $countCondition = array();
     if (null != @$condition['group_id']) {
         $countCondition['group_id'] = $condition['group_id'];
     }
     if (null != @$condition['username']) {
         $countCondition['username LIKE ?'] = "%{$condition['username']}%";
     }
     return parent::count($countCondition);
 }