FusionDirectory
Static Public Member Functions
msgPool Class Reference

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

Static Public Member Functions

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 reserved ($name)
 Display field contains reserved keyword. 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 (string $name, $data='', string $example='')
 Return error about invalid value. More...
 
static missingext ($name)
 Display about missing PHP extension. More...
 
static cancelButton ($escape=TRUE)
 Text for a cancel button. More...
 
static okButton ($escape=TRUE)
 Text for a ok button. More...
 
static applyButton ($escape=TRUE)
 Text for an apply button. More...
 
static saveButton ($escape=TRUE)
 Text for a save button. More...
 
static addButton ($escape=TRUE)
 Text for an add button. More...
 
static delButton ($escape=TRUE)
 Text for an delete button. More...
 
static editButton ($escape=TRUE)
 Text for an edit button. More...
 
static backButton ($escape=TRUE)
 Text for a back button. More...
 
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 $conflicts=[])
 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 checkingFor ($what)
 Display checking for a support. More...
 
static installPhpModule ($what)
 Display install or activate a PHP module. 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 30 of file class_msgPool.inc.

Member Function Documentation

◆ addButton()

static addButton (   $escape = TRUE)
static

Text for an add button.

Parameters
bool$escapeWhether to escape the result

Definition at line 348 of file class_msgPool.inc.

References htmlescape().

Referenced by DialogAttribute\__construct(), and MailsAttribute\__construct().

◆ addFeaturesButton()

static addFeaturesButton (   $name)
static

Display Add features button.

Parameters
string$nameName of the feature

Definition at line 472 of file class_msgPool.inc.

References htmlescape().

◆ applyButton()

static applyButton (   $escape = TRUE)
static

Text for an apply button.

Parameters
bool$escapeWhether to escape the result

Definition at line 320 of file class_msgPool.inc.

References htmlescape().

◆ backButton()

static backButton (   $escape = TRUE)
static

Text for a back button.

Parameters
bool$escapeWhether to escape the result

Definition at line 390 of file class_msgPool.inc.

References htmlescape().

◆ buildList()

static buildList (   $data)
static

a list from an array

Parameters
array$dataArray with the elements of the list

Definition at line 404 of file class_msgPool.inc.

References htmlescape().

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

◆ cancelButton()

static cancelButton (   $escape = TRUE)
static

Text for a cancel button.

Parameters
bool$escapeWhether to escape the result

Definition at line 292 of file class_msgPool.inc.

References htmlescape().

Referenced by ManagementDialog\getFooter(), and GenericSimplePluginDialog\render().

◆ checkingFor()

static checkingFor (   $what)
static

Display checking for a support.

Parameters
string$whatName of the support

Definition at line 580 of file class_msgPool.inc.

References htmlescape().

◆ cmdexecfailed()

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 166 of file class_msgPool.inc.

References htmlescape().

◆ delButton()

static delButton (   $escape = TRUE)
static

Text for an delete button.

Parameters
bool$escapeWhether to escape the result

Definition at line 362 of file class_msgPool.inc.

References htmlescape().

Referenced by DialogAttribute\__construct(), and MailsAttribute\__construct().

◆ depends()

static depends (   $name1,
  $name2 
)
static

Display a dependence between two objects.

Parameters
string$name1First object
string$name2Second object

Definition at line 222 of file class_msgPool.inc.

References htmlescape().

◆ duplicated()

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

Display error about existing entry in the system.

Parameters
string$nameThe attribute name
string$dnThe existing entry dn

Definition at line 233 of file class_msgPool.inc.

References htmlescape().

Referenced by simpleTabs\check().

◆ editButton()

static editButton (   $escape = TRUE)
static

Text for an edit button.

Parameters
bool$escapeWhether to escape the result

Definition at line 376 of file class_msgPool.inc.

References htmlescape().

◆ featuresDisabled()

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

List the features settings disabled.

Parameters
string$nameName of the tab
array$dependsTabs this tab depends upon
array$conflictsTabs this tab conflicts with

Definition at line 456 of file class_msgPool.inc.

References htmlescape().

◆ featuresEnabled()

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 435 of file class_msgPool.inc.

References htmlescape().

◆ incorrectUpload()

static incorrectUpload (   $reason = '')
static

Display error about an incorrect upload.

Parameters
string$reasonThe reason of the upload failed

Definition at line 553 of file class_msgPool.inc.

References htmlescape().

◆ installPhpModule()

static installPhpModule (   $what)
static

Display install or activate a PHP module.

Parameters
string$whatName of the module

Definition at line 590 of file class_msgPool.inc.

References htmlescape().

◆ invalid()

static invalid ( string  $name,
  $data = '',
string  $example = '' 
)
static

Return error about invalid value.

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

Definition at line 261 of file class_msgPool.inc.

References htmlescape().

◆ ldaperror()

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 526 of file class_msgPool.inc.

References htmlescape().

Referenced by userinfo\getLdapUser().

◆ missingext()

static missingext (   $name)
static

Display about missing PHP extension.

Parameters
string$nameThe name of the extension

Definition at line 282 of file class_msgPool.inc.

References htmlescape().

Referenced by passwordMethodSha\generate_hash(), passwordMethodSsha512\generate_hash(), and passwordMethodSsha\generate_hash().

◆ noValidExtension()

static noValidExtension (   $name)
static

Display error about invalid extension from account.

Parameters
string$nameName of the extension

Definition at line 423 of file class_msgPool.inc.

References htmlescape().

◆ okButton()

static okButton (   $escape = TRUE)
static

Text for a ok button.

Parameters
bool$escapeWhether to escape the result

Definition at line 306 of file class_msgPool.inc.

References htmlescape().

◆ permCreate()

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 59 of file class_msgPool.inc.

References buildList(), and htmlescape().

Referenced by BaseSelectorAttribute\__construct(), and CopyPasteHandler\update().

◆ permDelete()

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 37 of file class_msgPool.inc.

References buildList(), and htmlescape().

Referenced by simpleTabs\delete().

◆ permModify()

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$fieldName of the field of the object which cannot be modified

Definition at line 82 of file class_msgPool.inc.

References buildList(), and htmlescape().

Referenced by simplePlugin\deserializeValues().

◆ permMove()

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 130 of file class_msgPool.inc.

References buildList(), and htmlescape().

Referenced by BaseSelectorAttribute\__construct().

◆ permView()

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 108 of file class_msgPool.inc.

References buildList(), and htmlescape().

◆ removeFeaturesButton()

static removeFeaturesButton (   $name)
static

Display Remove features button.

Parameters
string$nameName of the feature

Definition at line 483 of file class_msgPool.inc.

References htmlescape().

◆ required()

static required (   $name)
static

Display error about required field empty.

Parameters
string$nameName of the field

Definition at line 247 of file class_msgPool.inc.

References htmlescape().

Referenced by Attribute\check().

◆ reserved()

static reserved (   $name)
static

Display field contains reserved keyword.

Parameters
string$nameThe field which contains reserved keyword

Definition at line 152 of file class_msgPool.inc.

References htmlescape().

◆ saveButton()

static saveButton (   $escape = TRUE)
static

Text for a save button.

Parameters
bool$escapeWhether to escape the result

Definition at line 334 of file class_msgPool.inc.

References htmlescape().

Referenced by ManagementDialog\getFooter(), and GenericSimplePluginDialog\render().

◆ siError()

static siError (   $error = '')
static

Display error about communication failure with the infrastructure service.

Parameters
string$errorThe error of the communication failure

Definition at line 567 of file class_msgPool.inc.

References htmlescape().

◆ toobig()

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

Display error about too larged value.

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

Definition at line 190 of file class_msgPool.inc.

References htmlescape().

◆ toosmall()

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

Display error about too small value.

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

Definition at line 206 of file class_msgPool.inc.

References htmlescape().


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