Свойство | Тип | Описание | |
---|---|---|---|
$content | string | Meta content. | |
$name | string | Meta name. | |
$nameProperty | string | The meta name property. | |
$prefix | string | Meta prefix name. |
Метод | Описание | |
---|---|---|
__construct ( string $name, string $content, string $propertyName = 'name', string $prefix = '' ) | Make Meta instance. | |
__toString ( ) : string | Render the tag. | |
clean ( string $value ) : string | Clean all the inputs. | |
isValid ( ) : boolean | Check if meta is valid. | |
key ( ) : string | Get the meta name. | |
make ( string $name, string $content, string $propertyName = 'name', string $prefix = '' ) : |
Make Meta instance. | |
render ( ) : string | Render the tag. | |
setNameProperty ( string $nameProperty ) : |
Set the meta property name. | |
setPrefix ( string $prefix ) : |
Set the meta prefix name. |
Метод | Описание | |
---|---|---|
isLink ( ) : boolean | Check if meta is a link tag. |
Метод | Описание | |
---|---|---|
checkNameProperty ( string &$nameProperty ) | Check the name property. | |
getContent ( ) : string | Get the meta content. | |
getName ( boolean $prefixed = true ) : string | Get the meta name. | |
renderLink ( ) : string | Render the link tag. | |
renderMeta ( ) : string | Render the meta tag. | |
setContent ( string $content ) : |
Set the meta content. | |
setName ( string $name ) : |
Set the meta name. |
public setNameProperty ( string $nameProperty ) : |
||
$nameProperty | string | |
Результат |
protected string $nameProperty | ||
Результат | string |