PHP 인터페이스 Arcanedev\SeoHelper\Contracts\Entities\Title

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

공개 메소드들

메소드 설명
getMax ( ) : integer Get title max lenght.
getSeparator ( ) : string Get title separator.
getSiteName ( ) : string Get site name.
getTitleOnly ( ) : string Get title only (without site name or separator).
isTitleFirst ( ) : boolean Check if title is first.
make ( string $title, string $siteName = '', string $separator = '-' ) : self Make a Title instance.
set ( string $title ) : self Set title.
setFirst ( ) : self Set title first.
setLast ( ) : self Set title last.
setMax ( integer $max ) : self Set title max lenght.
setSeparator ( string $separator ) : self Set title separator.
setSiteName ( string $siteName ) : self Set site name.

메소드 상세

getMax() 공개 메소드

Get title max lenght.
public getMax ( ) : integer
리턴 integer

getSeparator() 공개 메소드

Get title separator.
public getSeparator ( ) : string
리턴 string

getSiteName() 공개 메소드

Get site name.
public getSiteName ( ) : string
리턴 string

getTitleOnly() 공개 메소드

Get title only (without site name or separator).
public getTitleOnly ( ) : string
리턴 string

isTitleFirst() 공개 메소드

Check if title is first.
public isTitleFirst ( ) : boolean
리턴 boolean

make() 공개 정적인 메소드

Make a Title instance.
public static make ( string $title, string $siteName = '', string $separator = '-' ) : self
$title string
$siteName string
$separator string
리턴 self

set() 공개 메소드

Set title.
public set ( string $title ) : self
$title string
리턴 self

setFirst() 공개 메소드

Set title first.
public setFirst ( ) : self
리턴 self

setLast() 공개 메소드

Set title last.
public setLast ( ) : self
리턴 self

setMax() 공개 메소드

Set title max lenght.
public setMax ( integer $max ) : self
$max integer
리턴 self

setSeparator() 공개 메소드

Set title separator.
public setSeparator ( string $separator ) : self
$separator string
리턴 self

setSiteName() 공개 메소드

Set site name.
public setSiteName ( string $siteName ) : self
$siteName string
리턴 self