PHP Class Basho\Riak\Search\Doc

Show file Open project: basho/riak-php-client

Protected Properties

Property Type Description
$_yz_id
$_yz_rb
$_yz_rk
$_yz_rt
$data

Public Methods

Method Description
__construct ( stdClass $data )
__get ( string $name ) : mixed Returns a single value from Solr result document
getData ( ) : array Returns all values as array from Solr result document
getLocation ( ) : Basho\Riak\Location Returns object location

Method Details

__construct() public method

public __construct ( stdClass $data )
$data stdClass

__get() public method

Returns a single value from Solr result document
public __get ( string $name ) : mixed
$name string
return mixed

getData() public method

Returns all values as array from Solr result document
public getData ( ) : array
return array

getLocation() public method

Returns object location
public getLocation ( ) : Basho\Riak\Location
return Basho\Riak\Location

Property Details

$_yz_id protected property

protected $_yz_id

$_yz_rb protected property

protected $_yz_rb

$_yz_rk protected property

protected $_yz_rk

$_yz_rt protected property

protected $_yz_rt

$data protected property

protected $data