Esempio n. 1
0
 public function __construct($vals = null)
 {
     if (!isset(self::$_TSPEC)) {
         self::$_TSPEC = array(1 => array('var' => 'tableName', 'type' => TType::STRING), 2 => array('var' => 'row', 'type' => TType::STRING));
     }
     if (is_array($vals)) {
         if (isset($vals['tableName'])) {
             $this->tableName = $vals['tableName'];
         }
         if (isset($vals['row'])) {
             $this->row = $vals['row'];
         }
     }
 }
Esempio n. 2
0
 public function __construct($vals = null)
 {
     if (!isset(self::$_TSPEC)) {
         self::$_TSPEC = array(1 => array('var' => 'tableName', 'type' => TType::STRING), 2 => array('var' => 'row', 'type' => TType::STRING), 3 => array('var' => 'attributes', 'type' => TType::MAP, 'ktype' => TType::STRING, 'vtype' => TType::STRING, 'key' => array('type' => TType::STRING), 'val' => array('type' => TType::STRING)));
     }
     if (is_array($vals)) {
         if (isset($vals['tableName'])) {
             $this->tableName = $vals['tableName'];
         }
         if (isset($vals['row'])) {
             $this->row = $vals['row'];
         }
         if (isset($vals['attributes'])) {
             $this->attributes = $vals['attributes'];
         }
     }
 }