FusionDirectory
 All Data Structures Files Functions Variables
Public Member Functions
baseSelector Class Reference

Class Base Selector. More...

Public Member Functions

 __construct ($bases, $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 ($base)
 Set a new value of the member base. More...
 
 checkLastBaseUpdate ()
 Check the last base value updated. More...
 
 setBases ($bases)
 Set new bases. More...
 
 update ($force=FALSE)
 Update the base. More...
 
 gennonbreaks ($string)
 Replace all space of the string by non-breaking space. 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 30 of file class_baseSelector.inc.

Constructor & Destructor Documentation

__construct (   $bases,
  $base = "" 
)

baseSelector contructor

Parameters
Array$basesThe Bases
String$baseEmpty string

Definition at line 48 of file class_baseSelector.inc.

References setBase(), and setBases().

Member Function Documentation

checkLastBaseUpdate ( )

Check the last base value updated.

Returns
Boolean the last state of the object

Definition at line 108 of file class_baseSelector.inc.

Referenced by listing\update().

gennonbreaks (   $string)

Replace all space of the string by non-breaking space.

Parameters
String$stringThe string which his space will be replaced

Definition at line 274 of file class_baseSelector.inc.

getBase ( )

Accessor of the base.

Returns
String containts the base of the object

Definition at line 294 of file class_baseSelector.inc.

Referenced by listing\update().

getBases ( )

Accessor of the bases.

Returns
Array containts the bases and their display text

Definition at line 304 of file class_baseSelector.inc.

render ( )

Accessor of the member tree.

Returns
members tree of the ACL class

Definition at line 284 of file class_baseSelector.inc.

setBase (   $base)

Set a new value of the member base.

Parameters
String$baseThe new value of the base

Definition at line 91 of file class_baseSelector.inc.

References update().

Referenced by __construct(), listing\refreshBasesList(), listing\setBase(), and listing\update().

setBases (   $bases)

Set new bases.

Parameters
Array$basesThe new value of the bases

Definition at line 118 of file class_baseSelector.inc.

References session\global_set().

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

setHeight (   $value)

Set a new value of the member height.

Parameters
Integer$valueThe new value of the height

Definition at line 81 of file class_baseSelector.inc.

setSubmitButton (   $flag)

Set a new flag to the submit button.

Parameters
Boolean$flagFlag for the submit button

Definition at line 71 of file class_baseSelector.inc.

update (   $force = FALSE)

Update the base.

Parameters
Boolean$forceFALSE

Definition at line 141 of file class_baseSelector.inc.

References getInputHtmlId().

Referenced by listing\refreshBasesList(), setBase(), and listing\update().


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