MetaModels\Item::getAttribute PHP Метод

getAttribute() публичный Метод

Fetch the MetaModel attribute instance with the given name.
public getAttribute ( string $strAttributeName ) : MetaModels\Attribute\IAttribute
$strAttributeName string The name of the attribute.
Результат MetaModels\Attribute\IAttribute The instance.
    public function getAttribute($strAttributeName)
    {
        return $this->getMetaModel()->getAttribute($strAttributeName);
    }