PHP Class FastFeed\Item

Show file Open project: fastfeed/fastfeed Class Usage Examples

Protected Properties

Property Type Description
$author string
$content string
$date DateTime
$extra array
$image string
$intro string
$itemId string
$name string
$source string
$tags array

Public Methods

Method Description
addTag ( string $tag )
getAuthor ( ) : string
getContent ( ) : string
getDate ( ) : DateTime
getExtra ( $key ) : boolean
getId ( ) : string
getImage ( ) : string
getIntro ( ) : string
getName ( ) : string
getSource ( ) : string
getTags ( ) : array
hasImage ( ) : boolean
setAuthor ( string $author )
setContent ( string $content )
setDate ( DateTime $date )
setExtra ( $key, $value )
setId ( string $itemId )
setImage ( string $image )
setIntro ( string $intro )
setName ( string $name )
setSource ( string $source )
setTags ( array $tags )

Method Details

addTag() public method

public addTag ( string $tag )
$tag string

getAuthor() public method

public getAuthor ( ) : string
return string

getContent() public method

public getContent ( ) : string
return string

getDate() public method

public getDate ( ) : DateTime
return DateTime

getExtra() public method

public getExtra ( $key ) : boolean
$key
return boolean

getId() public method

public getId ( ) : string
return string

getImage() public method

public getImage ( ) : string
return string

getIntro() public method

public getIntro ( ) : string
return string

getName() public method

public getName ( ) : string
return string

getSource() public method

public getSource ( ) : string
return string

getTags() public method

public getTags ( ) : array
return array

hasImage() public method

public hasImage ( ) : boolean
return boolean

setAuthor() public method

public setAuthor ( string $author )
$author string

setContent() public method

public setContent ( string $content )
$content string

setDate() public method

public setDate ( DateTime $date )
$date DateTime

setExtra() public method

public setExtra ( $key, $value )
$key
$value

setId() public method

public setId ( string $itemId )
$itemId string

setImage() public method

public setImage ( string $image )
$image string

setIntro() public method

public setIntro ( string $intro )
$intro string

setName() public method

public setName ( string $name )
$name string

setSource() public method

public setSource ( string $source )
$source string

setTags() public method

public setTags ( array $tags )
$tags array

Property Details

$author protected property

protected string $author
return string

$content protected property

protected string $content
return string

$date protected property

protected DateTime $date
return DateTime

$extra protected property

protected array $extra
return array

$image protected property

protected string $image
return string

$intro protected property

protected string $intro
return string

$itemId protected property

protected string $itemId
return string

$name protected property

protected string $name
return string

$source protected property

protected string $source
return string

$tags protected property

protected array $tags
return array