Class cApiTemplateCollection
-
cGenericDb
-
cItemBaseAbstract
-
ItemCollection
-
cApiTemplateCollection
Methods summary
public
|
#
__construct( string $select = false )
Create a new collection of items.
Create a new collection of items.
Parameters
- $select
where clause to use for selection (see
ItemCollection::select())
Throws
Overrides
|
public
cApiTemplate
|
#
create( integer $idclient, integer $idlay, integer $idtplcfg, string $name, string $description, integer $deletable = 1, integer $status = 0, integer $defaulttemplate = 0, string $author = '', string $created = '', string $lastmodified = '' )
Creates a template entry.
Creates a template entry.
Parameters
- $idclient
- $idlay
- $idtplcfg
- Either a valid template configuration id or an empty string
- $name
- $description
- $deletable
- $status
- $defaulttemplate
- $author
- $created
- $lastmodified
Returns
|
public
cApiTemplateConfiguration
|
#
selectDefaultTemplate( integer $idclient )
Returns the default template configuration item
Returns the default template configuration item
Parameters
Returns
|
public
cApiTemplate[]
|
#
fetchByIdLay( integer $idlay )
Returns all templates having passed layout id.
Returns all templates having passed layout id.
Parameters
Returns
|
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
|