Sulu\Component\Content\Metadata\PropertyMetadata::isLocalized PHP Method

isLocalized() public method

public isLocalized ( )
    public function isLocalized()
    {
        return $this->localized;
    }

Usage Example

示例#1
0
 public function fromProperty(PropertyMetadata $property, $locale = null)
 {
     if (true === $property->isLocalized()) {
         return $this->localizedContentName($property->getName(), $locale);
     }
     return $this->contentname($property->getName());
 }
All Usage Examples Of Sulu\Component\Content\Metadata\PropertyMetadata::isLocalized