class Editlock extends AbstractModel (View source)

Properties

protected AbstractDao $dao from AbstractModel
int $id
int $cid
string $ctype
int $userId
string $sessionId
int $date
$cpath

Methods

Dao
getDao()

No description

setDao($dao)

No description

getResource() deprecated

No description

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

No description

static string|null
locateDaoClass(string $modelClass)

No description

$this
setValues(array $data = [])

No description

$this
setValue($key, $value)

No description

array
__sleep()

No description

mixed
__call($method, $args)

No description

__clone()

No description

array
getObjectVars()

returns object values without the dao

array
__debugInfo()

No description

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 bool
isLocked($cid, $ctype)

No description

static null|Editlock
getByElement($cid, $ctype)

No description

static bool|null
clearSession($sessionId)

No description

static bool|Editlock
lock($cid, $ctype)

No description

static bool
unlock($cid, $ctype)

No description

int
getCid()

No description

int
getId()

No description

int
getUserId()

No description

$this
setCid(int $cid)

No description

$this
setId(int $id)

No description

$this
setUserId(int $userId)

No description

string
getCtype()

No description

$this
setCtype(string $ctype)

No description

string
getSessionId()

No description

$this
setSessionId(string $sessionId)

No description

getUser()

No description

$this
setUser(User $user)

No description

int
getDate()

No description

$this
setDate(int $date)

No description

$this
setCpath($cpath)

No description

getCpath()

No description

Details

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

static string|null locateDaoClass(string $modelClass)

Parameters

string $modelClass

Return Value

string|null

$this setValues(array $data = [])

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

__clone()

array getObjectVars()

returns object values without the dao

Return Value

array

array __debugInfo()

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

static bool isLocked($cid, $ctype)

Parameters

$cid
$ctype

Return Value

bool

static null|Editlock getByElement($cid, $ctype)

Parameters

$cid
$ctype

Return Value

null|Editlock

static bool|null clearSession($sessionId)

Parameters

$sessionId

Return Value

bool|null

static bool|Editlock lock($cid, $ctype)

Parameters

$cid
$ctype

Return Value

bool|Editlock

static bool unlock($cid, $ctype)

Parameters

$cid
$ctype

Return Value

bool

int getCid()

Return Value

int

int getId()

Return Value

int

int getUserId()

Return Value

int

$this setCid(int $cid)

Parameters

int $cid

Return Value

$this

$this setId(int $id)

Parameters

int $id

Return Value

$this

$this setUserId(int $userId)

Parameters

int $userId

Return Value

$this

string getCtype()

Return Value

string

$this setCtype(string $ctype)

Parameters

string $ctype

Return Value

$this

string getSessionId()

Return Value

string

$this setSessionId(string $sessionId)

Parameters

string $sessionId

Return Value

$this

User getUser()

Return Value

User

$this setUser(User $user)

Parameters

User $user

Return Value

$this

int getDate()

Return Value

int

$this setDate(int $date)

Parameters

int $date

Return Value

$this

$this setCpath($cpath)

Parameters

$cpath

Return Value

$this

getCpath()