FusionDirectory
Public Member Functions
managementListing Class Reference

This class handles the entries list for a management instance. More...

Public Member Functions

 __construct (management $parent, bool $baseMode=TRUE, bool $multiSelect=TRUE)
 Create a listing. More...
 
 render ()
 Render.
 
 updateBase ()
 Updates base and sorting according to POST and GET infos.
 
 update (string $dn=NULL)
 Update a listing.
 
 setBase (string $base)
 Set a new base valor. More...
 
 getBase ()
 Accessor of the base. More...
 
 getAction ()
 Get action.
 
 focusDn (string $dn)
 Set base close to this dn and load only him.
 
 refreshBasesList ()
 Refresh the bases list.
 
 getEntry (string $dn)
 Get entry. More...
 
 setSortColumn (int $column, bool $direction=NULL)
 Set sort column. More...
 

Detailed Description

This class handles the entries list for a management instance.

Definition at line 30 of file class_managementListing.inc.

Constructor & Destructor Documentation

◆ __construct()

__construct ( management  $parent,
bool  $baseMode = TRUE,
bool  $multiSelect = TRUE 
)

Create a listing.

Parameters
string$parentmanagement instance

Definition at line 60 of file class_managementListing.inc.

References Column\build(), and refreshBasesList().

Member Function Documentation

◆ getBase()

getBase ( )

Accessor of the base.

Returns
the base

Definition at line 361 of file class_managementListing.inc.

References in_array_ics(), and baseSelector\render().

◆ getEntry()

getEntry ( string  $dn)

Get entry.

Parameters
string$dnThe DN

Definition at line 584 of file class_managementListing.inc.

◆ setBase()

setBase ( string  $base)

Set a new base valor.

Parameters
string$base

Definition at line 339 of file class_managementListing.inc.

References baseSelector\setBase().

Referenced by focusDn(), and updateBase().

◆ setSortColumn()

setSortColumn ( int  $column,
bool  $direction = NULL 
)

Set sort column.

Parameters
int$columnIndex of column to sort by
bool$directionWhether to sort up or down

Definition at line 598 of file class_managementListing.inc.

Referenced by updateBase().


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