extends |
XoopsObjectHandler |
---|
XOOPS configuration option handler class. This class is responsible for providing data access mechanisms to the data source of XOOPS configuration option class objects.
Methods | ||||||
---|---|---|---|---|---|---|
public
|
create(bool $isNew = true): XoopsConfigOption
Create a new option
Create a new option Parameters
Returns{@link XoopsConfigOption} Overrides |
# | ||||
public
|
get(int $id): XoopsConfigOption|false
Get an option from the database
Get an option from the database Parameters
Returnsreference to the {@link XoopsConfigOption}, false on fail Overrides |
# | ||||
public
|
insert(XoopsObject|XoopsConfigOption $confoption): bool
Insert a new {@link XoopsConfigOption}
Insert a new {@link XoopsConfigOption} Parameters
Returnstrue on success, otherwise false Overrides |
# | ||||
public
|
delete(XoopsObject|XoopsConfigOption $confoption): bool
Delete a {@link XoopsConfigOption}
Delete a {@link XoopsConfigOption} Parameters
Returnstrue on success, otherwise false Overrides |
# | ||||
public
|
getObjects(CriteriaElement|CriteriaCompo $criteria = null, bool $id_as_key = false): array
Get some {@link XoopsConfigOption}s
Get some {@link XoopsConfigOption}s Parameters
ReturnsArray of {@link XoopsConfigOption}s |
# | ||||
public
|
getCount(CriteriaElement $criteria = null): int
get count of matching configoption rows
get count of matching configoption rows ReturnsCount of matching XoopsConfigOption |
# |
Methods inherited from XoopsObjectHandler |
---|
__construct(), XoopsObjectHandler(), |
Properties inherited from XoopsObjectHandler |
---|
$db |