Property | Type | Description | |
---|---|---|---|
$obj_fields | array | Default fields to display for each object. | |
$obj_id | string | ||
$obj_type | string |
Method | Description | |
---|---|---|
add ( $args, $assoc_args ) | Add a term to an object. | |
list_ ( $args, $assoc_args ) | List all terms associated with an object. | |
remove ( $args, $assoc_args ) | Remove a term from an object. | |
set ( $args, $assoc_args ) | Set object terms. |
Method | Description | |
---|---|---|
get_formatter ( array &$assoc_args ) : |
Get Formatter object based on supplied parameters. | |
get_obj_id ( ) : string | Get obj_id Class variable | |
get_object_type ( ) : string | Get obj_type Class variable | |
set_obj_id ( string $obj_id ) | Set obj_id Class variable | |
taxonomy_exists ( $taxonomy ) | Check if taxonomy exists |
public add ( $args, $assoc_args ) |
protected get_formatter ( array &$assoc_args ) : |
||
$assoc_args | array | Parameters passed to command. Determines formatting. |
return |
protected get_obj_id ( ) : string | ||
return | string |
protected get_object_type ( ) : string | ||
return | string | $obj_type |
public list_ ( $args, $assoc_args ) |
public remove ( $args, $assoc_args ) |
public set ( $args, $assoc_args ) |
protected set_obj_id ( string $obj_id ) | ||
$obj_id | string |
protected taxonomy_exists ( $taxonomy ) | ||
$taxonomy |
protected array $obj_fields | ||
return | array |