Class PifaFormCollection
PIFA form item collection class. It's a kind of a model.
-
cGenericDb
-
cItemBaseAbstract
-
ItemCollection
-
PifaFormCollection
Methods summary
public
|
#
__construct( mixed $where = false )
Create an instance.
Parameters
- $where
mixed $where clause to be used to load items or false
Throws
Overrides
|
private static
PifaFormCollection
|
#
_getBy( integer $client, integer $lang )
Get forms according to given params.
Get forms according to given params.
Parameters
- $client
integer $client
- $lang
integer $lang
Returns
Throws
|
public static
PifaFormCollection
|
#
getByClient( integer $client )
Get forms of given client in any language.
Get forms of given client in any language.
Parameters
Returns
Throws
|
public static
PifaFormCollection
|
#
getByLang( integer $lang )
Get forms of any client in given language.
Get forms of any client in given language.
Parameters
Returns
Throws
|
public static
PifaFormCollection
|
#
getByClientAndLang( integer $client, integer $lang )
Get forms of given client in given language.
Get forms of given client in given language.
Parameters
- $client
integer $client
- $lang
integer $lang
Returns
Throws
|
Methods inherited from ItemCollection
_buildGroupWhereStatements(),
_buildWhereStatements(),
_delete(),
_deleteMultiple(),
_fetchJoinTables(),
_findReverseJoinPartner(),
_initializeDriver(),
_recursiveStructuredFetch(),
_resolveLinks(),
_setItemClass(),
_setJoinPartner(),
addResultField(),
copyItem(),
count(),
createNewItem(),
delete(),
deleteBy(),
deleteByWhereClause(),
deleteWhere(),
deleteWhereGroup(),
exists(),
fetchArray(),
fetchById(),
fetchObject(),
fetchTable(),
flexSelect(),
getAllIds(),
getFieldsByWhereClause(),
getIdsByWhereClause(),
link(),
loadItem(),
next(),
query(),
queryAndFetchStructured(),
removeResultField(),
resetQuery(),
select(),
setEncoding(),
setGroupCondition(),
setInnerGroupCondition(),
setLimit(),
setOrder(),
setWhere(),
setWhereGroup()
|
Properties inherited from ItemCollection
$_JoinPartners,
$_aOperators,
$_bAllMode,
$_collectionCache,
$_driver,
$_encoding,
$_forwardJoinPartners,
$_groupConditions,
$_innerGroupConditions,
$_itemClass,
$_itemClassInstance,
$_iteratorItem,
$_lastSQL,
$_limitCount,
$_limitStart,
$_links,
$_order,
$_resultFields,
$_where,
$_whereRestriction,
$objects
|