class GoogleMiniResult in Google Search Appliance 5
Same name and namespace in other branches
- 6.2 GoogleMini.php \GoogleMiniResult
Hierarchy
- class \GoogleMiniResult
Expanded class hierarchy of GoogleMiniResult
File
- ./
GoogleMini.php, line 375
View source
class GoogleMiniResult {
var $metaData;
function __construct($result) {
$this->result = $result;
}
function __get($key) {
return $this->result->{$key};
}
function getMetaData($key) {
if (!$this->metaData) {
$this
->buildMetaData();
}
return $this->metaData[$key];
}
function buildMetaData() {
foreach ($this->result->MT as $metaTag) {
$name = $metaTag['N'];
$value = $metaTag['V'];
$this->metaData[(string) $name] = (string) $value;
}
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
GoogleMiniResult:: |
property | |||
GoogleMiniResult:: |
function | |||
GoogleMiniResult:: |
function | |||
GoogleMiniResult:: |
function | |||
GoogleMiniResult:: |
function |