PHP Class Bravo3\Orm\Tests\Entities\Porter\Article

Inheritance: implements Bravo3\Orm\Traits\CreateModifyInterface
Show file Open project: bravo3/orm Class Usage Examples

Protected Properties

Property Type Description
$canonical_category Category
$id integer
$title string

Public Methods

Method Description
getCanonicalCategory ( ) : Category Get CanonicalCategory
getId ( ) : integer Get Id
getLastModified ( ) : DateTime Get the time the entity was last modified
getSortDate ( ) : DateTime Get SortDate
getTimeCreated ( ) : DateTime Get the time the entity was created
getTitle ( ) : string Get Title
setCanonicalCategory ( Category $canonical_category = null ) Set CanonicalCategory
setId ( integer $id ) Set Id
setLastModified ( DateTime $last_modified ) Set the time the entity was last modified
setSortDate ( DateTime $sort_date = null ) Set SortDate
setTimeCreated ( DateTime $time_created ) Set the time the entity was created
setTitle ( string $title ) Set Title

Method Details

getCanonicalCategory() public method

Get CanonicalCategory
public getCanonicalCategory ( ) : Category
return Category

getId() public method

Get Id
public getId ( ) : integer
return integer

getLastModified() public method

Get the time the entity was last modified
public getLastModified ( ) : DateTime
return DateTime

getSortDate() public method

Get SortDate
public getSortDate ( ) : DateTime
return DateTime

getTimeCreated() public method

Get the time the entity was created
public getTimeCreated ( ) : DateTime
return DateTime

getTitle() public method

Get Title
public getTitle ( ) : string
return string

setCanonicalCategory() public method

Set CanonicalCategory
public setCanonicalCategory ( Category $canonical_category = null )
$canonical_category Category

setId() public method

Set Id
public setId ( integer $id )
$id integer

setLastModified() public method

Set the time the entity was last modified
public setLastModified ( DateTime $last_modified )
$last_modified DateTime

setSortDate() public method

Set SortDate
public setSortDate ( DateTime $sort_date = null )
$sort_date DateTime

setTimeCreated() public method

Set the time the entity was created
public setTimeCreated ( DateTime $time_created )
$time_created DateTime

setTitle() public method

Set Title
public setTitle ( string $title )
$title string

Property Details

$canonical_category protected property

protected Category,Bravo3\Orm\Tests\Entities\Porter $canonical_category
return Category

$id protected property

protected int $id
return integer

$title protected property

protected string $title
return string