Geo_MapLocationLanguage::isEnabled PHP Method

isEnabled() public method

Point in this language is enabled?
public isEnabled ( ) : boolean
return boolean
    public function isEnabled()
    {
        return (bool) (int) $this->m_data['poi_display'];
    }

Usage Example

Ejemplo n.º 1
0
 /**
  * Point is displayable?
  * @return bool
  */
 public function isEnabled($language)
 {
     $language = (int) $language;
     $contentLanguage = new Geo_MapLocationLanguage($this, $language);
     return $contentLanguage->isEnabled();
 }