프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$obj_fields | array | Default fields to display for each object. | |
$obj_id | string | ||
$obj_type | string |
메소드 | 설명 | |
---|---|---|
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. |
메소드 | 설명 | |
---|---|---|
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. |
리턴 |
protected get_object_type ( ) : string | ||
리턴 | 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 | ||
리턴 | array |