|
const | TABLE = 'fields_categories' |
|
const | PK = 'id_field_category' |
|
const | ADH_CATEGORY_IDENTITY = 1 |
|
const | ADH_CATEGORY_GALETTE = 2 |
|
const | ADH_CATEGORY_CONTACT = 3 |
|
Fields categories class for galette
- Author
- Johan Cwiklinski johan.nosp@m.@x-t.nosp@m.nd.be
◆ __construct()
Galette\Entity\FieldsCategories::__construct |
( |
Db |
$zdb, |
|
|
array |
$defaults |
|
) |
| |
Default constructor
- Parameters
-
Db | $zdb | Database |
| array<string,mixed> | $defaults default values |
◆ getList()
static Galette\Entity\FieldsCategories::getList |
( |
Db |
$zdb | ) |
|
|
static |
Get list of categories
- Parameters
-
- Returns
- array<ArrayObject<string, int|string>>
◆ installInit()
Galette\Entity\FieldsCategories::installInit |
( |
| ) |
|
Set default fields categories at install time
- Returns
- boolean
- Exceptions
-
◆ setCategories()
static Galette\Entity\FieldsCategories::setCategories |
( |
Db |
$zdb, |
|
|
array |
$categories |
|
) |
| |
|
static |
Store the categories
- Parameters
-
Db | $zdb | Database |
| array<int,string> | $categories Categories |
- Returns
- boolean
The documentation for this class was generated from the following file:
- /home/docs/checkouts/readthedocs.org/user_builds/galette-apidoc/checkouts/develop/galette/lib/Galette/Entity/FieldsCategories.php