Hypertable_ThriftGen_NamespaceListing::__construct PHP Method

__construct() public method

public __construct ( $vals = null )
    public function __construct($vals = null)
    {
        if (!isset(self::$_TSPEC)) {
            self::$_TSPEC = array(1 => array('var' => 'name', 'type' => TType::STRING), 2 => array('var' => 'is_namespace', 'type' => TType::BOOL));
        }
        if (is_array($vals)) {
            if (isset($vals['name'])) {
                $this->name = $vals['name'];
            }
            if (isset($vals['is_namespace'])) {
                $this->is_namespace = $vals['is_namespace'];
            }
        }
    }
Hypertable_ThriftGen_NamespaceListing