public function __construct($vals = null) { if (!isset(self::$_TSPEC)) { self::$_TSPEC = array(1 => array('var' => 'table', 'type' => TType::STRING), 2 => array('var' => 'row', 'type' => TType::STRING), 3 => array('var' => 'column', 'type' => TType::STRING), 4 => array('var' => 'ammount', 'type' => TType::I64)); } if (is_array($vals)) { if (isset($vals['table'])) { $this->table = $vals['table']; } if (isset($vals['row'])) { $this->row = $vals['row']; } if (isset($vals['column'])) { $this->column = $vals['column']; } if (isset($vals['ammount'])) { $this->ammount = $vals['ammount']; } } }
public function __construct($vals = null) { if (!isset(self::$_TSPEC)) { self::$_TSPEC = array(1 => array('var' => 'row', 'type' => TType::STRING), 2 => array('var' => 'columns', 'type' => TType::LST, 'etype' => TType::STRUCT, 'elem' => array('type' => TType::STRUCT, 'class' => '\\TColumnIncrement')), 3 => array('var' => 'writeToWal', 'type' => TType::BOOL)); } if (is_array($vals)) { if (isset($vals['row'])) { $this->row = $vals['row']; } if (isset($vals['columns'])) { $this->columns = $vals['columns']; } if (isset($vals['writeToWal'])) { $this->writeToWal = $vals['writeToWal']; } } }
public function __construct($vals = null) { if (!isset(self::$_TSPEC)) { self::$_TSPEC = array(1 => array('var' => 'row', 'type' => TType::STRING), 2 => array('var' => 'columns', 'type' => TType::LST, 'etype' => TType::STRUCT, 'elem' => array('type' => TType::STRUCT, 'class' => '\\TColumnIncrement')), 4 => array('var' => 'attributes', 'type' => TType::MAP, 'ktype' => TType::STRING, 'vtype' => TType::STRING, 'key' => array('type' => TType::STRING), 'val' => array('type' => TType::STRING)), 5 => array('var' => 'durability', 'type' => TType::I32), 6 => array('var' => 'cellVisibility', 'type' => TType::STRUCT, 'class' => '\\TCellVisibility')); } if (is_array($vals)) { if (isset($vals['row'])) { $this->row = $vals['row']; } if (isset($vals['columns'])) { $this->columns = $vals['columns']; } if (isset($vals['attributes'])) { $this->attributes = $vals['attributes']; } if (isset($vals['durability'])) { $this->durability = $vals['durability']; } if (isset($vals['cellVisibility'])) { $this->cellVisibility = $vals['cellVisibility']; } } }