Ejemplo n.º 1
0
 public function __construct($vals = null)
 {
     if (!isset(self::$_TSPEC)) {
         self::$_TSPEC = array(1 => array('var' => 'acknowledged_by', 'type' => TType::I32), 2 => array('var' => 'acknowledged_by_batchlog', 'type' => TType::BOOL), 3 => array('var' => 'paxos_in_progress', 'type' => TType::BOOL));
     }
     if (is_array($vals)) {
         parent::__construct(self::$_TSPEC, $vals);
     }
 }
 public function __construct()
 {
     if (!isset(self::$_TSPEC)) {
         self::$_TSPEC = array();
     }
 }