mirror of
https://gitlab.easter-eggs.com/ee/ldapsaisie.git
synced 2024-11-17 15:59:06 +01:00
Rollback class properties typing to restore PHP < 7.4 support
This commit is contained in:
parent
56e17a40f6
commit
d7ba794839
117 changed files with 223 additions and 223 deletions
|
@ -33,26 +33,26 @@ class LSattr_html extends LSlog_staticLoggerClass {
|
|||
* The attribute name
|
||||
* @var string
|
||||
*/
|
||||
var string $name;
|
||||
var $name;
|
||||
|
||||
/**
|
||||
* Attribute configuration (LSobjects.<type>.attrs.<attr_name>)
|
||||
* @var array<string,mixed>
|
||||
*/
|
||||
var array $config;
|
||||
var $config;
|
||||
|
||||
/**
|
||||
* The reference of the parent LSattribute object
|
||||
* @var LSattribute
|
||||
*/
|
||||
var LSattribute $attribute;
|
||||
var $attribute;
|
||||
|
||||
/**
|
||||
* The corresponding LSformElement object type
|
||||
* Note: Must be set in implemented classes
|
||||
* @var string
|
||||
*/
|
||||
var string $LSformElement_type = '';
|
||||
var $LSformElement_type = '';
|
||||
|
||||
/**
|
||||
* If true, this LSattr_html type is considered as able to only support
|
||||
|
@ -61,7 +61,7 @@ class LSattr_html extends LSlog_staticLoggerClass {
|
|||
* triggered.
|
||||
* @var bool
|
||||
*/
|
||||
protected bool $singleValue = false;
|
||||
protected $singleValue = false;
|
||||
|
||||
/**
|
||||
* Constructeur
|
||||
|
|
|
@ -27,6 +27,6 @@
|
|||
*/
|
||||
class LSattr_html_boolean extends LSattr_html {
|
||||
|
||||
var string $LSformElement_type = 'boolean';
|
||||
var $LSformElement_type = 'boolean';
|
||||
|
||||
}
|
||||
|
|
|
@ -27,7 +27,7 @@
|
|||
*/
|
||||
class LSattr_html_date extends LSattr_html {
|
||||
|
||||
var string $LSformElement_type = 'date';
|
||||
var $LSformElement_type = 'date';
|
||||
|
||||
/**
|
||||
* Ajoute l'attribut au formualaire passer en paramètre
|
||||
|
|
|
@ -27,7 +27,7 @@
|
|||
*/
|
||||
class LSattr_html_image extends LSattr_html {
|
||||
|
||||
var string $LSformElement_type = 'image';
|
||||
protected bool $singleValue = true;
|
||||
var $LSformElement_type = 'image';
|
||||
protected $singleValue = true;
|
||||
|
||||
}
|
||||
|
|
|
@ -27,6 +27,6 @@
|
|||
*/
|
||||
class LSattr_html_jsonCompositeAttribute extends LSattr_html {
|
||||
|
||||
var string $LSformElement_type = 'jsonCompositeAttribute';
|
||||
var $LSformElement_type = 'jsonCompositeAttribute';
|
||||
|
||||
}
|
||||
|
|
|
@ -27,6 +27,6 @@
|
|||
*/
|
||||
class LSattr_html_labeledValue extends LSattr_html {
|
||||
|
||||
var string $LSformElement_type = 'labeledValue';
|
||||
var $LSformElement_type = 'labeledValue';
|
||||
|
||||
}
|
||||
|
|
|
@ -27,6 +27,6 @@
|
|||
*/
|
||||
class LSattr_html_mail extends LSattr_html {
|
||||
|
||||
var string $LSformElement_type = 'mail';
|
||||
var $LSformElement_type = 'mail';
|
||||
|
||||
}
|
||||
|
|
|
@ -27,6 +27,6 @@
|
|||
*/
|
||||
class LSattr_html_mailQuota extends LSattr_html {
|
||||
|
||||
var string $LSformElement_type = 'mailQuota';
|
||||
var $LSformElement_type = 'mailQuota';
|
||||
|
||||
}
|
||||
|
|
|
@ -29,7 +29,7 @@ LSsession :: loadLSaddon('maildir');
|
|||
*/
|
||||
class LSattr_html_maildir extends LSattr_html {
|
||||
|
||||
var string $LSformElement_type = 'maildir';
|
||||
var $LSformElement_type = 'maildir';
|
||||
|
||||
/**
|
||||
* Registered actions to do on object events
|
||||
|
|
|
@ -27,7 +27,7 @@
|
|||
*/
|
||||
class LSattr_html_password extends LSattr_html {
|
||||
|
||||
var string $LSformElement_type = 'password';
|
||||
protected bool $singleValue = true;
|
||||
var $LSformElement_type = 'password';
|
||||
protected $singleValue = true;
|
||||
|
||||
}
|
||||
|
|
|
@ -29,6 +29,6 @@ LSsession :: loadLSclass('LSattr_html_textarea');
|
|||
*/
|
||||
class LSattr_html_postaladdress extends LSattr_html_textarea {
|
||||
|
||||
var string $LSformElement_type = 'postaladdress';
|
||||
var $LSformElement_type = 'postaladdress';
|
||||
|
||||
}
|
||||
|
|
|
@ -29,6 +29,6 @@ LSsession :: loadLSclass('LSattr_html_textarea');
|
|||
*/
|
||||
class LSattr_html_pre extends LSattr_html_textarea {
|
||||
|
||||
var string $LSformElement_type = 'pre';
|
||||
var $LSformElement_type = 'pre';
|
||||
|
||||
}
|
||||
|
|
|
@ -27,6 +27,6 @@
|
|||
*/
|
||||
class LSattr_html_quota extends LSattr_html {
|
||||
|
||||
var string $LSformElement_type = 'quota';
|
||||
var $LSformElement_type = 'quota';
|
||||
|
||||
}
|
||||
|
|
|
@ -27,6 +27,6 @@
|
|||
*/
|
||||
class LSattr_html_rss extends LSattr_html {
|
||||
|
||||
var string $LSformElement_type = 'rss';
|
||||
var $LSformElement_type = 'rss';
|
||||
|
||||
}
|
||||
|
|
|
@ -27,7 +27,7 @@ LSsession :: loadLSclass('LSattr_html_select_box');
|
|||
*/
|
||||
class LSattr_html_sambaAcctFlags extends LSattr_html_select_box {
|
||||
|
||||
var string $LSformElement_type = 'sambaAcctFlags';
|
||||
var $LSformElement_type = 'sambaAcctFlags';
|
||||
|
||||
/**
|
||||
* Retourne un tableau des valeurs possibles de la liste
|
||||
|
|
|
@ -33,6 +33,6 @@ LSsession :: loadLSclass('LSattr_html_select_list');
|
|||
*/
|
||||
class LSattr_html_select_box extends LSattr_html_select_list {
|
||||
|
||||
var string $LSformElement_type = 'select_box';
|
||||
var $LSformElement_type = 'select_box';
|
||||
|
||||
}
|
||||
|
|
|
@ -42,7 +42,7 @@
|
|||
*/
|
||||
class LSattr_html_select_list extends LSattr_html{
|
||||
|
||||
var string $LSformElement_type = 'select';
|
||||
var $LSformElement_type = 'select';
|
||||
|
||||
/**
|
||||
* Ajoute l'attribut au formualaire passer en paramètre
|
||||
|
|
|
@ -27,14 +27,14 @@
|
|||
*/
|
||||
class LSattr_html_select_object extends LSattr_html{
|
||||
|
||||
var string $LSformElement_type = 'select_object';
|
||||
var $LSformElement_type = 'select_object';
|
||||
|
||||
/**
|
||||
* Array of unrecognized values
|
||||
* @see LSattr_html_select_object::getFormValues()
|
||||
* @var array<int,string>
|
||||
*/
|
||||
var array $unrecognizedValues = array();
|
||||
var $unrecognizedValues = array();
|
||||
|
||||
/**
|
||||
* Ajoute l'attribut au formualaire passer en paramètre
|
||||
|
|
|
@ -27,6 +27,6 @@
|
|||
*/
|
||||
class LSattr_html_ssh_key extends LSattr_html {
|
||||
|
||||
var string $LSformElement_type = 'ssh_key';
|
||||
var $LSformElement_type = 'ssh_key';
|
||||
|
||||
}
|
||||
|
|
|
@ -27,6 +27,6 @@
|
|||
*/
|
||||
class LSattr_html_supannActivite extends LSattr_html {
|
||||
|
||||
var string $LSformElement_type = 'supannActivite';
|
||||
var $LSformElement_type = 'supannActivite';
|
||||
|
||||
}
|
||||
|
|
|
@ -27,6 +27,6 @@
|
|||
*/
|
||||
class LSattr_html_supannAdressePostalePrivee extends LSattr_html {
|
||||
|
||||
var string $LSformElement_type = 'supannAdressePostalePrivee';
|
||||
var $LSformElement_type = 'supannAdressePostalePrivee';
|
||||
|
||||
}
|
||||
|
|
|
@ -27,6 +27,6 @@
|
|||
*/
|
||||
class LSattr_html_supannCodePopulation extends LSattr_html {
|
||||
|
||||
var string $LSformElement_type = 'supannCodePopulation';
|
||||
var $LSformElement_type = 'supannCodePopulation';
|
||||
|
||||
}
|
||||
|
|
|
@ -27,6 +27,6 @@
|
|||
*/
|
||||
class LSattr_html_supannEmpCorps extends LSattr_html {
|
||||
|
||||
var string $LSformElement_type = 'supannEmpCorps';
|
||||
var $LSformElement_type = 'supannEmpCorps';
|
||||
|
||||
}
|
||||
|
|
|
@ -27,6 +27,6 @@
|
|||
*/
|
||||
class LSattr_html_supannEmpProfil extends LSattr_html {
|
||||
|
||||
var string $LSformElement_type = 'supannEmpProfil';
|
||||
var $LSformElement_type = 'supannEmpProfil';
|
||||
|
||||
}
|
||||
|
|
|
@ -27,6 +27,6 @@
|
|||
*/
|
||||
class LSattr_html_supannEtablissement extends LSattr_html {
|
||||
|
||||
var string $LSformElement_type = 'supannEtablissement';
|
||||
var $LSformElement_type = 'supannEtablissement';
|
||||
|
||||
}
|
||||
|
|
|
@ -27,6 +27,6 @@
|
|||
*/
|
||||
class LSattr_html_supannEtuDiplome extends LSattr_html {
|
||||
|
||||
var string $LSformElement_type = 'supannEtuDiplome';
|
||||
var $LSformElement_type = 'supannEtuDiplome';
|
||||
|
||||
}
|
||||
|
|
|
@ -27,6 +27,6 @@
|
|||
*/
|
||||
class LSattr_html_supannEtuElementPedagogique extends LSattr_html {
|
||||
|
||||
var string $LSformElement_type = 'supannEtuElementPedagogique';
|
||||
var $LSformElement_type = 'supannEtuElementPedagogique';
|
||||
|
||||
}
|
||||
|
|
|
@ -27,6 +27,6 @@
|
|||
*/
|
||||
class LSattr_html_supannEtuEtape extends LSattr_html {
|
||||
|
||||
var string $LSformElement_type = 'supannEtuEtape';
|
||||
var $LSformElement_type = 'supannEtuEtape';
|
||||
|
||||
}
|
||||
|
|
|
@ -27,6 +27,6 @@
|
|||
*/
|
||||
class LSattr_html_supannEtuInscription extends LSattr_html {
|
||||
|
||||
var string $LSformElement_type = 'supannEtuInscription';
|
||||
var $LSformElement_type = 'supannEtuInscription';
|
||||
|
||||
}
|
||||
|
|
|
@ -27,6 +27,6 @@
|
|||
*/
|
||||
class LSattr_html_supannEtuRegimeInscription extends LSattr_html {
|
||||
|
||||
var string $LSformElement_type = 'supannEtuRegimeInscription';
|
||||
var $LSformElement_type = 'supannEtuRegimeInscription';
|
||||
|
||||
}
|
||||
|
|
|
@ -27,6 +27,6 @@
|
|||
*/
|
||||
class LSattr_html_supannEtuSecteurDisciplinaire extends LSattr_html {
|
||||
|
||||
var string $LSformElement_type = 'supannEtuSecteurDisciplinaire';
|
||||
var $LSformElement_type = 'supannEtuSecteurDisciplinaire';
|
||||
|
||||
}
|
||||
|
|
|
@ -27,6 +27,6 @@
|
|||
*/
|
||||
class LSattr_html_supannEtuTypeDiplome extends LSattr_html {
|
||||
|
||||
var string $LSformElement_type = 'supannEtuTypeDiplome';
|
||||
var $LSformElement_type = 'supannEtuTypeDiplome';
|
||||
|
||||
}
|
||||
|
|
|
@ -27,6 +27,6 @@
|
|||
*/
|
||||
class LSattr_html_supannExtProfil extends LSattr_html {
|
||||
|
||||
var string $LSformElement_type = 'supannExtProfil';
|
||||
var $LSformElement_type = 'supannExtProfil';
|
||||
|
||||
}
|
||||
|
|
|
@ -27,6 +27,6 @@
|
|||
*/
|
||||
class LSattr_html_supannLabeledValue extends LSattr_html {
|
||||
|
||||
var string $LSformElement_type = 'supannLabeledValue';
|
||||
var $LSformElement_type = 'supannLabeledValue';
|
||||
|
||||
}
|
||||
|
|
|
@ -27,6 +27,6 @@
|
|||
*/
|
||||
class LSattr_html_supannMailPrive extends LSattr_html {
|
||||
|
||||
var string $LSformElement_type = 'supannMailPrive';
|
||||
var $LSformElement_type = 'supannMailPrive';
|
||||
|
||||
}
|
||||
|
|
|
@ -27,6 +27,6 @@
|
|||
*/
|
||||
class LSattr_html_supannRessourceEtat extends LSattr_html {
|
||||
|
||||
var string $LSformElement_type = 'supannRessourceEtat';
|
||||
var $LSformElement_type = 'supannRessourceEtat';
|
||||
|
||||
}
|
||||
|
|
|
@ -27,6 +27,6 @@
|
|||
*/
|
||||
class LSattr_html_supannRessourceEtatDate extends LSattr_html {
|
||||
|
||||
var string $LSformElement_type = 'supannRessourceEtatDate';
|
||||
var $LSformElement_type = 'supannRessourceEtatDate';
|
||||
|
||||
}
|
||||
|
|
|
@ -27,6 +27,6 @@
|
|||
*/
|
||||
class LSattr_html_supannRoleEntite extends LSattr_html {
|
||||
|
||||
var string $LSformElement_type = 'supannRoleEntite';
|
||||
var $LSformElement_type = 'supannRoleEntite';
|
||||
|
||||
}
|
||||
|
|
|
@ -27,6 +27,6 @@
|
|||
*/
|
||||
class LSattr_html_supannRoleGenerique extends LSattr_html {
|
||||
|
||||
var string $LSformElement_type = 'supannRoleGenerique';
|
||||
var $LSformElement_type = 'supannRoleGenerique';
|
||||
|
||||
}
|
||||
|
|
|
@ -27,6 +27,6 @@
|
|||
*/
|
||||
class LSattr_html_supannTelephonePrive extends LSattr_html {
|
||||
|
||||
var string $LSformElement_type = 'supannTelephonePrive';
|
||||
var $LSformElement_type = 'supannTelephonePrive';
|
||||
|
||||
}
|
||||
|
|
|
@ -27,6 +27,6 @@
|
|||
*/
|
||||
class LSattr_html_supannTypeEntite extends LSattr_html {
|
||||
|
||||
var string $LSformElement_type = 'supannTypeEntite';
|
||||
var $LSformElement_type = 'supannTypeEntite';
|
||||
|
||||
}
|
||||
|
|
|
@ -27,6 +27,6 @@
|
|||
*/
|
||||
class LSattr_html_tel extends LSattr_html {
|
||||
|
||||
var string $LSformElement_type = 'tel';
|
||||
var $LSformElement_type = 'tel';
|
||||
|
||||
}
|
||||
|
|
|
@ -27,6 +27,6 @@
|
|||
*/
|
||||
class LSattr_html_text extends LSattr_html {
|
||||
|
||||
var string $LSformElement_type = 'text';
|
||||
var $LSformElement_type = 'text';
|
||||
|
||||
}
|
||||
|
|
|
@ -27,6 +27,6 @@
|
|||
*/
|
||||
class LSattr_html_textarea extends LSattr_html {
|
||||
|
||||
var string $LSformElement_type = 'textarea';
|
||||
var $LSformElement_type = 'textarea';
|
||||
|
||||
}
|
||||
|
|
|
@ -27,6 +27,6 @@
|
|||
*/
|
||||
class LSattr_html_url extends LSattr_html {
|
||||
|
||||
var string $LSformElement_type = 'url';
|
||||
var $LSformElement_type = 'url';
|
||||
|
||||
}
|
||||
|
|
|
@ -27,6 +27,6 @@
|
|||
*/
|
||||
class LSattr_html_valueWithUnit extends LSattr_html {
|
||||
|
||||
var string $LSformElement_type = 'valueWithUnit';
|
||||
var $LSformElement_type = 'valueWithUnit';
|
||||
|
||||
}
|
||||
|
|
|
@ -29,6 +29,6 @@ LSsession :: loadLSclass('LSattr_html_textarea');
|
|||
*/
|
||||
class LSattr_html_wysiwyg extends LSattr_html_textarea {
|
||||
|
||||
var string $LSformElement_type = 'wysiwyg';
|
||||
var $LSformElement_type = 'wysiwyg';
|
||||
|
||||
}
|
||||
|
|
|
@ -27,6 +27,6 @@
|
|||
*/
|
||||
class LSattr_html_xmpp extends LSattr_html {
|
||||
|
||||
var string $LSformElement_type = 'xmpp';
|
||||
var $LSformElement_type = 'xmpp';
|
||||
|
||||
}
|
||||
|
|
|
@ -33,19 +33,19 @@ class LSattr_ldap extends LSlog_staticLoggerClass {
|
|||
* LDAP attribute name
|
||||
* @var string
|
||||
*/
|
||||
var string $name;
|
||||
var $name;
|
||||
|
||||
/**
|
||||
* Attribute configuration (LSobjects.<type>.attrs.<attr_name>)
|
||||
* @var array<string,mixed>
|
||||
*/
|
||||
var array $config;
|
||||
var $config;
|
||||
|
||||
/**
|
||||
* The reference of the parent LSattribute object
|
||||
* @var LSattribute
|
||||
*/
|
||||
var LSattribute $attribute;
|
||||
var $attribute;
|
||||
|
||||
/**
|
||||
* Constructeur
|
||||
|
|
|
@ -32,7 +32,7 @@ class LSattr_ldap_password extends LSattr_ldap {
|
|||
* @see LSattr_ldap_password::getClearPassword()
|
||||
* @var string
|
||||
*/
|
||||
private string $clearPassword = '';
|
||||
private $clearPassword = '';
|
||||
|
||||
/**
|
||||
* Return the display value of this attribute
|
||||
|
|
|
@ -37,39 +37,39 @@ class LSattribute extends LSlog_staticLoggerClass {
|
|||
* Attribute name
|
||||
* @var string
|
||||
*/
|
||||
var string $name;
|
||||
var $name;
|
||||
|
||||
/**
|
||||
* Attribute configuration (LSobjects.<type>.attrs.<attr_name>)
|
||||
* @var array<string,mixed>
|
||||
*/
|
||||
var array $config;
|
||||
var $config;
|
||||
|
||||
/**
|
||||
* The reference of the parent LSldapObject object
|
||||
* @var LSldapObject
|
||||
*/
|
||||
var LSldapObject $ldapObject;
|
||||
var $ldapObject;
|
||||
|
||||
/**
|
||||
* The implemented LSattr_ldap object
|
||||
* @see LSattribute::__construct()
|
||||
* @var LSattr_ldap
|
||||
*/
|
||||
var LSattr_ldap $ldap;
|
||||
var $ldap;
|
||||
|
||||
/**
|
||||
* The implemented LSattr_ldap object
|
||||
* @see LSattribute::__construct()
|
||||
* @var LSattr_html
|
||||
*/
|
||||
var LSattr_html $html;
|
||||
var $html;
|
||||
|
||||
/**
|
||||
* Attribute data
|
||||
* @var array
|
||||
*/
|
||||
var array $data = array();
|
||||
var $data = array();
|
||||
|
||||
/**
|
||||
* Attribute updated data
|
||||
|
@ -89,14 +89,14 @@ class LSattribute extends LSlog_staticLoggerClass {
|
|||
* @see LSattribute::reloadData()
|
||||
* @var bool
|
||||
*/
|
||||
var bool $is_validate=false;
|
||||
var $is_validate=false;
|
||||
|
||||
/**
|
||||
* Cache of the validated new attribute data
|
||||
* @see LSattribute::getUpdateData()
|
||||
* @var array<string>
|
||||
*/
|
||||
var array $_finalUpdateData=array();
|
||||
var $_finalUpdateData=array();
|
||||
|
||||
/**
|
||||
* Cache of the current connected user right on this attribute
|
||||
|
@ -111,7 +111,7 @@ class LSattribute extends LSlog_staticLoggerClass {
|
|||
* @see LSattribute::fireEvent()
|
||||
* @var array<string,array>
|
||||
*/
|
||||
var array $_events=array();
|
||||
var $_events=array();
|
||||
|
||||
/**
|
||||
* Object registered hooks on event trigger object methods
|
||||
|
@ -119,7 +119,7 @@ class LSattribute extends LSlog_staticLoggerClass {
|
|||
* @see LSattribute::fireEvent()
|
||||
* @var array<string,array>
|
||||
*/
|
||||
var array $_objectEvents=array();
|
||||
var $_objectEvents=array();
|
||||
|
||||
/**
|
||||
* Constructeur
|
||||
|
|
|
@ -34,7 +34,7 @@ class LScli extends LSlog_staticLoggerClass {
|
|||
* @see LScli::add_command()
|
||||
* @var array
|
||||
*/
|
||||
private static array $commands = array();
|
||||
private static $commands = array();
|
||||
|
||||
/**
|
||||
* Store current executed command
|
||||
|
|
|
@ -49,7 +49,7 @@ class LSform extends LSlog_staticLoggerClass {
|
|||
* @see LSform::__construct()
|
||||
* @var array
|
||||
*/
|
||||
var array $config;
|
||||
var $config;
|
||||
|
||||
/**
|
||||
* Validation ability telltale
|
||||
|
@ -57,7 +57,7 @@ class LSform extends LSlog_staticLoggerClass {
|
|||
* @see LSform::setElementError()
|
||||
* @var boolean
|
||||
*/
|
||||
var bool $can_validate = true;
|
||||
var $can_validate = true;
|
||||
|
||||
/**
|
||||
* Form elements with attribute name as key and an implemented LSformElement as value
|
||||
|
@ -65,20 +65,20 @@ class LSform extends LSlog_staticLoggerClass {
|
|||
* @see LSattr_html::addToForm()
|
||||
* @var array<string,LSformElement>
|
||||
*/
|
||||
var array $elements = array();
|
||||
var $elements = array();
|
||||
|
||||
/**
|
||||
* Registred elements's rules
|
||||
* @var array<string,array>
|
||||
*/
|
||||
var array $_rules = array();
|
||||
var $_rules = array();
|
||||
|
||||
/**
|
||||
* Post data of the form
|
||||
* @see LSform::getPostData()
|
||||
* @var array<string,array>
|
||||
*/
|
||||
var array $_postData = array();
|
||||
var $_postData = array();
|
||||
|
||||
/**
|
||||
* Registered elements's errors
|
||||
|
@ -87,7 +87,7 @@ class LSform extends LSlog_staticLoggerClass {
|
|||
* @see LSform::getErrors()
|
||||
* @var array<string,array>
|
||||
*/
|
||||
var array $_elementsErrors = array();
|
||||
var $_elementsErrors = array();
|
||||
|
||||
/**
|
||||
* Validation telltale
|
||||
|
@ -130,14 +130,14 @@ class LSform extends LSlog_staticLoggerClass {
|
|||
* @see LSform::addWarning()
|
||||
* @var array<int,string>
|
||||
*/
|
||||
var array $warnings = array();
|
||||
var $warnings = array();
|
||||
|
||||
/**
|
||||
* Telltale of the API mode
|
||||
* @see LSform::__construct()
|
||||
* @var bool
|
||||
*/
|
||||
var bool $api_mode = false;
|
||||
var $api_mode = false;
|
||||
|
||||
/**
|
||||
* Submited telltale
|
||||
|
@ -145,7 +145,7 @@ class LSform extends LSlog_staticLoggerClass {
|
|||
* @see LSform::isSubmit()
|
||||
* @var bool
|
||||
*/
|
||||
private bool $submited = false;
|
||||
private $submited = false;
|
||||
|
||||
/**
|
||||
* The submit button value
|
||||
|
|
|
@ -36,7 +36,7 @@ class LSformElement extends LSlog_staticLoggerClass {
|
|||
* The attribute name
|
||||
* @var string
|
||||
*/
|
||||
var string $name;
|
||||
var $name;
|
||||
|
||||
/**
|
||||
* The attribute label
|
||||
|
@ -44,20 +44,20 @@ class LSformElement extends LSlog_staticLoggerClass {
|
|||
* @see LSformElement::getLabel()
|
||||
* @var string
|
||||
*/
|
||||
var string $label;
|
||||
var $label;
|
||||
|
||||
/**
|
||||
* Attribute configuration (LSobjects.<type>.attrs.<attr_name>)
|
||||
* @see LSformElement::getParam()
|
||||
* @var array<string,mixed>
|
||||
*/
|
||||
var array $params;
|
||||
var $params;
|
||||
|
||||
/**
|
||||
* Values of the element
|
||||
* @var array<mixed>
|
||||
*/
|
||||
var array $values = array();
|
||||
var $values = array();
|
||||
|
||||
/**
|
||||
* Reference of the related LSform object
|
||||
|
@ -71,7 +71,7 @@ class LSformElement extends LSlog_staticLoggerClass {
|
|||
* @see LSformElement::isRequired()
|
||||
* @var bool
|
||||
*/
|
||||
var bool $_required = false;
|
||||
var $_required = false;
|
||||
|
||||
/**
|
||||
* Freeze telltale (=read-only element)
|
||||
|
@ -79,7 +79,7 @@ class LSformElement extends LSlog_staticLoggerClass {
|
|||
* @see LSformElement::isFreeze()
|
||||
* @var bool
|
||||
*/
|
||||
var bool $_freeze = false;
|
||||
var $_freeze = false;
|
||||
|
||||
/**
|
||||
* Reference to the related LSattr_html object
|
||||
|
@ -92,21 +92,21 @@ class LSformElement extends LSlog_staticLoggerClass {
|
|||
* Note: commonly overwrite in implementated classes
|
||||
* @var string
|
||||
*/
|
||||
var string $fieldTemplate = 'LSformElement_field.tpl';
|
||||
var $fieldTemplate = 'LSformElement_field.tpl';
|
||||
|
||||
/**
|
||||
* The template filename (of the form complement element)
|
||||
* Note: may be overwrite in implementated classes
|
||||
* @var string
|
||||
*/
|
||||
var string $template = 'LSformElement.tpl';
|
||||
var $template = 'LSformElement.tpl';
|
||||
|
||||
/**
|
||||
* Template variables passed to Smarty computing the form element template
|
||||
* Note: this variables are commonly added in implementated classes
|
||||
* @var array<string,mixed>
|
||||
*/
|
||||
var array $fetchVariables = array();
|
||||
var $fetchVariables = array();
|
||||
|
||||
/**
|
||||
* Constructor
|
||||
|
|
|
@ -32,8 +32,8 @@
|
|||
|
||||
class LSformElement_boolean extends LSformElement {
|
||||
|
||||
var string $fieldTemplate = 'LSformElement_boolean_field.tpl';
|
||||
var string $template = 'LSformElement_boolean.tpl';
|
||||
var $fieldTemplate = 'LSformElement_boolean_field.tpl';
|
||||
var $template = 'LSformElement_boolean.tpl';
|
||||
|
||||
/**
|
||||
* Retourne les infos d'affichage de l'élément
|
||||
|
|
|
@ -32,9 +32,9 @@
|
|||
|
||||
class LSformElement_date extends LSformElement {
|
||||
|
||||
var string $fieldTemplate = 'LSformElement_date_field.tpl';
|
||||
var $fieldTemplate = 'LSformElement_date_field.tpl';
|
||||
|
||||
var array $_php2js_format = array(
|
||||
var $_php2js_format = array(
|
||||
"a" => "a",
|
||||
"A" => "A",
|
||||
"b" => "b",
|
||||
|
@ -60,9 +60,9 @@ class LSformElement_date extends LSformElement {
|
|||
"%" => "%",
|
||||
);
|
||||
|
||||
var array $_cache_php2js_format=array();
|
||||
var $_cache_php2js_format=array();
|
||||
|
||||
var string $default_style="vista";
|
||||
var $default_style="vista";
|
||||
|
||||
/**
|
||||
* Définis la valeur de l'élément date
|
||||
|
|
|
@ -31,7 +31,7 @@
|
|||
|
||||
class LSformElement_image extends LSformElement {
|
||||
|
||||
var string $fieldTemplate = 'LSformElement_image_field.tpl';
|
||||
var $fieldTemplate = 'LSformElement_image_field.tpl';
|
||||
|
||||
/**
|
||||
* Retourne les infos d'affichage de l'élément
|
||||
|
|
|
@ -32,8 +32,8 @@ LSsession :: loadLSclass('LSformElement');
|
|||
|
||||
class LSformElement_jsonCompositeAttribute extends LSformElement {
|
||||
|
||||
var string $template = 'LSformElement_jsonCompositeAttribute.tpl';
|
||||
var string $fieldTemplate = 'LSformElement_jsonCompositeAttribute_field.tpl';
|
||||
var $template = 'LSformElement_jsonCompositeAttribute.tpl';
|
||||
var $fieldTemplate = 'LSformElement_jsonCompositeAttribute_field.tpl';
|
||||
|
||||
public function __construct(&$form, $name, $label, $params, &$attr_html){
|
||||
parent :: __construct($form, $name, $label, $params,$attr_html);
|
||||
|
|
|
@ -33,8 +33,8 @@ LSsession :: loadLSclass('LSformElement');
|
|||
|
||||
class LSformElement_labeledValue extends LSformElement {
|
||||
|
||||
var string $template = 'LSformElement_labeledValue.tpl';
|
||||
var string $fieldTemplate = 'LSformElement_labeledValue_field.tpl';
|
||||
var $template = 'LSformElement_labeledValue.tpl';
|
||||
var $fieldTemplate = 'LSformElement_labeledValue_field.tpl';
|
||||
|
||||
/**
|
||||
* Retourne les infos d'affichage de l'élément
|
||||
|
|
|
@ -33,20 +33,20 @@ LSsession :: loadLSclass('LSformElement_text');
|
|||
|
||||
class LSformElement_mail extends LSformElement_text {
|
||||
|
||||
var array $JSscripts = array(
|
||||
var $JSscripts = array(
|
||||
'LSformElement_mail.js'
|
||||
);
|
||||
|
||||
var array $fetchVariables = array(
|
||||
var $fetchVariables = array(
|
||||
'additionalCssClass' => array('LSformElement_mail'),
|
||||
'uriPrefix' => 'mailto:'
|
||||
);
|
||||
|
||||
var string $fieldTemplate = 'LSformElement_uri_field.tpl';
|
||||
var $fieldTemplate = 'LSformElement_uri_field.tpl';
|
||||
|
||||
// Flag to trigger warning about old Autocomplete config style
|
||||
// (detect in constructor and show on getDisplay())
|
||||
private bool $warnOldAutocompleteConfigStyle = false;
|
||||
private $warnOldAutocompleteConfigStyle = false;
|
||||
|
||||
/**
|
||||
* Constructor
|
||||
|
|
|
@ -32,9 +32,9 @@
|
|||
|
||||
class LSformElement_mailQuota extends LSformElement {
|
||||
|
||||
var string $fieldTemplate = 'LSformElement_mailQuota_field.tpl';
|
||||
var $fieldTemplate = 'LSformElement_mailQuota_field.tpl';
|
||||
|
||||
var array $sizeFacts = array(
|
||||
var $sizeFacts = array(
|
||||
1 => 'o',
|
||||
1000 => 'Ko',
|
||||
1000000 => 'Mo',
|
||||
|
|
|
@ -52,12 +52,12 @@ LSsession :: loadLSclass('LSformElement_text');
|
|||
|
||||
class LSformElement_maildir extends LSformElement_text {
|
||||
|
||||
var array $JSscripts = array(
|
||||
var $JSscripts = array(
|
||||
'LSformElement_maildir_field.js',
|
||||
'LSformElement_maildir.js'
|
||||
);
|
||||
|
||||
var array $fetchVariables = array(
|
||||
var $fetchVariables = array(
|
||||
'additionalCssClass' => array('LSformElement_maildir'),
|
||||
);
|
||||
|
||||
|
|
|
@ -32,8 +32,8 @@ LSsession :: loadLSclass('LSformElement');
|
|||
|
||||
class LSformElement_password extends LSformElement {
|
||||
|
||||
var string $fieldTemplate = 'LSformElement_password_field.tpl';
|
||||
var string $template = 'LSformElement_password.tpl';
|
||||
var $fieldTemplate = 'LSformElement_password_field.tpl';
|
||||
var $template = 'LSformElement_password.tpl';
|
||||
|
||||
/**
|
||||
* Mail to send info
|
||||
|
|
|
@ -35,7 +35,7 @@ class LSformElement_postaladdress extends LSformElement_textarea {
|
|||
* @see LSformElement_textarea::getDisplay()
|
||||
* @var string
|
||||
*/
|
||||
var string $fieldTemplateExtraClass = 'LSformElement_postaladdress';
|
||||
var $fieldTemplateExtraClass = 'LSformElement_postaladdress';
|
||||
|
||||
/**
|
||||
* Retourne les infos d'affichage de l'élément
|
||||
|
|
|
@ -35,7 +35,7 @@ class LSformElement_pre extends LSformElement_textarea {
|
|||
* @see LSformElement_textarea::getDisplay()
|
||||
* @var string
|
||||
*/
|
||||
var string $fieldTemplateExtraClass = 'LSformElement_pre';
|
||||
var $fieldTemplateExtraClass = 'LSformElement_pre';
|
||||
|
||||
/**
|
||||
* Retourne les infos d'affichage de l'élément
|
||||
|
|
|
@ -32,9 +32,9 @@
|
|||
|
||||
class LSformElement_quota extends LSformElement {
|
||||
|
||||
var string $fieldTemplate = 'LSformElement_quota_field.tpl';
|
||||
var $fieldTemplate = 'LSformElement_quota_field.tpl';
|
||||
|
||||
var array $sizeFacts = array(
|
||||
var $sizeFacts = array(
|
||||
1 => 'o',
|
||||
1024 => 'Ko',
|
||||
1048576 => 'Mo',
|
||||
|
|
|
@ -33,15 +33,15 @@ LSsession :: loadLSclass('LSformElement_text');
|
|||
|
||||
class LSformElement_rss extends LSformElement_text {
|
||||
|
||||
var array $JSscripts = array(
|
||||
var $JSscripts = array(
|
||||
'LSformElement_rss.js'
|
||||
);
|
||||
var array $fetchVariables = array(
|
||||
var $fetchVariables = array(
|
||||
'additionalCssClass' => array('LSformElement_rss'),
|
||||
'uriPrefix' => ''
|
||||
);
|
||||
|
||||
var string $fieldTemplate = 'LSformElement_uri_field.tpl';
|
||||
var $fieldTemplate = 'LSformElement_uri_field.tpl';
|
||||
|
||||
public function getDisplay() {
|
||||
LStemplate :: addHelpInfo(
|
||||
|
|
|
@ -32,8 +32,8 @@
|
|||
|
||||
class LSformElement_select extends LSformElement {
|
||||
|
||||
var string $template = 'LSformElement_select.tpl';
|
||||
var string $fieldTemplate = 'LSformElement_select.tpl';
|
||||
var $template = 'LSformElement_select.tpl';
|
||||
var $fieldTemplate = 'LSformElement_select.tpl';
|
||||
|
||||
/**
|
||||
* Return display data of this element
|
||||
|
|
|
@ -33,8 +33,8 @@ LSsession :: loadLSclass('LSformElement_select');
|
|||
|
||||
class LSformElement_select_box extends LSformElement_select {
|
||||
|
||||
var string $template = 'LSformElement_select_box.tpl';
|
||||
var string $fieldTemplate = 'LSformElement_select_box.tpl';
|
||||
var $template = 'LSformElement_select_box.tpl';
|
||||
var $fieldTemplate = 'LSformElement_select_box.tpl';
|
||||
|
||||
/**
|
||||
* Return display data of this element
|
||||
|
|
|
@ -43,8 +43,8 @@ LSsession :: loadLSclass('LSformElement');
|
|||
|
||||
class LSformElement_select_object extends LSformElement {
|
||||
|
||||
var string $fieldTemplate = 'LSformElement_select_object_field.tpl';
|
||||
var string $template = 'LSformElement_select_object.tpl';
|
||||
var $fieldTemplate = 'LSformElement_select_object_field.tpl';
|
||||
var $template = 'LSformElement_select_object.tpl';
|
||||
|
||||
/**
|
||||
* Reference to the related LSattr_html_select_object object
|
||||
|
|
|
@ -32,8 +32,8 @@
|
|||
|
||||
class LSformElement_ssh_key extends LSformElement {
|
||||
|
||||
var string $template = 'LSformElement_ssh_key.tpl';
|
||||
var string $fieldTemplate = 'LSformElement_ssh_key_field.tpl';
|
||||
var $template = 'LSformElement_ssh_key.tpl';
|
||||
var $fieldTemplate = 'LSformElement_ssh_key_field.tpl';
|
||||
|
||||
|
||||
/**
|
||||
|
|
|
@ -34,8 +34,8 @@ LSsession :: loadLSaddon('supann');
|
|||
|
||||
class LSformElement_supannCompositeAttribute extends LSformElement {
|
||||
|
||||
var string $template = 'LSformElement_supannCompositeAttribute.tpl';
|
||||
var string $fieldTemplate = 'LSformElement_supannCompositeAttribute_field.tpl';
|
||||
var $template = 'LSformElement_supannCompositeAttribute.tpl';
|
||||
var $fieldTemplate = 'LSformElement_supannCompositeAttribute_field.tpl';
|
||||
|
||||
/*
|
||||
* Composants des valeurs composites :
|
||||
|
|
|
@ -34,8 +34,8 @@ LSsession :: loadLSaddon('supann');
|
|||
|
||||
class LSformElement_supannLabeledValue extends LSformElement {
|
||||
|
||||
var string $template = 'LSformElement_supannLabeledValue.tpl';
|
||||
var string $fieldTemplate = 'LSformElement_supannLabeledValue_field.tpl';
|
||||
var $template = 'LSformElement_supannLabeledValue.tpl';
|
||||
var $fieldTemplate = 'LSformElement_supannLabeledValue_field.tpl';
|
||||
|
||||
/**
|
||||
* Nomenclature table of this form element's values
|
||||
|
|
|
@ -33,12 +33,12 @@ LSsession :: loadLSclass('LSformElement_text');
|
|||
|
||||
class LSformElement_tel extends LSformElement_text {
|
||||
|
||||
var array $fetchVariables = array(
|
||||
var $fetchVariables = array(
|
||||
'additionalCssClass' => array('LSformElement_tel'),
|
||||
'uriPrefix' => 'tel:'
|
||||
);
|
||||
|
||||
var string $fieldTemplate = 'LSformElement_uri_field.tpl';
|
||||
var $fieldTemplate = 'LSformElement_uri_field.tpl';
|
||||
|
||||
public function getDisplay() {
|
||||
$this -> fetchVariables['uriLinkTitle'] = $this -> attr_html -> attribute -> ldapObject ->getDisplayName();
|
||||
|
|
|
@ -39,7 +39,7 @@ class LSformElement_text extends LSformElement {
|
|||
* @see LSformElement_text::getDisplay()
|
||||
* @var array
|
||||
*/
|
||||
var array $JSscripts = array();
|
||||
var $JSscripts = array();
|
||||
|
||||
/**
|
||||
* Extra CSS file to load for handling this form element
|
||||
|
@ -47,12 +47,12 @@ class LSformElement_text extends LSformElement {
|
|||
* @see LSformElement_text::getDisplay()
|
||||
* @var array
|
||||
*/
|
||||
var array $CSSfiles = array(
|
||||
var $CSSfiles = array(
|
||||
'LSformElement_text.css',
|
||||
);
|
||||
|
||||
var string $fieldTemplate = 'LSformElement_text_field.tpl';
|
||||
var array $fetchVariables = array(
|
||||
var $fieldTemplate = 'LSformElement_text_field.tpl';
|
||||
var $fetchVariables = array(
|
||||
'additionalCssClass' => array(),
|
||||
);
|
||||
|
||||
|
|
|
@ -32,14 +32,14 @@
|
|||
|
||||
class LSformElement_textarea extends LSformElement {
|
||||
|
||||
var string $fieldTemplate = 'LSformElement_textarea_field.tpl';
|
||||
var $fieldTemplate = 'LSformElement_textarea_field.tpl';
|
||||
|
||||
/**
|
||||
* Extra CSS class for the pre HTML element
|
||||
* @see LSformElement_textarea::getDisplay()
|
||||
* @var string
|
||||
*/
|
||||
var string $fieldTemplateExtraClass = '';
|
||||
var $fieldTemplateExtraClass = '';
|
||||
|
||||
/**
|
||||
* Retourne les infos d'affichage de l'élément
|
||||
|
|
|
@ -33,16 +33,16 @@ LSsession :: loadLSclass('LSformElement_text');
|
|||
|
||||
class LSformElement_url extends LSformElement_text {
|
||||
|
||||
var array $JSscripts = array(
|
||||
var $JSscripts = array(
|
||||
'LSformElement_url.js'
|
||||
);
|
||||
|
||||
var array $fetchVariables = array(
|
||||
var $fetchVariables = array(
|
||||
'additionalCssClass' => array('LSformElement_url'),
|
||||
'uriPrefix' => ''
|
||||
);
|
||||
|
||||
var string $fieldTemplate = 'LSformElement_uri_field.tpl';
|
||||
var $fieldTemplate = 'LSformElement_uri_field.tpl';
|
||||
|
||||
public function getDisplay() {
|
||||
LStemplate :: addHelpInfo(
|
||||
|
|
|
@ -32,7 +32,7 @@
|
|||
|
||||
class LSformElement_valueWithUnit extends LSformElement {
|
||||
|
||||
var string $fieldTemplate = 'LSformElement_valueWithUnit_field.tpl';
|
||||
var $fieldTemplate = 'LSformElement_valueWithUnit_field.tpl';
|
||||
|
||||
/**
|
||||
* Retourne les unites de l'attribut
|
||||
|
|
|
@ -31,7 +31,7 @@
|
|||
|
||||
class LSformElement_wysiwyg extends LSformElement {
|
||||
|
||||
var string $fieldTemplate = 'LSformElement_wysiwyg_field.tpl';
|
||||
var $fieldTemplate = 'LSformElement_wysiwyg_field.tpl';
|
||||
|
||||
/**
|
||||
* Retourne les infos d'affichage de l'élément
|
||||
|
|
|
@ -32,16 +32,16 @@ LSsession :: loadLSclass('LSformElement_text');
|
|||
*/
|
||||
|
||||
class LSformElement_xmpp extends LSformElement_text {
|
||||
var array $JSscripts = array(
|
||||
var $JSscripts = array(
|
||||
'LSformElement_xmpp.js'
|
||||
);
|
||||
|
||||
var array $fetchVariables = array(
|
||||
var $fetchVariables = array(
|
||||
'additionalCssClass' => array('LSformElement_xmpp'),
|
||||
'uriPrefix' => 'xmpp:'
|
||||
);
|
||||
|
||||
var string $fieldTemplate = 'LSformElement_uri_field.tpl';
|
||||
var $fieldTemplate = 'LSformElement_uri_field.tpl';
|
||||
|
||||
public function getDisplay() {
|
||||
LStemplate :: addHelpInfo(
|
||||
|
|
|
@ -46,7 +46,7 @@ class LSformRule extends LSlog_staticLoggerClass {
|
|||
* @see LSformRule::cli_test_form_rule_param_name_autocompleter()
|
||||
* @var array<string,mixed>
|
||||
*/
|
||||
protected static array $cli_params_autocompleters = array();
|
||||
protected static $cli_params_autocompleters = array();
|
||||
|
||||
/**
|
||||
* Validate form element values with specified rule
|
||||
|
|
|
@ -28,7 +28,7 @@
|
|||
class LSformRule_alphanumeric extends LSformRule {
|
||||
|
||||
// CLI parameters autocompleters
|
||||
protected static array $cli_params_autocompleters = array(
|
||||
protected static $cli_params_autocompleters = array(
|
||||
'withAccents' => array('LScli', 'autocomplete_bool'),
|
||||
);
|
||||
|
||||
|
|
|
@ -28,7 +28,7 @@
|
|||
class LSformRule_callable extends LSformRule {
|
||||
|
||||
// CLI parameters autocompleters
|
||||
protected static array $cli_params_autocompleters = array(
|
||||
protected static $cli_params_autocompleters = array(
|
||||
'callable' => null,
|
||||
);
|
||||
|
||||
|
|
|
@ -34,7 +34,7 @@ class LSformRule_compare extends LSformRule {
|
|||
const validate_one_by_one = False;
|
||||
|
||||
// CLI parameters autocompleters
|
||||
protected static array $cli_params_autocompleters = array(
|
||||
protected static $cli_params_autocompleters = array(
|
||||
'operator' => null,
|
||||
);
|
||||
|
||||
|
|
|
@ -28,7 +28,7 @@
|
|||
class LSformRule_date extends LSformRule {
|
||||
|
||||
// CLI parameters autocompleters
|
||||
protected static array $cli_params_autocompleters = array(
|
||||
protected static $cli_params_autocompleters = array(
|
||||
'format' => null,
|
||||
'special_values' => null,
|
||||
);
|
||||
|
|
|
@ -28,7 +28,7 @@
|
|||
class LSformRule_differentPassword extends LSformRule {
|
||||
|
||||
// CLI parameters autocompleters
|
||||
protected static array $cli_params_autocompleters = array(
|
||||
protected static $cli_params_autocompleters = array(
|
||||
'otherPasswordAttributes' => null,
|
||||
);
|
||||
|
||||
|
|
|
@ -28,7 +28,7 @@
|
|||
class LSformRule_email extends LSformRule {
|
||||
|
||||
// CLI parameters autocompleters
|
||||
protected static array $cli_params_autocompleters = array(
|
||||
protected static $cli_params_autocompleters = array(
|
||||
'domain' => null,
|
||||
'checkDomain' => array('LScli', 'autocomplete_bool'),
|
||||
);
|
||||
|
|
|
@ -28,7 +28,7 @@
|
|||
class LSformRule_filesize extends LSformRule {
|
||||
|
||||
// CLI parameters autocompleters
|
||||
protected static array $cli_params_autocompleters = array(
|
||||
protected static $cli_params_autocompleters = array(
|
||||
'minSize' => array('LScli', 'autocomplete_int'),
|
||||
'maxSize' => array('LScli', 'autocomplete_int'),
|
||||
);
|
||||
|
|
|
@ -28,7 +28,7 @@
|
|||
class LSformRule_imagesize extends LSformRule {
|
||||
|
||||
// CLI parameters autocompleters
|
||||
protected static array $cli_params_autocompleters = array(
|
||||
protected static $cli_params_autocompleters = array(
|
||||
'minWidth' => array('LScli', 'autocomplete_int'),
|
||||
'maxWitdh' => array('LScli', 'autocomplete_int'),
|
||||
'minHeight' => array('LScli', 'autocomplete_int'),
|
||||
|
|
|
@ -28,7 +28,7 @@
|
|||
class LSformRule_inarray extends LSformRule {
|
||||
|
||||
// CLI parameters autocompleters
|
||||
protected static array $cli_params_autocompleters = array(
|
||||
protected static $cli_params_autocompleters = array(
|
||||
'possible_values' => null,
|
||||
'reverse' => array('LScli', 'autocomplete_bool'),
|
||||
);
|
||||
|
|
|
@ -28,7 +28,7 @@
|
|||
class LSformRule_integer extends LSformRule{
|
||||
|
||||
// CLI parameters autocompleters
|
||||
protected static array $cli_params_autocompleters = array(
|
||||
protected static $cli_params_autocompleters = array(
|
||||
'positive' => array('LScli', 'autocomplete_bool'),
|
||||
'negative' => array('LScli', 'autocomplete_bool'),
|
||||
'minHeight' => array('LScli', 'autocomplete_int'),
|
||||
|
|
|
@ -28,7 +28,7 @@
|
|||
class LSformRule_ldapSearchURI extends LSformRule {
|
||||
|
||||
// CLI parameters autocompleters
|
||||
protected static array $cli_params_autocompleters = array(
|
||||
protected static $cli_params_autocompleters = array(
|
||||
'check_resolving_ldap_host' => array('LScli', 'autocomplete_bool'),
|
||||
'host_required' => array('LScli', 'autocomplete_bool'),
|
||||
'scope_required' => array('LScli', 'autocomplete_bool'),
|
||||
|
|
|
@ -28,7 +28,7 @@
|
|||
class LSformRule_maxlength extends LSformRule {
|
||||
|
||||
// CLI parameters autocompleters
|
||||
protected static array $cli_params_autocompleters = array(
|
||||
protected static $cli_params_autocompleters = array(
|
||||
'limit' => array('LScli', 'autocomplete_int'),
|
||||
);
|
||||
|
||||
|
|
|
@ -28,7 +28,7 @@
|
|||
class LSformRule_mimetype extends LSformRule {
|
||||
|
||||
// CLI parameters autocompleters
|
||||
protected static array $cli_params_autocompleters = array(
|
||||
protected static $cli_params_autocompleters = array(
|
||||
'mimeType' => null,
|
||||
'mimeTypeRegEx' => null,
|
||||
);
|
||||
|
|
|
@ -28,7 +28,7 @@
|
|||
class LSformRule_minlength extends LSformRule {
|
||||
|
||||
// CLI parameters autocompleters
|
||||
protected static array $cli_params_autocompleters = array(
|
||||
protected static $cli_params_autocompleters = array(
|
||||
'limit' => array('LScli', 'autocomplete_int'),
|
||||
);
|
||||
|
||||
|
|
|
@ -35,7 +35,7 @@ class LSformRule_numberOfValues extends LSformRule {
|
|||
const validate_one_by_one = False;
|
||||
|
||||
// CLI parameters autocompleters
|
||||
protected static array $cli_params_autocompleters = array(
|
||||
protected static $cli_params_autocompleters = array(
|
||||
'min' => array('LScli', 'autocomplete_int'),
|
||||
'max' => array('LScli', 'autocomplete_int'),
|
||||
);
|
||||
|
|
|
@ -28,7 +28,7 @@
|
|||
class LSformRule_password extends LSformRule {
|
||||
|
||||
// CLI parameters autocompleters
|
||||
protected static array $cli_params_autocompleters = array(
|
||||
protected static $cli_params_autocompleters = array(
|
||||
'minlength' => array('LScli', 'autocomplete_int'),
|
||||
'maxlength' => array('LScli', 'autocomplete_int'),
|
||||
'prohibitedValues' => null,
|
||||
|
|
|
@ -28,7 +28,7 @@
|
|||
class LSformRule_rangelength extends LSformRule {
|
||||
|
||||
// CLI parameters autocompleters
|
||||
protected static array $cli_params_autocompleters = array(
|
||||
protected static $cli_params_autocompleters = array(
|
||||
'limits' => null,
|
||||
);
|
||||
|
||||
|
|
|
@ -28,7 +28,7 @@
|
|||
class LSformRule_regex extends LSformRule {
|
||||
|
||||
// CLI parameters autocompleters
|
||||
protected static array $cli_params_autocompleters = array(
|
||||
protected static $cli_params_autocompleters = array(
|
||||
'regex' => null,
|
||||
);
|
||||
|
||||
|
|
|
@ -28,7 +28,7 @@
|
|||
class LSformRule_zxcvbn extends LSformRule {
|
||||
|
||||
// CLI parameters autocompleters
|
||||
protected static array $cli_params_autocompleters = array(
|
||||
protected static $cli_params_autocompleters = array(
|
||||
'minScore' => array('LScli', 'autocomplete_int'),
|
||||
'userDataAttrs' => null,
|
||||
'showWarning' => array('LScli', 'autocomplete_bool'),
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue