Shop_Shortcuts_NormalizeItemPerPage()
Shop_Shortcuts_NormalizeItemPerPage( $request)
Parameters
$request |
Shop_Shortcuts_GetAssociationTableName(\Pluf_Model $model1, \Pluf_Model $model2) : string
Returns association table name for given 'Pluf_Model's in many-to-many relation.
It does not check if given models have realy many-to-many relation. It returns table name if such relation would be existed.
Returned name is base of rule which Pluf is used to define association tables for two models in a many-to-many relation.
\Pluf_Model | $model1 | |
\Pluf_Model | $model2 |
Shop_Shortcuts_GetIdColumnName(\Pluf_Model $model) : string
Returns name of field for id of given model in a association table.
Returned name is base of rule which Pluf is used to define columns in a association table for two model in a many-to-many relation.
\Pluf_Model | $model |
Shop_Shortcuts_GetTableName(\Pluf_Model $model) : string
Returns name of table for given model.
Returned name is base of rule which Pluf is used to define name of tables for a model.
\Pluf_Model | $model |
Shop_Shortcuts_GetTagByNameOr404(string $name) : \Shop_Tag
Returns Shop_Tag with given name.
Throws an exception (with http code 404) if there is no tag with given name.
string | $name |
if there is no tag with given name.