mirror of
https://gitlab.easter-eggs.com/ee/ldapsaisie.git
synced 2024-11-22 18:09:06 +01:00
Fix reference allocation in variable
This commit is contained in:
parent
dfafd88159
commit
6220c3e6d6
7 changed files with 9 additions and 9 deletions
|
@ -48,7 +48,7 @@ class LSattr_html {
|
||||||
function LSattr_html ($name,$config,&$attribute) {
|
function LSattr_html ($name,$config,&$attribute) {
|
||||||
$this -> name = $name;
|
$this -> name = $name;
|
||||||
$this -> config = $config;
|
$this -> config = $config;
|
||||||
$this -> attribute = $attribute;
|
$this -> attribute =& $attribute;
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -47,7 +47,7 @@ class LSattr_ldap {
|
||||||
function LSattr_ldap ($name,$config,&$attribute) {
|
function LSattr_ldap ($name,$config,&$attribute) {
|
||||||
$this -> name = $name;
|
$this -> name = $name;
|
||||||
$this -> config = $config;
|
$this -> config = $config;
|
||||||
$this -> attribute = $attribute;
|
$this -> attribute =& $attribute;
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -63,7 +63,7 @@ class LSattribute {
|
||||||
function LSattribute ($name,$config,&$ldapObject) {
|
function LSattribute ($name,$config,&$ldapObject) {
|
||||||
$this -> name = $name;
|
$this -> name = $name;
|
||||||
$this -> config = $config;
|
$this -> config = $config;
|
||||||
$this -> ldapObject = $ldapObject;
|
$this -> ldapObject =& $ldapObject;
|
||||||
$html_type = "LSattr_html_".$config['html_type'];
|
$html_type = "LSattr_html_".$config['html_type'];
|
||||||
$ldap_type = "LSattr_ldap_".$config['ldap_type'];
|
$ldap_type = "LSattr_ldap_".$config['ldap_type'];
|
||||||
LSsession :: loadLSclass($html_type);
|
LSsession :: loadLSclass($html_type);
|
||||||
|
@ -625,7 +625,7 @@ class LSattribute {
|
||||||
*/
|
*/
|
||||||
function addObjectEvent($event,&$obj,$meth,$params=NULL) {
|
function addObjectEvent($event,&$obj,$meth,$params=NULL) {
|
||||||
$this -> _objectEvents[$event][] = array(
|
$this -> _objectEvents[$event][] = array(
|
||||||
'obj' => $obj,
|
'obj' => &$obj,
|
||||||
'meth' => $meth,
|
'meth' => $meth,
|
||||||
'params' => $params
|
'params' => $params
|
||||||
);
|
);
|
||||||
|
|
|
@ -70,7 +70,7 @@ class LSform {
|
||||||
else {
|
else {
|
||||||
$this -> submit = $submit;
|
$this -> submit = $submit;
|
||||||
}
|
}
|
||||||
$this -> ldapObject = $ldapObject;
|
$this -> ldapObject =& $ldapObject;
|
||||||
LSsession :: loadLSclass('LSformElement');
|
LSsession :: loadLSclass('LSformElement');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -60,8 +60,8 @@ class LSformElement {
|
||||||
$this -> name = $name;
|
$this -> name = $name;
|
||||||
$this -> label = $label;
|
$this -> label = $label;
|
||||||
$this -> params = $params;
|
$this -> params = $params;
|
||||||
$this -> form = $form;
|
$this -> form =& $form;
|
||||||
$this -> attr_html = $attr_html;
|
$this -> attr_html =& $attr_html;
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1652,7 +1652,7 @@ class LSldapObject {
|
||||||
*/
|
*/
|
||||||
function addObjectEvent($event,&$obj,$meth,$param=NULL) {
|
function addObjectEvent($event,&$obj,$meth,$param=NULL) {
|
||||||
$this -> _objectEvents[$event][] = array(
|
$this -> _objectEvents[$event][] = array(
|
||||||
'obj' => $obj,
|
'obj' => &$obj,
|
||||||
'meth' => $meth,
|
'meth' => $meth,
|
||||||
'param' => $param
|
'param' => $param
|
||||||
);
|
);
|
||||||
|
|
|
@ -61,7 +61,7 @@ class LSsearchEntry {
|
||||||
if (!LSsession :: loadLSobject($LSobject)) {
|
if (!LSsession :: loadLSobject($LSobject)) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
$this -> LSsearch = $LSsearch;
|
$this -> LSsearch =& $LSsearch;
|
||||||
$this -> LSobject = $LSobject;
|
$this -> LSobject = $LSobject;
|
||||||
$this -> params = $params;
|
$this -> params = $params;
|
||||||
$this -> id = $id;
|
$this -> id = $id;
|
||||||
|
|
Loading…
Reference in a new issue