class Config extends AbstractModel (View source)

Properties

protected AbstractDao $dao from AbstractModel
array $items
string $name
string $description
int $siteId
string $urlPattern
string $textPattern
string $httpMethod
bool $disabled
array $params
int $modificationDate
int $creationDate

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 Config
getByName($name)

No description

delete()

Delete from Database

bool
addItem($parameters)

No description

bool
addItemAt($position, $parameters)

No description

resetItems()

No description

$this
setDescription($description)

No description

string
getDescription()

No description

$this
setItems($items)

No description

array
getItems()

No description

$this
setName($name)

No description

string
getName()

No description

$this
setHttpMethod($httpMethod)

No description

string
getHttpMethod()

No description

$this
setUrlPattern($urlPattern)

No description

string
getUrlPattern()

No description

setSiteId(int $siteId)

No description

int
getSiteId()

No description

$this
setParams($params)

No description

array
getParams()

No description

$this
setTextPattern($textPattern)

No description

string
getTextPattern()

No description

int
getModificationDate()

No description

setModificationDate(int $modificationDate)

No description

int
getCreationDate()

No description

setCreationDate(int $creationDate)

No description

bool
isDisabled()

No description

setDisabled(bool $disabled)

No description

static 
markExpiredTagsAsDisabled()

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 Config getByName($name)

Parameters

$name

Return Value

Config

Exceptions

Exception

delete()

Delete from Database

bool addItem($parameters)

Parameters

$parameters

Return Value

bool

bool addItemAt($position, $parameters)

Parameters

$position
$parameters

Return Value

bool

resetItems()

$this setDescription($description)

Parameters

$description

Return Value

$this

string getDescription()

Return Value

string

$this setItems($items)

Parameters

$items

Return Value

$this

array getItems()

Return Value

array

$this setName($name)

Parameters

$name

Return Value

$this

string getName()

Return Value

string

$this setHttpMethod($httpMethod)

Parameters

$httpMethod

Return Value

$this

string getHttpMethod()

Return Value

string

$this setUrlPattern($urlPattern)

Parameters

$urlPattern

Return Value

$this

string getUrlPattern()

Return Value

string

setSiteId(int $siteId)

Parameters

int $siteId

int getSiteId()

Return Value

int

$this setParams($params)

Parameters

$params

Return Value

$this

array getParams()

Return Value

array

$this setTextPattern($textPattern)

Parameters

$textPattern

Return Value

$this

string getTextPattern()

Return Value

string

int getModificationDate()

Return Value

int

setModificationDate(int $modificationDate)

Parameters

int $modificationDate

int getCreationDate()

Return Value

int

setCreationDate(int $creationDate)

Parameters

int $creationDate

bool isDisabled()

Return Value

bool

setDisabled(bool $disabled)

Parameters

bool $disabled

static markExpiredTagsAsDisabled()