models/Settings.phpView Source

Show: PublicProtectedPrivateinherited
Table of Contents
Package
Default  

\Settings

Package: Models
ProjectGroup
Parent(s)
\Zend_Db_Table
Access
public  
Copyright
2013  
Version
$Id$  

Properties

>VPropertyprotectedstring $_name = 'settings'
table name
Default value'settings'Details
Type
string

Methods

methodpublicget(string $name) : \pbject

get settings

Parameters
NameTypeDescription
$namestring
Returns
TypeDescription
\pbject
methodpublicgetArray(array $keys) : void

Get setting by keys

Parameters
NameTypeDescription
$keysarray
methodpublicgetByFilter(string $filter = '') : array

Get setting by filter

Parameters
NameTypeDescription
$filterstring

[description]

Returns
TypeDescription
array
methodpublicgetValue(string $name) : void

Get valye by name

Parameters
NameTypeDescription
$namestring
methodpublicinit() : void

Init model

methodpublicsave(string $name, string $value) : void

Save settings data

Parameters
NameTypeDescription
$namestring
$valuestring
methodpublicsaveArray( $data) : void

Save settings array

Parameters
NameTypeDescription
$data
Documentation was generated by phpDocumentor 2.8.5.