Class Vocabulary
Active Record faciliates the creation and use of business objects whose data require persistent storage via database.
- ICanBoogie\Object implements ICanBoogie\ToArrayRecursive uses ICanBoogie\ToArrayRecursiveTrait, ICanBoogie\PrototypeTrait
- ICanBoogie\ActiveRecord
- Icybee\Modules\Taxonomy\Vocabulary\Vocabulary
Located at vendor/icanboogie-modules/taxonomy.vocabulary/lib/activerecords/vocabulary.php
Methods summary
public
array
|
|
protected
array[]string
|
#
lazy_get_scope( )
Returns the scope of the vocabulary, that is the constructors to which the vocabulary is associated. |
protected
array[]Term
|
Methods inherited from ICanBoogie\ActiveRecord
__construct()
,
alter_persistent_properties()
,
delete()
,
get_model()
,
get_model_id()
,
save()
Methods inherited from ICanBoogie\Object
from()
,
resolve_facade_properties()
,
resolve_private_properties()
,
to_array()
,
to_json()
Methods inherited from ICanBoogie\ToArrayRecursive
Methods used from ICanBoogie\ToArrayRecursiveTrait
Methods used from ICanBoogie\PrototypeTrait
__call()
,
__get()
,
__set()
,
__wakeup()
,
get_prototype()
,
has_method()
,
has_property()
,
last_chance_get()
,
last_chance_set()
Magic methods summary
Constants summary
string |
VID
|
'vid' |
|
string |
SITEID
|
'siteid' |
|
string |
VOCABULARY
|
'vocabulary' |
|
string |
VOCABULARYSLUG
|
'vocabularyslug' |
|
string |
IS_TAGS
|
'is_tags' |
|
string |
IS_MULTIPLE
|
'is_multiple' |
|
string |
IS_REQUIRED
|
'is_required' |
|
string |
WEIGHT
|
'weight' |
|
string |
SCOPE
|
'scope' |
Properties summary
public
integer
|
$vid |
#
Identifier of the vocabulary |
public
integer
|
$siteid |
#
Identifier of the site the vocabulary is attached to. |
public
string
|
$vocabulary |
#
Name of the vocabulary. |
public
string
|
$vocabularyslug |
#
Version of the {@vocabulary} property that can be used in URLs. Written in lowercase, it contains only unaccentuated letters, numbers and hyphens. |
public
boolean
|
$is_tags |
#
Can terms be defined as coma-separated values ? |
public
boolean
|
$is_multiple |
#
Can multiple terms be associated to a node ? |
public
boolean
|
$is_required |
#
Is the vocabulary required for the associated scope ? |
public
integer
|
$weight |
#
Weight of the vocabulary relative to other vocabulary. |