PHP Class Imbo\Model\User

Author: Christer Edvartsen ([email protected])
Inheritance: implements Imbo\Model\ModelInterface
Show file Open project: imbo/imbo Class Usage Examples

Public Methods

Method Description
getData ( )
getLastModified ( ) : DateTime Get the last modified date
getNumImages ( ) : integer Get the number of images
getUserId ( ) : string Get the user ID
setLastModified ( DateTime $date ) : User Set the last modified date
setNumImages ( integer $num ) : User Set the number of images
setUserId ( string $user ) : User Set the user ID

Method Details

getData() public method

public getData ( )

getLastModified() public method

Get the last modified date
public getLastModified ( ) : DateTime
return DateTime

getNumImages() public method

Get the number of images
public getNumImages ( ) : integer
return integer

getUserId() public method

Get the user ID
public getUserId ( ) : string
return string

setLastModified() public method

Set the last modified date
public setLastModified ( DateTime $date ) : User
$date DateTime The DateTime instance
return User

setNumImages() public method

Set the number of images
public setNumImages ( integer $num ) : User
$num integer The number to set
return User

setUserId() public method

Set the user ID
public setUserId ( string $user ) : User
$user string The user ID
return User