Toggle navigation
Hot Examples
ZH
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
搜索
Home
Artesaos
SEOTools
OpenGraph
addProperty
Artesaos\SEOTools\OpenGraph::addProperty PHP Method
OpenGraph Class Documentation
显示文件
Open project: artesaos/seotools
addProperty()
public
method
Add or update property.
public
addProperty
(
string
$key
,
string
|
array
$value
) :
Artesaos\SEOTools\Contracts\OpenGraph
$key
string
key of property
$value
string
|
array
value of property
return
Artesaos\SEOTools\Contracts\OpenGraph
public function addProperty($key, $value) { $this->properties[$key] = $value; return $this; }
OpenGraph
__construct
addAudio
addImage
addImages
addProperty
addVideo
cleanProperties
eachProperties
generate
makeTag
removeProperty
setArticle
setBook
setDescription
setMusicAlbum
setMusicPlaylist
setMusicRadioStation
setMusicSong
setProfile
setProperties
setSiteName
setTitle
setType
setUrl
setVideoEpisode
setVideoMovie
setVideoOther
setVideoTVShow
setupDefaults