Toggle navigation
Hot Examples
IT
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Cerca
Home
Newscoop
Package
Item
setType
Newscoop\Package\Item::setType PHP Method
Item Class Documentation
Mostra file
Open project: sourcefabric/newscoop
setType()
public
method
Set Item type.
public
setType
(
string
$type
)
$type
string
"video" or "image"
public function setType($type) { $this->type = $type; }
Item
__construct
getCaption
getId
getImage
getImageSpecs
getItem
getLink
getOffset
getPackage
getPackageId
getPackageItems
getRendition
getType
getVideoUrl
isImage
isVideo
setCaption
setCoords
setLink
setOffset
setType
setVideoUrl