\lloc\MslsMslsAdminIcon

Handles the icon links in the backend

Summary

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

Properties

$origin_language

$origin_language : string

Origin Language

Type

string

$language

$language : string

Language

Type

string

$src

$src : string

Source

Type

string

$href

$href : string

URL

Type

string

$blog_id

$blog_id : integer

Blog id

Type

integer

$type

$type : string

Type

Type

string

$path

$path : string

Path

Type

string

$id

$id : integer

The current object ID

Type

integer

Methods

__construct()

__construct(string  $type) 

Constructor

Parameters

string $type

set_language()

set_language(string  $language) : \lloc\Msls\MslsAdminIcon

Set language

Parameters

string $language

Returns

\lloc\Msls\MslsAdminIcon

set_src()

set_src(string  $src) : \lloc\Msls\MslsAdminIcon

Set src

Parameters

string $src

Returns

\lloc\Msls\MslsAdminIcon

set_href()

set_href(integer  $id) : \lloc\Msls\MslsAdminIcon

Set href

Parameters

integer $id

Returns

\lloc\Msls\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

set_id()

set_id(integer  $id) : \lloc\Msls\MslsAdminIcon

Sets the id of the object this icon is for

Parameters

integer $id

Returns

\lloc\Msls\MslsAdminIcon

set_origin_language()

set_origin_language(string  $origin_language) : \lloc\Msls\MslsAdminIcon

Sets the origin language for this icon

Parameters

string $origin_language

Returns

\lloc\Msls\MslsAdminIcon