\MslsAdminIconTaxonomy

Handles backend icons for taxonomies

Summary

Methods
Properties
Constants
set_href()
set_path()
create()
__construct()
set_language()
set_src()
__toString()
get_img()
get_a()
get_edit_new()
No public properties found
No constants found
No protected methods found
$path
$language
$src
$href
$blog_id
$type
N/A
No private methods found
No private properties found
N/A

Properties

$path

$path : string

Path

Type

string

$language

$language : string

Language

Type

string

$src

$src : string

Source

Type

string

$href

$href : string

URL

Type

string

$blog_id

$blog_id : int

Blog id

Type

int

$type

$type : string

Type

Type

string

Methods

set_href()

set_href(int $id) : \MslsAdminIcon

Set href

Parameters

int $id

Returns

\MslsAdminIcon

set_path()

set_path() : \MslsAdminIcon

Set the path by type

Returns

\MslsAdminIcon

create()

create() : \MslsAdminIcon

Factory method

Returns

\MslsAdminIcon

__construct()

__construct(string $type)

Constructor

Parameters

string $type

set_language()

set_language(string $language) : \MslsAdminIcon

Set language

Parameters

string $language

Returns

\MslsAdminIcon

set_src()

set_src(string $src) : \MslsAdminIcon

Set src

Parameters

string $src

Returns

\MslsAdminIcon

__toString()

__toString() : string

Handles the output when object is treated like a string

Returns

string

get_img()

get_img() : string

Get image as html-tag

Returns

string

get_a()

get_a() : string

Get link as html-tag

Returns

string

get_edit_new()

get_edit_new() : string

Creates new admin link

Returns

string