Beispiel #1
0
 public function __construct($vals = null)
 {
     if (!isset(self::$_TSPEC)) {
         self::$_TSPEC = array(0 => array('var' => 'success', 'type' => TType::LST, 'etype' => TType::STRING, 'elem' => array('type' => TType::STRING)));
     }
     if (is_array($vals)) {
         parent::__construct(self::$_TSPEC, $vals);
     }
 }
 public function __construct($vals = null)
 {
     if (!isset(self::$_TSPEC)) {
         self::$_TSPEC = array(0 => array('var' => 'success', 'type' => TType::LST, 'etype' => TType::STRING, 'elem' => array('type' => TType::STRING)), 1 => array('var' => 'ire', 'type' => TType::STRUCT, 'class' => 'cassandra_InvalidRequestException'));
     }
     if (is_array($vals)) {
         if (isset($vals['success'])) {
             $this->success = $vals['success'];
         }
         if (isset($vals['ire'])) {
             $this->ire = $vals['ire'];
         }
     }
 }