HCE Project DC service web UI  0.2
Hierarchical Cluster Engine DC service web UI
 All Classes Namespaces Files Functions Variables Pages
RInstaller Class Reference

Public Member Functions

 init ()
 run ()
 getInstalled ()

Public Attributes

const ERROR_NONE = 0
const ERROR_QUERY_FAILED = 1
 $defaultRoles
 $superuserName
 $authenticatedName
 $guestName
 $db

Private Member Functions

 getUniqueRoles ()

Private Attributes

 $_authManager
 $_installed

Detailed Description

Rights installer component class file.

Author
Christoffer Niska cnisk.nosp@m.a@li.nosp@m.ve.co.nosp@m.m
Since
0.9.3

Definition at line 10 of file RInstaller.php.

Member Function Documentation

RInstaller::getInstalled ( )
Returns
boolean whether Rights is installed.

Definition at line 164 of file RInstaller.php.

RInstaller::getUniqueRoles ( )
private

Returns a list of unique roles names.

Returns
array the list of roles.

Definition at line 150 of file RInstaller.php.

Here is the caller graph for this function:

RInstaller::init ( )

Initializes the installer.

Exceptions
CExceptionif the authorization manager or the web user is not configured to use the correct class.

Definition at line 51 of file RInstaller.php.

Here is the call graph for this function:

RInstaller::run ( )

Runs the installer.

Parameters
booleanwhether to drop tables if they exists.
Returns
boolean whether the installer ran successfully.

Definition at line 80 of file RInstaller.php.

Here is the call graph for this function:

Member Data Documentation

RInstaller::$_authManager
private

Definition at line 34 of file RInstaller.php.

RInstaller::$_installed
private

Definition at line 38 of file RInstaller.php.

RInstaller::$authenticatedName

Definition at line 26 of file RInstaller.php.

RInstaller::$db

Definition at line 43 of file RInstaller.php.

RInstaller::$defaultRoles

Definition at line 18 of file RInstaller.php.

RInstaller::$guestName

Definition at line 30 of file RInstaller.php.

RInstaller::$superuserName

Definition at line 22 of file RInstaller.php.

const RInstaller::ERROR_NONE = 0

Definition at line 12 of file RInstaller.php.

const RInstaller::ERROR_QUERY_FAILED = 1

Definition at line 13 of file RInstaller.php.


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