Property | Type | Description | |
---|---|---|---|
$content | string | Meta content. | |
$name | string | Meta name. | |
$nameProperty | string | The meta name property. | |
$prefix | string | Meta prefix name. |
Method | Description | |
---|---|---|
__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. |
Method | Description | |
---|---|---|
isLink ( ) : boolean | Check if meta is a link tag. |
Method | Description | |
---|---|---|
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 | |
return |
protected string $nameProperty | ||
return | string |