Exemplo n.º 1
0
 public function __construct($contest_id, $user_id)
 {
     $this->ids = array('cmeta_contest_id' => (int) $contest_id, 'cmeta_user_id' => (int) $user_id);
     $this->key_name = 'cmeta_key';
     $this->value_name = 'cmeta_value';
     $this->table_name = DB_TABLE_CONTESTMETA;
     parent::initialize();
 }
Exemplo n.º 2
0
 public function __construct($prob_id)
 {
     $this->ids = array('pmeta_prob_id' => (int) $prob_id);
     $this->key_name = 'pmeta_key';
     $this->value_name = 'pmeta_value';
     $this->table_name = DB_TABLE_PROBMETA;
     parent::initialize();
 }
Exemplo n.º 3
0
 protected function __construct()
 {
     $this->ids = array();
     $this->key_name = 'cfg_key';
     $this->value_name = 'cfg_value';
     $this->table_name = DB_TABLE_CONFIG;
     parent::initialize();
 }
Exemplo n.º 4
0
 public function __construct($record_id)
 {
     $this->ids = array('rmeta_record_id' => (int) $record_id);
     $this->key_name = 'rmeta_key';
     $this->value_name = 'rmeta_value';
     $this->table_name = DB_TABLE_RECORDMETA;
     parent::initialize();
 }
Exemplo n.º 5
0
 public function __construct($user_id)
 {
     $this->ids = array('umeta_user_id' => (int) $user_id);
     $this->key_name = 'umeta_key';
     $this->value_name = 'umeta_value';
     $this->table_name = DB_TABLE_USERMETA;
     parent::initialize();
 }