FusionDirectory
Public Member Functions
baseSelector Class Reference

Class Base Selector. More...

Public Member Functions

 __construct (array $bases, string $base='')
 baseSelector contructor More...
 
 getInputHtmlId ()
 Returns id of the html field.
 
 setSubmitButton ($flag)
 Set a new flag to the submit button. More...
 
 setHeight ($value)
 Set a new value of the member height. More...
 
 setBase (string $base)
 Set a new value of the member base. More...
 
 checkLastBaseUpdate ()
 Check the last base value updated. More...
 
 setBases (array $bases)
 Set new bases. More...
 
 update (bool $force=FALSE)
 Update the base. More...
 
 render ()
 Accessor of the member tree. More...
 
 getBase ()
 Accessor of the base. More...
 
 getBases ()
 Accessor of the bases. More...
 

Detailed Description

Class Base Selector.

Definition at line 31 of file class_baseSelector.inc.

Constructor & Destructor Documentation

◆ __construct()

__construct ( array  $bases,
string  $base = '' 
)

baseSelector contructor

Parameters
Array$basesThe Bases
String$baseEmpty string

Definition at line 49 of file class_baseSelector.inc.

References setBase(), and setBases().

Member Function Documentation

◆ checkLastBaseUpdate()

checkLastBaseUpdate ( )

Check the last base value updated.

Returns
Boolean the last state of the object

Definition at line 109 of file class_baseSelector.inc.

Referenced by BaseSelectorAttribute\__construct(), and managementListing\updateBase().

◆ getBase()

getBase ( )

Accessor of the base.

Returns
String containts the base of the object

Definition at line 272 of file class_baseSelector.inc.

Referenced by BaseSelectorAttribute\__construct(), and managementListing\updateBase().

◆ getBases()

getBases ( )

Accessor of the bases.

Returns
Array containts the bases and their display text

Definition at line 282 of file class_baseSelector.inc.

◆ render()

render ( )

Accessor of the member tree.

Returns
members tree of the ACL class

Definition at line 258 of file class_baseSelector.inc.

Referenced by managementListing\getBase().

◆ setBase()

setBase ( string  $base)

Set a new value of the member base.

Parameters
String$baseThe new value of the base

Definition at line 92 of file class_baseSelector.inc.

References update().

Referenced by BaseSelectorAttribute\__construct(), __construct(), managementListing\refreshBasesList(), and managementListing\setBase().

◆ setBases()

setBases ( array  $bases)

Set new bases.

Parameters
Array$basesThe new value of the bases

Definition at line 119 of file class_baseSelector.inc.

References session\set().

Referenced by __construct(), and managementListing\refreshBasesList().

◆ setHeight()

setHeight (   $value)

Set a new value of the member height.

Parameters
Integer$valueThe new value of the height

Definition at line 82 of file class_baseSelector.inc.

Referenced by BaseSelectorAttribute\__construct().

◆ setSubmitButton()

setSubmitButton (   $flag)

Set a new flag to the submit button.

Parameters
Boolean$flagFlag for the submit button

Definition at line 72 of file class_baseSelector.inc.

Referenced by BaseSelectorAttribute\__construct().

◆ update()

update ( bool  $force = FALSE)

Update the base.

Parameters
Boolean$forceFALSE

Definition at line 142 of file class_baseSelector.inc.

References getInputHtmlId().

Referenced by BaseSelectorAttribute\__construct(), managementListing\refreshBasesList(), setBase(), and managementListing\updateBase().


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