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

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

공개 메소드들

메소드 설명
addProperties ( array $properties ) : self Add many open graph properties.
addProperty ( string $property, string $content ) : self Add an open graph property.
setDescription ( string $description ) : self Set description property.
setImage ( string $image ) : self Set image property.
setPrefix ( string $prefix ) : self Set the open graph prefix.
setSiteName ( string $siteName ) : self Set site name property.
setTitle ( string $title ) : self Set title property.
setType ( string $type ) : self Set type property.
setUrl ( string $url ) : self Set url property.

메소드 상세

addProperties() 공개 메소드

Add many open graph properties.
public addProperties ( array $properties ) : self
$properties array
리턴 self

addProperty() 공개 메소드

Add an open graph property.
public addProperty ( string $property, string $content ) : self
$property string
$content string
리턴 self

setDescription() 공개 메소드

Set description property.
public setDescription ( string $description ) : self
$description string
리턴 self

setImage() 공개 메소드

Set image property.
public setImage ( string $image ) : self
$image string
리턴 self

setPrefix() 공개 메소드

Set the open graph prefix.
public setPrefix ( string $prefix ) : self
$prefix string
리턴 self

setSiteName() 공개 메소드

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

setTitle() 공개 메소드

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

setType() 공개 메소드

Set type property.
public setType ( string $type ) : self
$type string
리턴 self

setUrl() 공개 메소드

Set url property.
public setUrl ( string $url ) : self
$url string
리턴 self