class Note extends AbstractModel (View source)

Properties

int $id
string $type
int $cid
string $ctype
int $date
int $user
string $title
string $description
array $data

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 Note
getById($id)

No description

addData(string $name, string $type, mixed $data)

No description

$this
setElement(ElementInterface $element)

No description

save()

No description

$this
setCid($cid)

No description

int
getCid()

No description

$this
setCtype($ctype)

No description

string
getCtype()

No description

$this
setData($data)

No description

array
getData()

No description

$this
setDate($date)

No description

int
getDate()

No description

$this
setDescription($description)

No description

string
getDescription()

No description

$this
setId($id)

No description

int
getId()

No description

$this
setTitle($title)

No description

string
getTitle()

No description

$this
setType($type)

No description

string
getType()

No description

$this
setUser($user)

No description

int
getUser()

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 77
static Note getById($id)

Parameters

$id

Return Value

Note

at line line 95
addData(string $name, string $type, mixed $data)

Parameters

string $name
string $type
mixed $data

at line line 107
$this setElement(ElementInterface $element)

Parameters

ElementInterface $element

Return Value

$this

at line line 115
save()

at line line 135
$this setCid($cid)

Parameters

$cid

Return Value

$this

at line line 145
int getCid()

Return Value

int

at line line 154
$this setCtype($ctype)

Parameters

$ctype

Return Value

$this

at line line 164
string getCtype()

Return Value

string

at line line 173
$this setData($data)

Parameters

$data

Return Value

$this

at line line 183
array getData()

Return Value

array

at line line 192
$this setDate($date)

Parameters

$date

Return Value

$this

at line line 202
int getDate()

Return Value

int

at line line 211
$this setDescription($description)

Parameters

$description

Return Value

$this

at line line 221
string getDescription()

Return Value

string

at line line 230
$this setId($id)

Parameters

$id

Return Value

$this

at line line 240
int getId()

Return Value

int

at line line 249
$this setTitle($title)

Parameters

$title

Return Value

$this

at line line 259
string getTitle()

Return Value

string

at line line 268
$this setType($type)

Parameters

$type

Return Value

$this

at line line 278
string getType()

Return Value

string

at line line 287
$this setUser($user)

Parameters

$user

Return Value

$this

at line line 297
int getUser()

Return Value

int