class AbstractDao extends AbstractDao

Class AbstractDao

Methods

string
getTableName()

Get table name.

string
getShopTableName()

Get Shop table name

getById( null $id = null, null $shopId = null)

Get Object by id.

getByField( string $field, string $value, int $shopId = null)

Get Object by field.

getData()

Get the data-elements for the object from database for the given path.

save()

Save object.

delete()

Delete Object.

Details

at line line 43
string getTableName()

Get table name.

Return Value

string

at line line 59
string getShopTableName()

Get Shop table name

Return Value

string

at line line 72
getById( null $id = null, null $shopId = null)

Get Object by id.

Parameters

null $id
null $shopId

Exceptions

Exception

at line line 120
getByField( string $field, string $value, int $shopId = null)

Get Object by field.

Parameters

string $field
string $value
int $shopId

Exceptions

Exception

at line line 145
getData()

Get the data-elements for the object from database for the given path.

at line line 157
save()

Save object.

Exceptions

Zend_Db_Adapter_Exception

at line line 230
delete()

Delete Object.