FusionDirectory
 All Data Structures Files Functions Variables
Static Public Member Functions
msgPool Class Reference

This class contains all the messages for the various actions. More...

Static Public Member Functions

static deleteInfo ($name="", $type="")
 Display the deleted informations. More...
 
static permDelete ($name="")
 Display that we have no permission to delete an object. More...
 
static permCreate ($name="")
 Display that we have no permission to create an object. More...
 
static permModify ($name= '', $field= '')
 Display that we have no permission to modify an object. More...
 
static permView ($name="")
 Display that we have no permission to view an object. More...
 
static permMove ($name="")
 Display that we have no permission to move an object. More...
 
static dbconnect ($name, $error="", $dbinfo="")
 Display informations about database connection. More...
 
static dbselect ($name, $error="", $dbinfo="")
 Display informations about database select. More...
 
static noserver ($name)
 Display error about no server found. More...
 
static dbquery ($name, $error="", $dbinfo="")
 Display informations about database query. More...
 
static reserved ($name)
 Display field contains reserved keyword. More...
 
static cmdnotfound ($type, $plugin)
 Display that a command doesn't exist in this plugin. More...
 
static cmdinvalid ($type, $command="", $plugin="")
 Display that a command doesn't valid in this plugin. More...
 
static cmdexecfailed ($type, $command="", $plugin="")
 Display that a command execution failed in this plugin. More...
 
static toobig ($name, $min="")
 Display error about too larged value. More...
 
static toosmall ($name, $min="")
 Display error about too small value. More...
 
static depends ($name1, $name2)
 Display a dependence between two objects. More...
 
static duplicated ($name, $dn=NULL)
 Display error about existing entry in the system. More...
 
static required ($name)
 Display error about required field empty. More...
 
static invalid ($name, $data="", $regex="", $example="")
 Display error about invalid characters. More...
 
static missingext ($name)
 Display about missing PHP extension. More...
 
static cancelButton ()
 Text for a cancel button.
 
static okButton ()
 Text for a ok button.
 
static applyButton ()
 Text for an apply button.
 
static saveButton ()
 Text for a save button.
 
static addButton ($what= '')
 Text for an add button. More...
 
static delButton ($what= '')
 Text for an delete button. More...
 
static editButton ($what= '')
 Text for an edit button. More...
 
static backButton ()
 Text for a back button.
 
static buildList ($data)
 a list from an array More...
 
static noValidExtension ($name)
 Display error about invalid extension from account. More...
 
static featuresEnabled ($name, $depends="")
 List the features settings enabled. More...
 
static featuresDisabled ($name, array $depends=array(), array $conflicts=array())
 List the features settings disabled. More...
 
static addFeaturesButton ($name)
 Display Add features button. More...
 
static removeFeaturesButton ($name)
 Display Remove features button. More...
 
static clickEditToChange ()
 Display : Click the 'Edit' button below to change information in this dialog.
 
static months ()
 Build an array with the months.
 
static weekdays ()
 Build an array with the days of a week. Start by Sunday.
 
static ldaperror ($error, $dn= '', $type=0, $plugin= '')
 Display LDAP error. More...
 
static incorrectUpload ($reason="")
 Display error about an incorrect upload. More...
 
static siError ($error="")
 Display error about communication failure with the infrastructure service. More...
 
static stillInUse ($type, $objects=array())
 Display which it still in use. More...
 
static fileDoesNotExist ($file)
 Display file doesn't exist. More...
 
static cannotReadFile ($file)
 Display file isn't readable. More...
 
static cannotWriteFile ($file)
 Display file isn't writable. More...
 
static invalidConfigurationAttribute ($attr)
 Display error in the configuration. More...
 
static cannotDeleteFile ($file)
 Display error when cannot delete a file. More...
 
static cannotCreateFolder ($path)
 Display error when cannot create a folder. More...
 
static cannotDeleteFolder ($path)
 Display error when cannot delete a folder. More...
 
static checkingFor ($what)
 Display checking for a support. More...
 
static installPhpModule ($what)
 Display install or activate a PHP module. More...
 
static installPearModule ($what)
 Display install or activate a PEAR module. More...
 
static class_not_found ($plugin)
 Display error when a class is not found. More...
 
static check_base ()
 Display error when checking the base.
 

Detailed Description

This class contains all the messages for the various actions.

Definition at line 38 of file class_msgPool.inc.

Member Function Documentation

static addButton (   $what = '')
static

Text for an add button.

Parameters
string$whatText for the button

Definition at line 510 of file class_msgPool.inc.

static addFeaturesButton (   $name)
static

Display Add features button.

Parameters
string$nameName of the feature

Definition at line 623 of file class_msgPool.inc.

static buildList (   $data)
static

a list from an array

Parameters
array$dataArray with the elements of the list

Definition at line 548 of file class_msgPool.inc.

Referenced by deleteInfo(), permCreate(), permDelete(), permModify(), permMove(), permView(), and stillInUse().

static cannotCreateFolder (   $path)
static

Display error when cannot create a folder.

Parameters
string$pathName of folder which can't be created

Definition at line 802 of file class_msgPool.inc.

static cannotDeleteFile (   $file)
static

Display error when cannot delete a file.

Parameters
string$fileFilename which can't be deleted

Definition at line 792 of file class_msgPool.inc.

static cannotDeleteFolder (   $path)
static

Display error when cannot delete a folder.

Parameters
string$pathName of folder which can't be deleted

Definition at line 812 of file class_msgPool.inc.

static cannotReadFile (   $file)
static

Display file isn't readable.

Parameters
string$fileName of the file not readable

Definition at line 762 of file class_msgPool.inc.

static cannotWriteFile (   $file)
static

Display file isn't writable.

Parameters
string$fileName of the file not writable

Definition at line 772 of file class_msgPool.inc.

static checkingFor (   $what)
static

Display checking for a support.

Parameters
string$whatName of the support

Definition at line 822 of file class_msgPool.inc.

static class_not_found (   $plugin)
static

Display error when a class is not found.

Parameters
string$pluginName of the class which can'b be initialized

Definition at line 852 of file class_msgPool.inc.

static cmdexecfailed (   $type,
  $command = "",
  $plugin = "" 
)
static

Display that a command execution failed in this plugin.

Parameters
string$typeCommand type
string$commandCommand name
string$pluginName of the plugin

Definition at line 335 of file class_msgPool.inc.

Referenced by simplePlugin\callHook().

static cmdinvalid (   $type,
  $command = "",
  $plugin = "" 
)
static

Display that a command doesn't valid in this plugin.

Parameters
string$typeCommand type
string$commandCommand name
string$pluginName of the plugin

Definition at line 309 of file class_msgPool.inc.

static cmdnotfound (   $type,
  $plugin 
)
static

Display that a command doesn't exist in this plugin.

Parameters
string$typeCommand type
string$pluginName of the plugin

Definition at line 295 of file class_msgPool.inc.

static dbconnect (   $name,
  $error = "",
  $dbinfo = "" 
)
static

Display informations about database connection.

Parameters
string$nameName of the database
string$errorError messsage to display
string$dbinfoDatabase information

Definition at line 217 of file class_msgPool.inc.

static dbquery (   $name,
  $error = "",
  $dbinfo = "" 
)
static

Display informations about database query.

Parameters
string$nameName of the database
string$errorError messsage to display
string$dbinfoDatabase information

Definition at line 267 of file class_msgPool.inc.

static dbselect (   $name,
  $error = "",
  $dbinfo = "" 
)
static

Display informations about database select.

Parameters
string$nameName of the database
string$errorError messsage to display
string$dbinfoDatabase information

Definition at line 237 of file class_msgPool.inc.

static delButton (   $what = '')
static

Text for an delete button.

Parameters
string$whatText for the button

Definition at line 520 of file class_msgPool.inc.

static deleteInfo (   $name = "",
  $type = "" 
)
static

Display the deleted informations.

Parameters
string$nameName of the object which will be deleted
string$typeType of the object which will be deleted

Definition at line 63 of file class_msgPool.inc.

References buildList().

static depends (   $name1,
  $name2 
)
static

Display a dependence between two objects.

Parameters
string$name1First object
string$name2Second object

Definition at line 391 of file class_msgPool.inc.

static duplicated (   $name,
  $dn = NULL 
)
static

Display error about existing entry in the system.

Parameters
string$nameThe entry duplicated

Definition at line 401 of file class_msgPool.inc.

Referenced by simpleTabs\check(), and Attribute\check().

static editButton (   $what = '')
static

Text for an edit button.

Parameters
string$whatText for the button

Definition at line 530 of file class_msgPool.inc.

static featuresDisabled (   $name,
array  $depends = array(),
array  $conflicts = array() 
)
static

List the features settings disabled.

Parameters
string$nameName of the setting
array$dependsContains all the settings disabled

Definition at line 607 of file class_msgPool.inc.

static featuresEnabled (   $name,
  $depends = "" 
)
static

List the features settings enabled.

Parameters
string$nameName of the setting
array$dependsContains all the settings enabled

Definition at line 579 of file class_msgPool.inc.

static fileDoesNotExist (   $file)
static

Display file doesn't exist.

Parameters
string$fileName of the file not found

Definition at line 752 of file class_msgPool.inc.

static incorrectUpload (   $reason = "")
static

Display error about an incorrect upload.

Parameters
string$reasonThe reason of the upload failed

Definition at line 704 of file class_msgPool.inc.

static installPearModule (   $what)
static

Display install or activate a PEAR module.

Parameters
string$whatName of the module

Definition at line 842 of file class_msgPool.inc.

static installPhpModule (   $what)
static

Display install or activate a PHP module.

Parameters
string$whatName of the module

Definition at line 832 of file class_msgPool.inc.

static invalid (   $name,
  $data = "",
  $regex = "",
  $example = "" 
)
static

Display error about invalid characters.

Parameters
string$nameThe field name
string$dataThe submited data
string$regex
string$exampleExample of a right submited data

Definition at line 431 of file class_msgPool.inc.

static invalidConfigurationAttribute (   $attr)
static

Display error in the configuration.

Parameters
string$attrName of the invalide attribute

Definition at line 782 of file class_msgPool.inc.

static ldaperror (   $error,
  $dn = '',
  $type = 0,
  $plugin = '' 
)
static

Display LDAP error.

Parameters
string$errorError to display
string$dnthe DN
integer$type
string$plugin

Definition at line 677 of file class_msgPool.inc.

Referenced by SnapshotHandler\__construct(), add_lock(), SnapshotHandler\createSnapshot(), del_lock(), get_locks(), LDAP\import_single_entry(), ldap_get_user(), SnapshotHandler\removeSnapshot(), and SnapshotHandler\restoreSnapshot().

static missingext (   $name)
static

Display about missing PHP extension.

Parameters
string$nameThe name of the extension

Definition at line 468 of file class_msgPool.inc.

Referenced by passwordMethodsha\generate_hash(), and passwordMethodssha\generate_hash().

static noserver (   $name)
static

Display error about no server found.

Parameters
string$nameName of the server

Definition at line 253 of file class_msgPool.inc.

static noValidExtension (   $name)
static

Display error about invalid extension from account.

Parameters
string$nameName of the extension

Definition at line 567 of file class_msgPool.inc.

Referenced by simplePlugin\execute().

static permCreate (   $name = "")
static

Display that we have no permission to create an object.

Parameters
string$nameName of the object which will be created

Definition at line 120 of file class_msgPool.inc.

References buildList().

Referenced by CopyPasteHandler\execute().

static permDelete (   $name = "")
static

Display that we have no permission to delete an object.

Parameters
string$nameName of the object which will be deleted

Definition at line 98 of file class_msgPool.inc.

References buildList().

Referenced by simpleManagement\removeEntryRequested().

static permModify (   $name = '',
  $field = '' 
)
static

Display that we have no permission to modify an object.

Parameters
string$nameName of the object which cannot be modified (or array of objects names)
string$fieldsName of the field of the object which cannot be modified

Definition at line 143 of file class_msgPool.inc.

References buildList().

static permMove (   $name = "")
static

Display that we have no permission to move an object.

Parameters
string$nameName of the object which will be moved

Definition at line 191 of file class_msgPool.inc.

References buildList().

static permView (   $name = "")
static

Display that we have no permission to view an object.

Parameters
string$nameName of the object which will be viewed

Definition at line 169 of file class_msgPool.inc.

References buildList().

static removeFeaturesButton (   $name)
static

Display Remove features button.

Parameters
string$nameName of the feature

Definition at line 634 of file class_msgPool.inc.

static required (   $name)
static

Display error about required field empty.

Parameters
string$nameName of the field

Definition at line 415 of file class_msgPool.inc.

Referenced by Attribute\check().

static reserved (   $name)
static

Display field contains reserved keyword.

Parameters
string$nameThe field which contains reserved keyword

Definition at line 283 of file class_msgPool.inc.

static siError (   $error = "")
static

Display error about communication failure with the infrastructure service.

Parameters
string$errorThe error of the communication failure

Definition at line 718 of file class_msgPool.inc.

static stillInUse (   $type,
  $objects = array() 
)
static

Display which it still in use.

Parameters
$typeType
array$objects

Definition at line 733 of file class_msgPool.inc.

References buildList().

static toobig (   $name,
  $min = "" 
)
static

Display error about too larged value.

Parameters
string$nameName of the value
string$minThe largest value

Definition at line 359 of file class_msgPool.inc.

static toosmall (   $name,
  $min = "" 
)
static

Display error about too small value.

Parameters
string$nameName of the value
string$minThe smallest value

Definition at line 375 of file class_msgPool.inc.


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