class DocType extends AbstractModel (View source)

Properties

integer $id ID of the document-type
string $name Name of the document-type
string $module
string $controller The specified controller
string $action The specified action
string $template The specified template
string $type Type, must be one of the following: page,snippet,email
integer $priority
integer $creationDate
integer $modificationDate

Methods

Dao
getDao()

No description

setDao($dao)

No description

getResource() deprecated

No description

initDao(null $key = null, bool $forceDetection = false)

No description

$this
setValues(array $data = array())

No description

$this
setValue($key, $value)

No description

array
__sleep()

No description

mixed
__call($method, $args)

No description

void
__clone()

No description

array
getObjectVars()

returns object values without the dao

void
beginTransaction()

No description

void
commit()

No description

void
rollBack()

No description

void
configure()

No description

array
getValidTableColumns(string $table, bool $cache)

No description

void
resetValidTableColumnsCache(string $table)

No description

static DocType
getById(integer $id)

Static helper to retrieve an instance of Document\DocType by the given ID

static DocType
create()

Shortcut to quickly create a new instance

string
getAction()

No description

string
getController()

No description

integer
getId()

No description

string
getName()

No description

string
getTemplate()

No description

$this
setAction(string $action)

No description

$this
setController(string $controller)

No description

void
setId(integer $id)

No description

void
setName(string $name)

No description

void
setTemplate(string $template)

No description

string
getType()

No description

void
setType(string $type)

No description

void
setPriority(integer $priority)

No description

integer
getPriority()

No description

$this
setModule($module)

No description

string
getModule()

No description

$this
setModificationDate($modificationDate)

No description

int
getModificationDate()

No description

$this
setCreationDate($creationDate)

No description

int
getCreationDate()

No description

Details

at line line 24
Dao getDao()

Return Value

Dao

AbstractModel setDao($dao)

Parameters

$dao

Return Value

AbstractModel

AbstractDao getResource() deprecated

deprecated

Return Value

AbstractDao

initDao(null $key = null, bool $forceDetection = false)

Parameters

null $key
bool $forceDetection

Exceptions

Exception

$this setValues(array $data = array())

Parameters

array $data

Return Value

$this

$this setValue($key, $value)

Parameters

$key
$value

Return Value

$this

array __sleep()

Return Value

array

mixed __call($method, $args)

Parameters

$method
$args

Return Value

mixed

Exceptions

Exception

void __clone()

Return Value

void

array getObjectVars()

returns object values without the dao

Return Value

array

void beginTransaction()

Return Value

void

void commit()

Return Value

void

void rollBack()

Return Value

void

void configure()

Return Value

void

array getValidTableColumns(string $table, bool $cache)

Parameters

string $table
bool $cache

Return Value

array

void resetValidTableColumnsCache(string $table)

Parameters

string $table

Return Value

void

at line line 95
static DocType getById(integer $id)

Static helper to retrieve an instance of Document\DocType by the given ID

Parameters

integer $id

Return Value

DocType

at line line 114
static DocType create()

Shortcut to quickly create a new instance

Return Value

DocType

at line line 125
string getAction()

Return Value

string

at line line 133
string getController()

Return Value

string

at line line 141
integer getId()

Return Value

integer

at line line 149
string getName()

Return Value

string

at line line 157
string getTemplate()

Return Value

string

at line line 166
$this setAction(string $action)

Parameters

string $action

Return Value

$this

at line line 177
$this setController(string $controller)

Parameters

string $controller

Return Value

$this

at line line 188
void setId(integer $id)

Parameters

integer $id

Return Value

void

at line line 199
void setName(string $name)

Parameters

string $name

Return Value

void

at line line 210
void setTemplate(string $template)

Parameters

string $template

Return Value

void

at line line 220
string getType()

Return Value

string

at line line 229
void setType(string $type)

Parameters

string $type

Return Value

void

at line line 241
void setPriority(integer $priority)

Parameters

integer $priority

Return Value

void

at line line 251
integer getPriority()

Return Value

integer

at line line 260
$this setModule($module)

Parameters

$module

Return Value

$this

at line line 270
string getModule()

Return Value

string

at line line 279
$this setModificationDate($modificationDate)

Parameters

$modificationDate

Return Value

$this

at line line 289
int getModificationDate()

Return Value

int

at line line 298
$this setCreationDate($creationDate)

Parameters

$creationDate

Return Value

$this

at line line 308
int getCreationDate()

Return Value

int