\TriTan\Common\PosttypePosttype

Posttype Domain

Summary

Methods
Properties
Constants
getId()
setId()
getTitle()
setTitle()
getSlug()
setSlug()
getDescription()
setDescription()
exists()
toArray()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
$posttype_id
$posttype_title
$posttype_slug
$posttype_description
N/A

Properties

$posttype_id

$posttype_id : integer

Posttype post_id.

Type

integer

$posttype_title

$posttype_title : string

Posttype Title.

Type

string

$posttype_slug

$posttype_slug : string

Posttype slug.

Type

string

$posttype_description

$posttype_description : string

Posttype description.

Type

string

Methods

getId()

getId() 

setId()

setId(  $id) 

Parameters

$id

getTitle()

getTitle() 

setTitle()

setTitle(  $title) 

Parameters

$title

getSlug()

getSlug() 

setSlug()

setSlug(  $slug) 

Parameters

$slug

getDescription()

getDescription() 

setDescription()

setDescription(  $description) 

Parameters

$description

exists()

exists() : boolean

Determine whether the posttype exists.

Returns

boolean —

True if posttype exists, false if not.

toArray()

toArray() : array

Return an array representation.

Returns

array —

Array representation.