You are here

public function GoogleFeeder::getMetaData in Google Search Appliance 5

Same name and namespace in other branches
  1. 6.2 GoogleFeeder.php \GoogleFeeder::getMetaData()

File

./GoogleFeeder.php, line 23

Class

GoogleFeeder

Code

public function getMetaData($key = null) {
  if (!$key) {
    return $this->_metaData;
  }
  else {
    if (isset($this->_metaData[$key])) {
      return $this->_metaData[$key];
    }
    else {
      throw new Exception("Meta Data Code not found", E_WARNING);
    }
  }
}