cassandra_Cassandra_describe_keyspace_result::__construct PHP Method

__construct() public method

public __construct ( $vals = null )
    public function __construct($vals = null)
    {
        if (!isset(self::$_TSPEC)) {
            self::$_TSPEC = array(0 => array('var' => 'success', 'type' => TType::MAP, 'ktype' => TType::STRING, 'vtype' => TType::MAP, 'key' => array('type' => TType::STRING), 'val' => array('type' => TType::MAP, 'ktype' => TType::STRING, 'vtype' => TType::STRING, 'key' => array('type' => TType::STRING), 'val' => array('type' => TType::STRING))), 1 => array('var' => 'nfe', 'type' => TType::STRUCT, 'class' => 'cassandra_NotFoundException'));
        }
        if (is_array($vals)) {
            if (isset($vals['success'])) {
                $this->success = $vals['success'];
            }
            if (isset($vals['nfe'])) {
                $this->nfe = $vals['nfe'];
            }
        }
    }
cassandra_Cassandra_describe_keyspace_result