PHP 클래스 Arcanedev\SeoHelper\Helpers\Meta

저자: ARCANEDEV ([email protected])
상속: implements Arcanedev\SeoHelper\Contracts\Helpers\Meta
파일 보기 프로젝트 열기: arcanedev/seo-helper 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$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 = '' ) : Meta Make Meta instance.
render ( ) : string Render the tag.
setNameProperty ( string $nameProperty ) : Meta Set the meta property name.
setPrefix ( string $prefix ) : Meta 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 ) : Meta Set the meta content.
setName ( string $name ) : Meta Set the meta name.

메소드 상세

__construct() 공개 메소드

Make Meta instance.
public __construct ( string $name, string $content, string $propertyName = 'name', string $prefix = '' )
$name string
$content string
$propertyName string
$prefix string

__toString() 공개 메소드

Render the tag.
public __toString ( ) : string
리턴 string

clean() 공개 메소드

Clean all the inputs.
public clean ( string $value ) : string
$value string
리턴 string

isValid() 공개 메소드

Check if meta is valid.
public isValid ( ) : boolean
리턴 boolean

key() 공개 메소드

Get the meta name.
public key ( ) : string
리턴 string

make() 공개 정적인 메소드

Make Meta instance.
public static make ( string $name, string $content, string $propertyName = 'name', string $prefix = '' ) : Meta
$name string
$content string
$propertyName string
$prefix string
리턴 Meta

render() 공개 메소드

Render the tag.
public render ( ) : string
리턴 string

setNameProperty() 공개 메소드

Set the meta property name.
public setNameProperty ( string $nameProperty ) : Meta
$nameProperty string
리턴 Meta

setPrefix() 공개 메소드

Set the meta prefix name.
public setPrefix ( string $prefix ) : Meta
$prefix string
리턴 Meta

프로퍼티 상세

$content 보호되어 있는 프로퍼티

Meta content.
protected string $content
리턴 string

$name 보호되어 있는 프로퍼티

Meta name.
protected string $name
리턴 string

$nameProperty 보호되어 있는 프로퍼티

The meta name property.
protected string $nameProperty
리턴 string

$prefix 보호되어 있는 프로퍼티

Meta prefix name.
protected string $prefix
리턴 string