Method |
Description |
|
get_data ( ) : array |
Returns all data for this object. |
|
get_id ( ) : integer |
Get the ID. |
|
get_name ( ) : integer |
Get name. |
|
get_options ( ) : array |
Get options. |
|
get_position ( ) : integer |
Get position. |
|
get_slugs ( ) : array |
Gets slugs from the stored options, or just the string if text based. |
|
get_taxonomy ( ) : string |
Get taxonomy name if applicable. |
|
get_taxonomy_object ( ) : array | null |
Get taxonomy object. |
|
get_terms ( ) : array | null |
Gets terms from the stored options. |
|
get_variation ( ) : boolean |
Get if variation. |
|
get_visible ( ) : boolean |
Get if visible. |
|
is_taxonomy ( ) : boolean |
Return if this attribute is a taxonomy. |
|
offsetExists ( string $offset ) : boolean |
offsetExists |
|
offsetGet ( string $offset ) : mixed |
offsetGet |
|
offsetSet ( string $offset, mixed $value ) |
offsetSet |
|
offsetUnset ( string $offset ) |
offsetUnset |
|
set_id ( integer $value ) |
Set ID (this is the attribute ID). |
|
set_name ( integer $value ) |
Set name (this is the attribute name or taxonomy). |
|
set_options ( array $value ) |
Set options. |
|
set_position ( integer $value ) |
Set position. |
|
set_variation ( boolean $value ) |
Set if variation. |
|
set_visible ( boolean $value ) |
Set if visible. |
|