extends |
XoopsObjectHandler |
---|
XOOPS tplset handler class. This class is responsible for providing data access mechanisms to the data source of XOOPS tplset class objects.
Methods | ||||||
---|---|---|---|---|---|---|
public
|
create(bool $isNew = true): object
create a new block
create a new block Parameters
ReturnsXoopsTplset reference to the new tplsets Overrides |
# | ||||
public
|
get(int $id): object|false
retrieve a specific {@link XoopsBlock}
retrieve a specific {@link XoopsBlock} Parameters
ReturnsXoopsTplset reference to the tplsets Overrides |
# | ||||
public
|
insert(XoopsObject|XoopsTplset $tplset): bool
write a new block into the database
write a new block into the database Parameters
Returnstrue on success, otherwise false Overrides |
# | ||||
public
|
delete(XoopsObject|XoopsTplset $tplset): bool
delete a tplset from the database
delete a tplset from the database Parameters
Returnstrue on success, otherwise false Overrides |
# | ||||
public
|
getObjects(CriteriaElement|CriteriaCompo $criteria = null, bool $id_as_key = false): array
Get tplsets from the database
Get tplsets from the database Parameters
ReturnsArray of {@link XoopsTplset} objects |
# | ||||
public
|
getCount(CriteriaElement|CriteriaCompo $criteria = null): int
Count tplsets
Count tplsets Parameters
ReturnsCount of tplsets matching $criteria |
# | ||||
public
|
getList(CriteriaElement $criteria = null): array
get a list of tplsets matchich certain conditions
get a list of tplsets matchich certain conditions Parameters
Returnsarray of tplsets matching the conditions |
# |
Methods inherited from XoopsObjectHandler |
---|
__construct(), XoopsObjectHandler(), |
Properties inherited from XoopsObjectHandler |
---|
$db |