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

Inheritance: implements Bravo3\Orm\Traits\CreateModifyInterface
Afficher le fichier Open project: bravo3/orm Class Usage Examples

Protected Properties

Свойство Type Description
$canonical_category Category
$id integer
$title string

Méthodes publiques

Méthode 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 méthode

Get CanonicalCategory
public getCanonicalCategory ( ) : Category
Résultat Category

getId() public méthode

Get Id
public getId ( ) : integer
Résultat integer

getLastModified() public méthode

Get the time the entity was last modified
public getLastModified ( ) : DateTime
Résultat DateTime

getSortDate() public méthode

Get SortDate
public getSortDate ( ) : DateTime
Résultat DateTime

getTimeCreated() public méthode

Get the time the entity was created
public getTimeCreated ( ) : DateTime
Résultat DateTime

getTitle() public méthode

Get Title
public getTitle ( ) : string
Résultat string

setCanonicalCategory() public méthode

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

setId() public méthode

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

setLastModified() public méthode

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

setSortDate() public méthode

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

setTimeCreated() public méthode

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

setTitle() public méthode

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

Property Details

$canonical_category protected_oe property

protected Category,Bravo3\Orm\Tests\Entities\OneToMany $canonical_category
Résultat Category

$id protected_oe property

protected int $id
Résultat integer

$title protected_oe property

protected string $title
Résultat string