|
static | getFieldType (Db $zdb, int $t, int $id=null) |
|
static | getFixedValuesTableName (int $id, bool $prefixed=false) |
|
static | getFormsNames () |
|
static | getFormTitle (string $form_name) |
|
static | getFieldsTypesNames () |
|
const | TABLE = 'field_types' |
|
const | PK = 'field_id' |
|
const | SEPARATOR = 0 |
|
const | TEXT = 1 |
|
const | LINE = 2 |
|
const | CHOICE = 3 |
|
const | DATE = 4 |
|
const | BOOLEAN = 5 |
|
const | FILE = 6 |
|
const | MOVE_UP = 'up' |
|
const | MOVE_DOWN = 'down' |
|
const | DEFAULT_MAX_FILE_SIZE = 1024 |
|
const | VALUES_FIELD_LENGTH = 100 |
|
| getNewIndex () |
|
bool | $has_data = false |
|
bool | $has_width = false |
|
bool | $has_height = false |
|
bool | $has_size = false |
|
bool | $has_min_size = false |
|
bool | $multi_valued = false |
|
bool | $fixed_values = false |
|
bool | $has_permissions = true |
|
int | $id = null |
|
int | $index = null |
|
bool | $required = false |
|
int | $width_in_forms = 1 |
|
bool | $information_above = false |
|
int | $width = null |
|
int | $height = null |
|
int | $repeat = null |
|
int | $min_size = null |
|
int | $size = null |
|
int | $old_size = null |
|
string array false | $values = false |
|
string | $form |
|
string | $information = null |
|
string | $name = null |
|
string | $old_name = null |
|
array | $errors = [] |
|
Db | $zdb |
|
Line field type
- Author
- Johan Cwiklinski johan.nosp@m.@x-t.nosp@m.nd.be
◆ __construct()
Galette\DynamicFields\Line::__construct |
( |
Db |
$zdb, |
|
|
int |
$id = null |
|
) |
| |
Default constructor
- Parameters
-
Db | $zdb | Database instance |
| ?int | $id Optional field id to load data |
◆ getType()
Galette\DynamicFields\Line::getType |
( |
| ) |
|
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/DynamicFields/Line.php