コード例 #1
0
 /**
  * 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);
 }
コード例 #2
0
ファイル: MySqlBud.php プロジェクト: Benef3ssence/Roots
 public function __construct($properties, $id = null)
 {
     $this->_table = static::getTable('bud');
     parent::__construct($properties, $id);
 }
コード例 #3
0
ファイル: MySqlGroup.php プロジェクト: fdojose/fichamtch
 public function __construct($properties, $id = null)
 {
     $this->_table = static::getTableGroup();
     $this->_columns = static::$columns_group;
     parent::__construct($properties, $id);
 }