/** * Create a new MySqlGroup object. * * @see MySqlDatabaseObject */ public function __construct($properties, $id = null) { $this->_table = static::getTable('user'); // Set default locale, if not specified if (!isset($properties['locale'])) { $properties['locale'] = static::$app->site->default_locale; } parent::__construct($properties, $id); }
public function __construct($properties, $id = null) { $this->_table = static::getTable('bud'); parent::__construct($properties, $id); }
public function __construct($properties, $id = null) { $this->_table = static::getTableGroup(); $this->_columns = static::$columns_group; parent::__construct($properties, $id); }