Dotclear 2.24
Loading...
Searching...
No Matches
dcAdmin Class Reference

Public Member Functions

 __construct ()
 
 init ()
 
 __set (string $identifier, $value=null)
 
 __get (string $identifier)
 
 __isset (string $identifier)
 
 __unset (string $identifier)
 
 setPageURL (string $value)
 
 getPageURL ()
 

Data Fields

const MENU_FAVORITES = 'Favorites'
 
const MENU_BLOG = 'Blog'
 
const MENU_SYSTEM = 'System'
 
const MENU_PLUGINS = 'Plugins'
 

Protected Attributes

 $p_url
 
 $properties = []
 

Constructor & Destructor Documentation

◆ __construct()

__construct ( )

Constructs a new instance.

Exceptions
Exception(if not admin context)

Member Function Documentation

◆ init()

◆ __set()

__set ( string  $identifier,
  $value = null 
)

Magic function, store a property and its value

Parameters
string$identifierThe identifier
mixed$valueThe value

◆ __get()

__get ( string  $identifier)

Gets the specified property value (null if does not exist).

Parameters
string$identifierThe identifier
Returns
mixed

◆ __isset()

__isset ( string  $identifier)

Test if a property exists

Parameters
string$identifierThe identifier
Returns
bool

◆ __unset()

__unset ( string  $identifier)

Unset a property

Parameters
string$identifierThe identifier

◆ setPageURL()

setPageURL ( string  $value)

Sets the admin page URL.

Parameters
string$valueThe value

◆ getPageURL()

getPageURL ( )

Gets the admin page URL.

Returns
string The URL.

References $p_url.

Field Documentation

◆ $p_url

$p_url
protected

Referenced by getPageURL().

◆ $properties

$properties = []
protected

◆ MENU_FAVORITES

const MENU_FAVORITES = 'Favorites'

◆ MENU_BLOG

const MENU_BLOG = 'Blog'

Referenced by init().

◆ MENU_SYSTEM

const MENU_SYSTEM = 'System'

Referenced by init().

◆ MENU_PLUGINS

const MENU_PLUGINS = 'Plugins'

Referenced by init().


The documentation for this class was generated from the following file: