PHP 인터페이스 Arcanedev\SeoHelper\Contracts\SeoMeta

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

공개 메소드들

메소드 설명
addKeyword ( string $keyword ) : self Add a keyword.
addKeywords ( array $keywords ) : self Add many keywords.
addMeta ( string $name, string $content ) : self Add a meta tag.
addMetas ( array $metas ) : self Add many meta tags.
addWebmaster ( string $webmaster, string $content ) : self Add a webmaster tool site verifier.
description ( Arcanedev\SeoHelper\Contracts\Entities\Description $description ) : self Set the Description instance.
keywords ( Arcanedev\SeoHelper\Contracts\Entities\Keywords $keywords ) : self Set the Keywords instance.
misc ( Arcanedev\SeoHelper\Contracts\Entities\MiscTags $misc ) : self Set the MiscTags instance.
removeMeta ( string | array $names ) : self Remove a meta from the meta collection by key.
resetMetas ( ) : self Reset the meta collection except the description and keywords metas.
resetWebmasters ( ) : self Reset all webmaster tool site verifier metas.
setDescription ( string $content ) : self Set the description content.
setGoogleAnalytics ( string $code ) : self Set the Google Analytics code.
setKeywords ( array | string $content ) : self Set the keywords content.
setSiteName ( string $siteName ) : self Set the site name.
setTitle ( string $title, string $siteName = null, string $separator = null ) : self Set the title.
setUrl ( string $url ) : self Set the current URL.
title ( Arcanedev\SeoHelper\Contracts\Entities\Title $title ) : self Set the Title instance.
webmasters ( Arcanedev\SeoHelper\Contracts\Entities\Webmasters $webmasters ) : self Set the Webmasters instance.

메소드 상세

addKeyword() 공개 메소드

Add a keyword.
public addKeyword ( string $keyword ) : self
$keyword string
리턴 self

addKeywords() 공개 메소드

Add many keywords.
public addKeywords ( array $keywords ) : self
$keywords array
리턴 self

addMeta() 공개 메소드

Add a meta tag.
public addMeta ( string $name, string $content ) : self
$name string
$content string
리턴 self

addMetas() 공개 메소드

Add many meta tags.
public addMetas ( array $metas ) : self
$metas array
리턴 self

addWebmaster() 공개 메소드

Add a webmaster tool site verifier.
public addWebmaster ( string $webmaster, string $content ) : self
$webmaster string
$content string
리턴 self

description() 공개 메소드

Set the Description instance.
public description ( Arcanedev\SeoHelper\Contracts\Entities\Description $description ) : self
$description Arcanedev\SeoHelper\Contracts\Entities\Description
리턴 self

keywords() 공개 메소드

Set the Keywords instance.
public keywords ( Arcanedev\SeoHelper\Contracts\Entities\Keywords $keywords ) : self
$keywords Arcanedev\SeoHelper\Contracts\Entities\Keywords
리턴 self

misc() 공개 메소드

Set the MiscTags instance.
public misc ( Arcanedev\SeoHelper\Contracts\Entities\MiscTags $misc ) : self
$misc Arcanedev\SeoHelper\Contracts\Entities\MiscTags
리턴 self

removeMeta() 공개 메소드

Remove a meta from the meta collection by key.
public removeMeta ( string | array $names ) : self
$names string | array
리턴 self

resetMetas() 공개 메소드

Reset the meta collection except the description and keywords metas.
public resetMetas ( ) : self
리턴 self

resetWebmasters() 공개 메소드

Reset all webmaster tool site verifier metas.
public resetWebmasters ( ) : self
리턴 self

setDescription() 공개 메소드

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

setGoogleAnalytics() 공개 메소드

Set the Google Analytics code.
public setGoogleAnalytics ( string $code ) : self
$code string
리턴 self

setKeywords() 공개 메소드

Set the keywords content.
public setKeywords ( array | string $content ) : self
$content array | string
리턴 self

setSiteName() 공개 메소드

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

setTitle() 공개 메소드

Set the title.
public setTitle ( string $title, string $siteName = null, string $separator = null ) : self
$title string
$siteName string
$separator string
리턴 self

setUrl() 공개 메소드

Set the current URL.
public setUrl ( string $url ) : self
$url string
리턴 self

title() 공개 메소드

Set the Title instance.
public title ( Arcanedev\SeoHelper\Contracts\Entities\Title $title ) : self
$title Arcanedev\SeoHelper\Contracts\Entities\Title
리턴 self

webmasters() 공개 메소드

Set the Webmasters instance.
public webmasters ( Arcanedev\SeoHelper\Contracts\Entities\Webmasters $webmasters ) : self
$webmasters Arcanedev\SeoHelper\Contracts\Entities\Webmasters
리턴 self