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

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

Renders a single attribute in the given output format.
public parseAttribute ( string $strAttributeName, string $strOutputFormat = 'text', MetaModels\Render\Setting\ICollection $objSettings = null ) : array
$strAttributeName string The desired attribute.
$strOutputFormat string The desired output format (optional - default: text).
$objSettings MetaModels\Render\Setting\ICollection The render settings to use (optional - default: null).
Результат array format=>value
    public function parseAttribute($strAttributeName, $strOutputFormat = 'text', $objSettings = null)
    {
        return $this->internalParseAttribute($this->getAttribute($strAttributeName), $strOutputFormat, $objSettings);
    }