APPPATH/classes/model/ppsperson.php [ 346 ]
341 $array[$field] = preg_replace($leading_cero, $entities[$this->c], $array[$field]);
342 }
343 }
344
345 // Ensure the right country prefix
346 if( array_key_exists($this->c, $entities) AND ! preg_match('/^\\'.$entities[$this->c].'/', $array[$field]))
347 {
348 $array->error($field, Misc::message('validate', 'phone_country'), array($array[$field]));
349 }
350 }
351 }
-
APPPATH/classes/model/ppsperson.php [ 346 ] » Kohana_Core::error_handler()
341 $array[$field] = preg_replace($leading_cero, $entities[$this->c], $array[$field]); 342 } 343 } 344 345 // Ensure the right country prefix 346 if( array_key_exists($this->c, $entities) AND ! preg_match('/^\\'.$entities[$this->c].'/', $array[$field])) 347 { 348 $array->error($field, Misc::message('validate', 'phone_country'), array($array[$field])); 349 } 350 } 351 }
-
{PHP internal call} » Model_Ppsperson->validate_phone(arguments)
0
object Validate(6)
{ protected _filters => array(0) protected _rules => array(28) ( "c" => array(3) ( "trim" => array(0) "not_empty" => array(0) "exact_length" => array(1) ( 0 => integer 2 ) ) "cn" => array(2) ( "trim" => array(0) "max_length" => array(1) ( 0 => integer 255 ) ) "description" => array(2) ( "trim" => array(0) "max_length" => array(1) ( 0 => integer 1024 ) ) "employeenumber" => array(3) ( "trim" => array(0) "digit" => array(1) ( 0 => bool TRUE ) "max_length" => array(1) ( 0 => integer 6 ) ) "employeetype" => array(4) ( "trim" => array(0) "not_empty" => array(0) "digit" => array(1) ( 0 => bool TRUE ) "range" => array(2) ( 0 => integer 0 1 => integer 9 ) ) "givenname" => array(3) ( "trim" => array(0) "not_empty" => array(0) "max_length" => array(1) ( 0 => integer 255 ) ) "info" => array(2) ( "trim" => array(0) "max_length" => array(1) ( 0 => integer 2047 ) ) "l" => array(2) ( "trim" => array(0) "max_length" => array(1) ( 0 => integer 255 ) ) "mail" => array(4) ( "trim" => array(0) "not_empty" => array(0) "email" => array(1) ( 0 => bool TRUE ) "email_domain" => array(0) ) "mobile" => array(2) ( "trim" => array(0) "phone" => array(0) ) "o" => array(2) ( "trim" => array(0) "max_length" => array(1) ( 0 => integer 255 ) ) "objectclass" => array(1) ( "not_empty" => array(0) ) "postalcode" => array(1) ( "trim" => array(0) ) "ppsbirthdate" => array(2) ( "trim" => array(0) "date" => array(0) ) "ppscontributionclass" => array(3) ( "trim" => array(0) "digit" => array(1) ( 0 => bool TRUE ) "range" => array(2) ( 0 => integer 0 1 => integer 1 ) ) "ppsgender" => array(4) ( "trim" => array(0) "not_empty" => array(0) "digit" => array(1) ( 0 => bool TRUE ) "range" => array(2) ( 0 => integer 1 1 => integer 2 ) ) "ppsjoining" => array(2) ( "trim" => array(0) "date" => array(0) ) "ppsleaving" => array(2) ( "trim" => array(0) "date" => array(0) ) "ppspreferrednotificationmethod" => array(3) ( "trim" => array(0) "digit" => array(1) ( 0 => bool TRUE ) "range" => array(2) ( 0 => integer 0 1 => integer 1 ) ) "preferredlanguage" => array(4) ( "trim" => array(0) "not_empty" => array(0) "alpha" => array(1) ( 0 => bool TRUE ) "exact_length" => array(1) ( 0 => integer 2 ) ) "sn" => array(4) ( "trim" => array(0) "not_empty" => array(0) "alpha" => array(1) ( 0 => bool TRUE ) "max_length" => array(1) ( 0 => integer 255 ) ) "st" => array(3) ( "trim" => array(0) "alpha" => array(1) ( 0 => bool TRUE ) "exact_length" => array(1) ( 0 => integer 2 ) ) "street" => array(2) ( "trim" => array(0) "alpha_numeric" => array(1) ( 0 => bool TRUE ) ) "telephonenumber" => array(2) ( "trim" => array(0) "phone" => array(0) ) "title" => array(2) ( "trim" => array(0) "regex" => array(1) ( 0 => string(12) "/[\w\s.,-]+/" ) ) "uid" => array(3) ( "trim" => array(0) "not_empty" => array(0) "max_length" => array(1) ( 0 => integer 255 ) ) "uniqueidentifier" => array(4) ( "trim" => array(0) "not_empty" => array(0) "digit" => array(1) ( 0 => bool TRUE ) "max_length" => array(1) ( 0 => integer 7 ) ) "userpassword" => array(3) ( "trim" => array(0) "min_length" => array(1) ( 0 => integer 6 ) "max_length" => array(1) ( 0 => integer 127 ) ) ) protected _callbacks => array(11) ( "c" => array(1) ( 0 => array(2) ( 0 => array(2) ( 0 => object Model_Person(17)
{ protected _attributes => array(29) ( ... ) protected _labels => array(26) ( ... ) protected _singlevalued => array(7) ( ... ) protected _object_class => string(9) "ppsperson" protected _primary_key => string(16) "uniqueidentifier" protected _rules => array(28) ( ... ) protected _callbacks => array(11) ( ... ) protected _protected => array(0) protected _ignored => array(0) protected _allowed_multivalue => array(0) public with_protected => bool FALSE protected _directory => object Ldirectory(5)
1 => string(10) "validate_c" ) 1 => array(0) ) ) "cn" => array(1) ( 0 => array(2) ( 0 => array(2) ( 0 => object Model_Person(17){ protected _instance => string(7) "default" protected _connection => resource(ldap link) protected _bind => bool TRUE protected _config => array(1) ( ... ) private _last_key => string(16) "uniqueidentifier" }
protected _filter => object Lfilter(4){ protected _base_dn => string(22) "dc=piratenpartei,dc=ch" protected _compositions => array(2) ( ... ) protected _operators => array(4) ( ... ) protected _filter_string => string(0) "" }
protected _loaded => bool FALSE protected _saved => bool FALSE protected _validate => object Validate(6) { *RECURSION* } protected _filters => array(0) }{ protected _attributes => array(29) ( ... ) protected _labels => array(26) ( ... ) protected _singlevalued => array(7) ( ... ) protected _object_class => string(9) "ppsperson" protected _primary_key => string(16) "uniqueidentifier" protected _rules => array(28) ( ... ) protected _callbacks => array(11) ( ... ) protected _protected => array(0) protected _ignored => array(0) protected _allowed_multivalue => array(0) public with_protected => bool FALSE protected _directory => object Ldirectory(5)
1 => string(11) "validate_cn" ) 1 => array(0) ) ) "mail" => array(1) ( 0 => array(2) ( 0 => array(2) ( 0 => object Model_Person(17){ protected _instance => string(7) "default" protected _connection => resource(ldap link) protected _bind => bool TRUE protected _config => array(1) ( ... ) private _last_key => string(16) "uniqueidentifier" }
protected _filter => object Lfilter(4){ protected _base_dn => string(22) "dc=piratenpartei,dc=ch" protected _compositions => array(2) ( ... ) protected _operators => array(4) ( ... ) protected _filter_string => string(0) "" }
protected _loaded => bool FALSE protected _saved => bool FALSE protected _validate => object Validate(6) { *RECURSION* } protected _filters => array(0) }{ protected _attributes => array(29) ( ... ) protected _labels => array(26) ( ... ) protected _singlevalued => array(7) ( ... ) protected _object_class => string(9) "ppsperson" protected _primary_key => string(16) "uniqueidentifier" protected _rules => array(28) ( ... ) protected _callbacks => array(11) ( ... ) protected _protected => array(0) protected _ignored => array(0) protected _allowed_multivalue => array(0) public with_protected => bool FALSE protected _directory => object Ldirectory(5)
1 => string(13) "validate_mail" ) 1 => array(0) ) ) "mobile" => array(1) ( 0 => array(2) ( 0 => array(2) ( 0 => object Model_Person(17){ protected _instance => string(7) "default" protected _connection => resource(ldap link) protected _bind => bool TRUE protected _config => array(1) ( ... ) private _last_key => string(16) "uniqueidentifier" }
protected _filter => object Lfilter(4){ protected _base_dn => string(22) "dc=piratenpartei,dc=ch" protected _compositions => array(2) ( ... ) protected _operators => array(4) ( ... ) protected _filter_string => string(0) "" }
protected _loaded => bool FALSE protected _saved => bool FALSE protected _validate => object Validate(6) { *RECURSION* } protected _filters => array(0) }{ protected _attributes => array(29) ( ... ) protected _labels => array(26) ( ... ) protected _singlevalued => array(7) ( ... ) protected _object_class => string(9) "ppsperson" protected _primary_key => string(16) "uniqueidentifier" protected _rules => array(28) ( ... ) protected _callbacks => array(11) ( ... ) protected _protected => array(0) protected _ignored => array(0) protected _allowed_multivalue => array(0) public with_protected => bool FALSE protected _directory => object Ldirectory(5)
1 => string(14) "validate_phone" ) 1 => array(0) ) ) "postalcode" => array(1) ( 0 => array(2) ( 0 => array(2) ( 0 => object Model_Person(17){ protected _instance => string(7) "default" protected _connection => resource(ldap link) protected _bind => bool TRUE protected _config => array(1) ( ... ) private _last_key => string(16) "uniqueidentifier" }
protected _filter => object Lfilter(4){ protected _base_dn => string(22) "dc=piratenpartei,dc=ch" protected _compositions => array(2) ( ... ) protected _operators => array(4) ( ... ) protected _filter_string => string(0) "" }
protected _loaded => bool FALSE protected _saved => bool FALSE protected _validate => object Validate(6) { *RECURSION* } protected _filters => array(0) }{ protected _attributes => array(29) ( ... ) protected _labels => array(26) ( ... ) protected _singlevalued => array(7) ( ... ) protected _object_class => string(9) "ppsperson" protected _primary_key => string(16) "uniqueidentifier" protected _rules => array(28) ( ... ) protected _callbacks => array(11) ( ... ) protected _protected => array(0) protected _ignored => array(0) protected _allowed_multivalue => array(0) public with_protected => bool FALSE protected _directory => object Ldirectory(5)
1 => string(19) "validate_postalcode" ) 1 => array(0) ) ) "ppsbirthdate" => array(1) ( 0 => array(2) ( 0 => array(2) ( 0 => object Model_Person(17){ protected _instance => string(7) "default" protected _connection => resource(ldap link) protected _bind => bool TRUE protected _config => array(1) ( ... ) private _last_key => string(16) "uniqueidentifier" }
protected _filter => object Lfilter(4){ protected _base_dn => string(22) "dc=piratenpartei,dc=ch" protected _compositions => array(2) ( ... ) protected _operators => array(4) ( ... ) protected _filter_string => string(0) "" }
protected _loaded => bool FALSE protected _saved => bool FALSE protected _validate => object Validate(6) { *RECURSION* } protected _filters => array(0) }{ protected _attributes => array(29) ( ... ) protected _labels => array(26) ( ... ) protected _singlevalued => array(7) ( ... ) protected _object_class => string(9) "ppsperson" protected _primary_key => string(16) "uniqueidentifier" protected _rules => array(28) ( ... ) protected _callbacks => array(11) ( ... ) protected _protected => array(0) protected _ignored => array(0) protected _allowed_multivalue => array(0) public with_protected => bool FALSE protected _directory => object Ldirectory(5)
1 => string(24) "convert_str_to_timestamp" ) 1 => array(0) ) ) "ppsjoining" => array(1) ( 0 => array(2) ( 0 => array(2) ( 0 => object Model_Person(17){ protected _instance => string(7) "default" protected _connection => resource(ldap link) protected _bind => bool TRUE protected _config => array(1) ( ... ) private _last_key => string(16) "uniqueidentifier" }
protected _filter => object Lfilter(4){ protected _base_dn => string(22) "dc=piratenpartei,dc=ch" protected _compositions => array(2) ( ... ) protected _operators => array(4) ( ... ) protected _filter_string => string(0) "" }
protected _loaded => bool FALSE protected _saved => bool FALSE protected _validate => object Validate(6) { *RECURSION* } protected _filters => array(0) }{ protected _attributes => array(29) ( ... ) protected _labels => array(26) ( ... ) protected _singlevalued => array(7) ( ... ) protected _object_class => string(9) "ppsperson" protected _primary_key => string(16) "uniqueidentifier" protected _rules => array(28) ( ... ) protected _callbacks => array(11) ( ... ) protected _protected => array(0) protected _ignored => array(0) protected _allowed_multivalue => array(0) public with_protected => bool FALSE protected _directory => object Ldirectory(5)
1 => string(17) "validate_add_date" ) 1 => array(0) ) ) "preferredlanguage" => array(1) ( 0 => array(2) ( 0 => array(2) ( 0 => object Model_Person(17){ protected _instance => string(7) "default" protected _connection => resource(ldap link) protected _bind => bool TRUE protected _config => array(1) ( ... ) private _last_key => string(16) "uniqueidentifier" }
protected _filter => object Lfilter(4){ protected _base_dn => string(22) "dc=piratenpartei,dc=ch" protected _compositions => array(2) ( ... ) protected _operators => array(4) ( ... ) protected _filter_string => string(0) "" }
protected _loaded => bool FALSE protected _saved => bool FALSE protected _validate => object Validate(6) { *RECURSION* } protected _filters => array(0) }{ protected _attributes => array(29) ( ... ) protected _labels => array(26) ( ... ) protected _singlevalued => array(7) ( ... ) protected _object_class => string(9) "ppsperson" protected _primary_key => string(16) "uniqueidentifier" protected _rules => array(28) ( ... ) protected _callbacks => array(11) ( ... ) protected _protected => array(0) protected _ignored => array(0) protected _allowed_multivalue => array(0) public with_protected => bool FALSE protected _directory => object Ldirectory(5)
1 => string(26) "validate_preferredlanguage" ) 1 => array(0) ) ) "st" => array(1) ( 0 => array(2) ( 0 => array(2) ( 0 => object Model_Person(17){ protected _instance => string(7) "default" protected _connection => resource(ldap link) protected _bind => bool TRUE protected _config => array(1) ( ... ) private _last_key => string(16) "uniqueidentifier" }
protected _filter => object Lfilter(4){ protected _base_dn => string(22) "dc=piratenpartei,dc=ch" protected _compositions => array(2) ( ... ) protected _operators => array(4) ( ... ) protected _filter_string => string(0) "" }
protected _loaded => bool FALSE protected _saved => bool FALSE protected _validate => object Validate(6) { *RECURSION* } protected _filters => array(0) }{ protected _attributes => array(29) ( ... ) protected _labels => array(26) ( ... ) protected _singlevalued => array(7) ( ... ) protected _object_class => string(9) "ppsperson" protected _primary_key => string(16) "uniqueidentifier" protected _rules => array(28) ( ... ) protected _callbacks => array(11) ( ... ) protected _protected => array(0) protected _ignored => array(0) protected _allowed_multivalue => array(0) public with_protected => bool FALSE protected _directory => object Ldirectory(5)
1 => string(11) "validate_st" ) 1 => array(0) ) ) "telephonenumber" => array(1) ( 0 => array(2) ( 0 => array(2) ( 0 => object Model_Person(17){ protected _instance => string(7) "default" protected _connection => resource(ldap link) protected _bind => bool TRUE protected _config => array(1) ( ... ) private _last_key => string(16) "uniqueidentifier" }
protected _filter => object Lfilter(4){ protected _base_dn => string(22) "dc=piratenpartei,dc=ch" protected _compositions => array(2) ( ... ) protected _operators => array(4) ( ... ) protected _filter_string => string(0) "" }
protected _loaded => bool FALSE protected _saved => bool FALSE protected _validate => object Validate(6) { *RECURSION* } protected _filters => array(0) }{ protected _attributes => array(29) ( ... ) protected _labels => array(26) ( ... ) protected _singlevalued => array(7) ( ... ) protected _object_class => string(9) "ppsperson" protected _primary_key => string(16) "uniqueidentifier" protected _rules => array(28) ( ... ) protected _callbacks => array(11) ( ... ) protected _protected => array(0) protected _ignored => array(0) protected _allowed_multivalue => array(0) public with_protected => bool FALSE protected _directory => object Ldirectory(5)
1 => string(14) "validate_phone" ) 1 => array(0) ) ) "uid" => array(1) ( 0 => array(2) ( 0 => array(2) ( 0 => object Model_Person(17){ protected _instance => string(7) "default" protected _connection => resource(ldap link) protected _bind => bool TRUE protected _config => array(1) ( ... ) private _last_key => string(16) "uniqueidentifier" }
protected _filter => object Lfilter(4){ protected _base_dn => string(22) "dc=piratenpartei,dc=ch" protected _compositions => array(2) ( ... ) protected _operators => array(4) ( ... ) protected _filter_string => string(0) "" }
protected _loaded => bool FALSE protected _saved => bool FALSE protected _validate => object Validate(6) { *RECURSION* } protected _filters => array(0) }{ protected _attributes => array(29) ( ... ) protected _labels => array(26) ( ... ) protected _singlevalued => array(7) ( ... ) protected _object_class => string(9) "ppsperson" protected _primary_key => string(16) "uniqueidentifier" protected _rules => array(28) ( ... ) protected _callbacks => array(11) ( ... ) protected _protected => array(0) protected _ignored => array(0) protected _allowed_multivalue => array(0) public with_protected => bool FALSE protected _directory => object Ldirectory(5)
1 => string(12) "validate_uid" ) 1 => array(0) ) ) ) protected _labels => array(28) ( "c" => string(1) "c" "cn" => string(2) "cn" "description" => string(11) "description" "employeenumber" => string(14) "employeenumber" "employeetype" => string(12) "employeetype" "givenname" => string(9) "givenname" "info" => string(4) "info" "l" => string(1) "l" "mail" => string(4) "mail" "mobile" => string(6) "mobile" "o" => string(1) "o" "objectclass" => string(11) "objectclass" "postalcode" => string(10) "postalcode" "ppsbirthdate" => string(12) "ppsbirthdate" "ppscontributionclass" => string(20) "ppscontributionclass" "ppsgender" => string(9) "ppsgender" "ppsjoining" => string(10) "ppsjoining" "ppsleaving" => string(10) "ppsleaving" "ppspreferrednotificationmethod" => string(30) "ppspreferrednotificationmethod" "preferredlanguage" => string(17) "preferredlanguage" "sn" => string(2) "sn" "st" => string(2) "st" "street" => string(6) "street" "telephonenumber" => string(15) "telephonenumber" "title" => string(5) "title" "uid" => string(3) "uid" "uniqueidentifier" => string(16) "uniqueidentifier" "userpassword" => string(12) "userpassword" ) protected _empty_rules => array(2) ( 0 => string(9) "not_empty" 1 => string(7) "matches" ) protected _errors => array(3) ( "ppscontributionclass" => array(2) ( 0 => string(5) "range" 1 => array(2) ( 0 => integer 0 1 => integer 1 ) ) "ppsgender" => array(2) ( 0 => string(5) "range" 1 => array(2) ( 0 => integer 1 1 => integer 2 ) ) "street" => array(2) ( 0 => string(13) "alpha_numeric" 1 => array(1) ( 0 => bool TRUE ) ) ) }{ protected _instance => string(7) "default" protected _connection => resource(ldap link) protected _bind => bool TRUE protected _config => array(1) ( ... ) private _last_key => string(16) "uniqueidentifier" }
protected _filter => object Lfilter(4){ protected _base_dn => string(22) "dc=piratenpartei,dc=ch" protected _compositions => array(2) ( ... ) protected _operators => array(4) ( ... ) protected _filter_string => string(0) "" }
protected _loaded => bool FALSE protected _saved => bool FALSE protected _validate => object Validate(6) { *RECURSION* } protected _filters => array(0) }1
string(6) "mobile"
2
array(0)
-
SYSPATH/classes/kohana/validate.php [ 977 ] » ReflectionMethod->invoke(arguments)
0
object Model_Person(17)
{ protected _attributes => array(29) ( "c" => string(2) "CH" "cn" => NULL "description" => NULL "dn" => NULL "employeenumber" => NULL "employeetype" => integer 1 "givenname" => string(3) "Pat" "info" => string(0) "" "l" => string(5) "Basel" "mail" => string(15) "pirate@valio.ch" "mobile" => string(12) "+41764095702" "o" => NULL "objectclass" => string(9) "ppsperson" "postalcode" => string(4) "4056" "ppsbirthdate" => string(10) "26.04.1983" "ppscontributionclass" => string(1) "2" "ppsgender" => string(1) "0" "ppsjoining" => string(0) "" "ppsleaving" => array(0) "ppspreferrednotificationmethod" => string(1) "1" "preferredlanguage" => string(2) "de" "sn" => string(8) "Mächler" "st" => string(2) "BS" "street" => string(18) "Mülhauserstr. 152" "telephonenumber" => string(12) "+41764095702" "title" => string(0) "" "uid" => string(5) "Valio" "uniqueidentifier" => integer 1122 "userpassword" => NULL ) protected _labels => array(26) ( "c" => string(7) "Country" "cn" => string(11) "Common name" "description" => string(9) "Signature" "employeenumber" => string(13) "Member number" "employeetype" => string(4) "Type" "givenname" => string(10) "First name" "info" => string(7) "Remarks" "l" => string(4) "City" "mail" => string(14) "E-Mail address" "mobile" => string(12) "Mobile phone" "o" => string(7) "Company" "postalcode" => string(11) "Postal code" "ppsbirthdate" => string(13) "Date of birth" "ppscontributionclass" => string(10) "Dues class" "ppsgender" => string(6) "Gender" "ppsjoining" => string(13) "Date enrolled" "ppsleaving" => string(14) "Date withdrawn" "ppspreferrednotificationmethod" => string(12) "Notification" "preferredlanguage" => string(8) "Language" "sn" => string(7) "Surname" "st" => string(6) "Canton" "street" => string(6) "Street" "telephonenumber" => string(12) "Phone number" "title" => string(5) "Title" "uid" => string(9) "Nick name" "userpassword" => string(8) "Password" ) protected _singlevalued => array(7) ( 0 => string(1) "c" 1 => string(14) "employeenumber" 2 => string(12) "ppsbirthdate" 3 => string(20) "ppscontributionclass" 4 => string(9) "ppsgender" 5 => string(30) "ppspreferrednotificationmethod" 6 => string(16) "preferedlanguage" ) protected _object_class => string(9) "ppsperson" protected _primary_key => string(16) "uniqueidentifier" protected _rules => array(28) ( "c" => array(3) ( "trim" => NULL "not_empty" => NULL "exact_length" => array(1) ( 0 => integer 2 ) ) "cn" => array(2) ( "trim" => NULL "max_length" => array(1) ( 0 => integer 255 ) ) "description" => array(2) ( "trim" => NULL "max_length" => array(1) ( 0 => integer 1024 ) ) "employeenumber" => array(3) ( "trim" => NULL "digit" => array(1) ( 0 => bool TRUE ) "max_length" => array(1) ( 0 => integer 6 ) ) "employeetype" => array(4) ( "trim" => NULL "not_empty" => NULL "digit" => array(1) ( 0 => bool TRUE ) "range" => array(2) ( 0 => integer 0 1 => integer 9 ) ) "givenname" => array(3) ( "trim" => NULL "not_empty" => NULL "max_length" => array(1) ( 0 => integer 255 ) ) "info" => array(2) ( "trim" => NULL "max_length" => array(1) ( 0 => integer 2047 ) ) "l" => array(2) ( "trim" => NULL "max_length" => array(1) ( 0 => integer 255 ) ) "mail" => array(4) ( "trim" => NULL "not_empty" => NULL "email" => array(1) ( 0 => bool TRUE ) "email_domain" => NULL ) "mobile" => array(2) ( "trim" => NULL "phone" => NULL ) "o" => array(2) ( "trim" => NULL "max_length" => array(1) ( 0 => integer 255 ) ) "objectclass" => array(1) ( "not_empty" => NULL ) "postalcode" => array(1) ( "trim" => NULL ) "ppsbirthdate" => array(2) ( "trim" => NULL "date" => NULL ) "ppscontributionclass" => array(3) ( "trim" => NULL "digit" => array(1) ( 0 => bool TRUE ) "range" => array(2) ( 0 => integer 0 1 => integer 1 ) ) "ppsgender" => array(4) ( "trim" => NULL "not_empty" => NULL "digit" => array(1) ( 0 => bool TRUE ) "range" => array(2) ( 0 => integer 1 1 => integer 2 ) ) "ppsjoining" => array(2) ( "trim" => NULL "date" => NULL ) "ppsleaving" => array(2) ( "trim" => NULL "date" => NULL ) "ppspreferrednotificationmethod" => array(3) ( "trim" => NULL "digit" => array(1) ( 0 => bool TRUE ) "range" => array(2) ( 0 => integer 0 1 => integer 1 ) ) "preferredlanguage" => array(4) ( "trim" => NULL "not_empty" => NULL "alpha" => array(1) ( 0 => bool TRUE ) "exact_length" => array(1) ( 0 => integer 2 ) ) "sn" => array(4) ( "trim" => NULL "not_empty" => NULL "alpha" => array(1) ( 0 => bool TRUE ) "max_length" => array(1) ( 0 => integer 255 ) ) "st" => array(3) ( "trim" => NULL "alpha" => array(1) ( 0 => bool TRUE ) "exact_length" => array(1) ( 0 => integer 2 ) ) "street" => array(2) ( "trim" => NULL "alpha_numeric" => array(1) ( 0 => bool TRUE ) ) "telephonenumber" => array(2) ( "trim" => NULL "phone" => NULL ) "title" => array(2) ( "trim" => NULL "regex" => array(1) ( 0 => string(12) "/[\w\s.,-]+/" ) ) "uid" => array(3) ( "trim" => NULL "not_empty" => NULL "max_length" => array(1) ( 0 => integer 255 ) ) "uniqueidentifier" => array(4) ( "trim" => NULL "not_empty" => NULL "digit" => array(1) ( 0 => bool TRUE ) "max_length" => array(1) ( 0 => integer 7 ) ) "userpassword" => array(3) ( "trim" => NULL "min_length" => array(1) ( 0 => integer 6 ) "max_length" => array(1) ( 0 => integer 127 ) ) ) protected _callbacks => array(11) ( "c" => array(1) ( 0 => string(10) "validate_c" ) "cn" => array(1) ( 0 => string(11) "validate_cn" ) "mail" => array(1) ( 0 => string(13) "validate_mail" ) "mobile" => array(1) ( 0 => string(14) "validate_phone" ) "postalcode" => array(1) ( 0 => string(19) "validate_postalcode" ) "ppsbirthdate" => array(1) ( 0 => string(24) "convert_str_to_timestamp" ) "ppsjoining" => array(1) ( 0 => string(17) "validate_add_date" ) "preferredlanguage" => array(1) ( 0 => string(26) "validate_preferredlanguage" ) "st" => array(1) ( 0 => string(11) "validate_st" ) "telephonenumber" => array(1) ( 0 => string(14) "validate_phone" ) "uid" => array(1) ( 0 => string(12) "validate_uid" ) ) protected _protected => array(0) protected _ignored => array(0) protected _allowed_multivalue => array(0) public with_protected => bool FALSE protected _directory => object Ldirectory(5)
{ protected _instance => string(7) "default" protected _connection => resource(ldap link) protected _bind => bool TRUE protected _config => array(1) ( "connection" => array(3) ( "hostname" => string(24) "lechuck.piratenpartei.ch" "port" => integer 389 "basedn" => string(22) "dc=piratenpartei,dc=ch" ) ) private _last_key => string(16) "uniqueidentifier" }
protected _filter => object Lfilter(4){ protected _base_dn => string(22) "dc=piratenpartei,dc=ch" protected _compositions => array(2) ( 0 => string(3) "and" "objectclass" => string(9) "ppsperson" ) protected _operators => array(4) ( "and" => string(1) "&" "or" => string(1) "|" "not" => string(1) "!" "equal" => string(1) "=" ) protected _filter_string => string(0) "" }
protected _loaded => bool FALSE protected _saved => bool FALSE protected _validate => object Validate(6){ protected _filters => array(0) protected _rules => array(28) ( "c" => array(3) ( "trim" => array(0) "not_empty" => array(0) "exact_length" => array(1) ( 0 => integer 2 ) ) "cn" => array(2) ( "trim" => array(0) "max_length" => array(1) ( 0 => integer 255 ) ) "description" => array(2) ( "trim" => array(0) "max_length" => array(1) ( 0 => integer 1024 ) ) "employeenumber" => array(3) ( "trim" => array(0) "digit" => array(1) ( 0 => bool TRUE ) "max_length" => array(1) ( 0 => integer 6 ) ) "employeetype" => array(4) ( "trim" => array(0) "not_empty" => array(0) "digit" => array(1) ( 0 => bool TRUE ) "range" => array(2) ( 0 => integer 0 1 => integer 9 ) ) "givenname" => array(3) ( "trim" => array(0) "not_empty" => array(0) "max_length" => array(1) ( 0 => integer 255 ) ) "info" => array(2) ( "trim" => array(0) "max_length" => array(1) ( 0 => integer 2047 ) ) "l" => array(2) ( "trim" => array(0) "max_length" => array(1) ( 0 => integer 255 ) ) "mail" => array(4) ( "trim" => array(0) "not_empty" => array(0) "email" => array(1) ( 0 => bool TRUE ) "email_domain" => array(0) ) "mobile" => array(2) ( "trim" => array(0) "phone" => array(0) ) "o" => array(2) ( "trim" => array(0) "max_length" => array(1) ( 0 => integer 255 ) ) "objectclass" => array(1) ( "not_empty" => array(0) ) "postalcode" => array(1) ( "trim" => array(0) ) "ppsbirthdate" => array(2) ( "trim" => array(0) "date" => array(0) ) "ppscontributionclass" => array(3) ( "trim" => array(0) "digit" => array(1) ( 0 => bool TRUE ) "range" => array(2) ( 0 => integer 0 1 => integer 1 ) ) "ppsgender" => array(4) ( "trim" => array(0) "not_empty" => array(0) "digit" => array(1) ( 0 => bool TRUE ) "range" => array(2) ( 0 => integer 1 1 => integer 2 ) ) "ppsjoining" => array(2) ( "trim" => array(0) "date" => array(0) ) "ppsleaving" => array(2) ( "trim" => array(0) "date" => array(0) ) "ppspreferrednotificationmethod" => array(3) ( "trim" => array(0) "digit" => array(1) ( 0 => bool TRUE ) "range" => array(2) ( 0 => integer 0 1 => integer 1 ) ) "preferredlanguage" => array(4) ( "trim" => array(0) "not_empty" => array(0) "alpha" => array(1) ( 0 => bool TRUE ) "exact_length" => array(1) ( 0 => integer 2 ) ) "sn" => array(4) ( "trim" => array(0) "not_empty" => array(0) "alpha" => array(1) ( 0 => bool TRUE ) "max_length" => array(1) ( 0 => integer 255 ) ) "st" => array(3) ( "trim" => array(0) "alpha" => array(1) ( 0 => bool TRUE ) "exact_length" => array(1) ( 0 => integer 2 ) ) "street" => array(2) ( "trim" => array(0) "alpha_numeric" => array(1) ( 0 => bool TRUE ) ) "telephonenumber" => array(2) ( "trim" => array(0) "phone" => array(0) ) "title" => array(2) ( "trim" => array(0) "regex" => array(1) ( 0 => string(12) "/[\w\s.,-]+/" ) ) "uid" => array(3) ( "trim" => array(0) "not_empty" => array(0) "max_length" => array(1) ( 0 => integer 255 ) ) "uniqueidentifier" => array(4) ( "trim" => array(0) "not_empty" => array(0) "digit" => array(1) ( 0 => bool TRUE ) "max_length" => array(1) ( 0 => integer 7 ) ) "userpassword" => array(3) ( "trim" => array(0) "min_length" => array(1) ( 0 => integer 6 ) "max_length" => array(1) ( 0 => integer 127 ) ) ) protected _callbacks => array(11) ( "c" => array(1) ( 0 => array(2) ( 0 => array(2) ( ... ) 1 => array(0) ) ) "cn" => array(1) ( 0 => array(2) ( 0 => array(2) ( ... ) 1 => array(0) ) ) "mail" => array(1) ( 0 => array(2) ( 0 => array(2) ( ... ) 1 => array(0) ) ) "mobile" => array(1) ( 0 => array(2) ( 0 => array(2) ( ... ) 1 => array(0) ) ) "postalcode" => array(1) ( 0 => array(2) ( 0 => array(2) ( ... ) 1 => array(0) ) ) "ppsbirthdate" => array(1) ( 0 => array(2) ( 0 => array(2) ( ... ) 1 => array(0) ) ) "ppsjoining" => array(1) ( 0 => array(2) ( 0 => array(2) ( ... ) 1 => array(0) ) ) "preferredlanguage" => array(1) ( 0 => array(2) ( 0 => array(2) ( ... ) 1 => array(0) ) ) "st" => array(1) ( 0 => array(2) ( 0 => array(2) ( ... ) 1 => array(0) ) ) "telephonenumber" => array(1) ( 0 => array(2) ( 0 => array(2) ( ... ) 1 => array(0) ) ) "uid" => array(1) ( 0 => array(2) ( 0 => array(2) ( ... ) 1 => array(0) ) ) ) protected _labels => array(28) ( "c" => string(1) "c" "cn" => string(2) "cn" "description" => string(11) "description" "employeenumber" => string(14) "employeenumber" "employeetype" => string(12) "employeetype" "givenname" => string(9) "givenname" "info" => string(4) "info" "l" => string(1) "l" "mail" => string(4) "mail" "mobile" => string(6) "mobile" "o" => string(1) "o" "objectclass" => string(11) "objectclass" "postalcode" => string(10) "postalcode" "ppsbirthdate" => string(12) "ppsbirthdate" "ppscontributionclass" => string(20) "ppscontributionclass" "ppsgender" => string(9) "ppsgender" "ppsjoining" => string(10) "ppsjoining" "ppsleaving" => string(10) "ppsleaving" "ppspreferrednotificationmethod" => string(30) "ppspreferrednotificationmethod" "preferredlanguage" => string(17) "preferredlanguage" "sn" => string(2) "sn" "st" => string(2) "st" "street" => string(6) "street" "telephonenumber" => string(15) "telephonenumber" "title" => string(5) "title" "uid" => string(3) "uid" "uniqueidentifier" => string(16) "uniqueidentifier" "userpassword" => string(12) "userpassword" ) protected _empty_rules => array(2) ( 0 => string(9) "not_empty" 1 => string(7) "matches" ) protected _errors => array(3) ( "ppscontributionclass" => array(2) ( 0 => string(5) "range" 1 => array(2) ( 0 => integer 0 1 => integer 1 ) ) "ppsgender" => array(2) ( 0 => string(5) "range" 1 => array(2) ( 0 => integer 1 1 => integer 2 ) ) "street" => array(2) ( 0 => string(13) "alpha_numeric" 1 => array(1) ( 0 => bool TRUE ) ) ) }
protected _filters => array(0) }1
object Validate(6)
{ protected _filters => array(0) protected _rules => array(28) ( "c" => array(3) ( "trim" => array(0) "not_empty" => array(0) "exact_length" => array(1) ( 0 => integer 2 ) ) "cn" => array(2) ( "trim" => array(0) "max_length" => array(1) ( 0 => integer 255 ) ) "description" => array(2) ( "trim" => array(0) "max_length" => array(1) ( 0 => integer 1024 ) ) "employeenumber" => array(3) ( "trim" => array(0) "digit" => array(1) ( 0 => bool TRUE ) "max_length" => array(1) ( 0 => integer 6 ) ) "employeetype" => array(4) ( "trim" => array(0) "not_empty" => array(0) "digit" => array(1) ( 0 => bool TRUE ) "range" => array(2) ( 0 => integer 0 1 => integer 9 ) ) "givenname" => array(3) ( "trim" => array(0) "not_empty" => array(0) "max_length" => array(1) ( 0 => integer 255 ) ) "info" => array(2) ( "trim" => array(0) "max_length" => array(1) ( 0 => integer 2047 ) ) "l" => array(2) ( "trim" => array(0) "max_length" => array(1) ( 0 => integer 255 ) ) "mail" => array(4) ( "trim" => array(0) "not_empty" => array(0) "email" => array(1) ( 0 => bool TRUE ) "email_domain" => array(0) ) "mobile" => array(2) ( "trim" => array(0) "phone" => array(0) ) "o" => array(2) ( "trim" => array(0) "max_length" => array(1) ( 0 => integer 255 ) ) "objectclass" => array(1) ( "not_empty" => array(0) ) "postalcode" => array(1) ( "trim" => array(0) ) "ppsbirthdate" => array(2) ( "trim" => array(0) "date" => array(0) ) "ppscontributionclass" => array(3) ( "trim" => array(0) "digit" => array(1) ( 0 => bool TRUE ) "range" => array(2) ( 0 => integer 0 1 => integer 1 ) ) "ppsgender" => array(4) ( "trim" => array(0) "not_empty" => array(0) "digit" => array(1) ( 0 => bool TRUE ) "range" => array(2) ( 0 => integer 1 1 => integer 2 ) ) "ppsjoining" => array(2) ( "trim" => array(0) "date" => array(0) ) "ppsleaving" => array(2) ( "trim" => array(0) "date" => array(0) ) "ppspreferrednotificationmethod" => array(3) ( "trim" => array(0) "digit" => array(1) ( 0 => bool TRUE ) "range" => array(2) ( 0 => integer 0 1 => integer 1 ) ) "preferredlanguage" => array(4) ( "trim" => array(0) "not_empty" => array(0) "alpha" => array(1) ( 0 => bool TRUE ) "exact_length" => array(1) ( 0 => integer 2 ) ) "sn" => array(4) ( "trim" => array(0) "not_empty" => array(0) "alpha" => array(1) ( 0 => bool TRUE ) "max_length" => array(1) ( 0 => integer 255 ) ) "st" => array(3) ( "trim" => array(0) "alpha" => array(1) ( 0 => bool TRUE ) "exact_length" => array(1) ( 0 => integer 2 ) ) "street" => array(2) ( "trim" => array(0) "alpha_numeric" => array(1) ( 0 => bool TRUE ) ) "telephonenumber" => array(2) ( "trim" => array(0) "phone" => array(0) ) "title" => array(2) ( "trim" => array(0) "regex" => array(1) ( 0 => string(12) "/[\w\s.,-]+/" ) ) "uid" => array(3) ( "trim" => array(0) "not_empty" => array(0) "max_length" => array(1) ( 0 => integer 255 ) ) "uniqueidentifier" => array(4) ( "trim" => array(0) "not_empty" => array(0) "digit" => array(1) ( 0 => bool TRUE ) "max_length" => array(1) ( 0 => integer 7 ) ) "userpassword" => array(3) ( "trim" => array(0) "min_length" => array(1) ( 0 => integer 6 ) "max_length" => array(1) ( 0 => integer 127 ) ) ) protected _callbacks => array(11) ( "c" => array(1) ( 0 => array(2) ( 0 => array(2) ( 0 => object Model_Person(17)
{ protected _attributes => array(29) ( ... ) protected _labels => array(26) ( ... ) protected _singlevalued => array(7) ( ... ) protected _object_class => string(9) "ppsperson" protected _primary_key => string(16) "uniqueidentifier" protected _rules => array(28) ( ... ) protected _callbacks => array(11) ( ... ) protected _protected => array(0) protected _ignored => array(0) protected _allowed_multivalue => array(0) public with_protected => bool FALSE protected _directory => object Ldirectory(5)
1 => string(10) "validate_c" ) 1 => array(0) ) ) "cn" => array(1) ( 0 => array(2) ( 0 => array(2) ( 0 => object Model_Person(17){ protected _instance => string(7) "default" protected _connection => resource(ldap link) protected _bind => bool TRUE protected _config => array(1) ( ... ) private _last_key => string(16) "uniqueidentifier" }
protected _filter => object Lfilter(4){ protected _base_dn => string(22) "dc=piratenpartei,dc=ch" protected _compositions => array(2) ( ... ) protected _operators => array(4) ( ... ) protected _filter_string => string(0) "" }
protected _loaded => bool FALSE protected _saved => bool FALSE protected _validate => object Validate(6) { *RECURSION* } protected _filters => array(0) }{ protected _attributes => array(29) ( ... ) protected _labels => array(26) ( ... ) protected _singlevalued => array(7) ( ... ) protected _object_class => string(9) "ppsperson" protected _primary_key => string(16) "uniqueidentifier" protected _rules => array(28) ( ... ) protected _callbacks => array(11) ( ... ) protected _protected => array(0) protected _ignored => array(0) protected _allowed_multivalue => array(0) public with_protected => bool FALSE protected _directory => object Ldirectory(5)
1 => string(11) "validate_cn" ) 1 => array(0) ) ) "mail" => array(1) ( 0 => array(2) ( 0 => array(2) ( 0 => object Model_Person(17){ protected _instance => string(7) "default" protected _connection => resource(ldap link) protected _bind => bool TRUE protected _config => array(1) ( ... ) private _last_key => string(16) "uniqueidentifier" }
protected _filter => object Lfilter(4){ protected _base_dn => string(22) "dc=piratenpartei,dc=ch" protected _compositions => array(2) ( ... ) protected _operators => array(4) ( ... ) protected _filter_string => string(0) "" }
protected _loaded => bool FALSE protected _saved => bool FALSE protected _validate => object Validate(6) { *RECURSION* } protected _filters => array(0) }{ protected _attributes => array(29) ( ... ) protected _labels => array(26) ( ... ) protected _singlevalued => array(7) ( ... ) protected _object_class => string(9) "ppsperson" protected _primary_key => string(16) "uniqueidentifier" protected _rules => array(28) ( ... ) protected _callbacks => array(11) ( ... ) protected _protected => array(0) protected _ignored => array(0) protected _allowed_multivalue => array(0) public with_protected => bool FALSE protected _directory => object Ldirectory(5)
1 => string(13) "validate_mail" ) 1 => array(0) ) ) "mobile" => array(1) ( 0 => array(2) ( 0 => array(2) ( 0 => object Model_Person(17){ protected _instance => string(7) "default" protected _connection => resource(ldap link) protected _bind => bool TRUE protected _config => array(1) ( ... ) private _last_key => string(16) "uniqueidentifier" }
protected _filter => object Lfilter(4){ protected _base_dn => string(22) "dc=piratenpartei,dc=ch" protected _compositions => array(2) ( ... ) protected _operators => array(4) ( ... ) protected _filter_string => string(0) "" }
protected _loaded => bool FALSE protected _saved => bool FALSE protected _validate => object Validate(6) { *RECURSION* } protected _filters => array(0) }{ protected _attributes => array(29) ( ... ) protected _labels => array(26) ( ... ) protected _singlevalued => array(7) ( ... ) protected _object_class => string(9) "ppsperson" protected _primary_key => string(16) "uniqueidentifier" protected _rules => array(28) ( ... ) protected _callbacks => array(11) ( ... ) protected _protected => array(0) protected _ignored => array(0) protected _allowed_multivalue => array(0) public with_protected => bool FALSE protected _directory => object Ldirectory(5)
1 => string(14) "validate_phone" ) 1 => array(0) ) ) "postalcode" => array(1) ( 0 => array(2) ( 0 => array(2) ( 0 => object Model_Person(17){ protected _instance => string(7) "default" protected _connection => resource(ldap link) protected _bind => bool TRUE protected _config => array(1) ( ... ) private _last_key => string(16) "uniqueidentifier" }
protected _filter => object Lfilter(4){ protected _base_dn => string(22) "dc=piratenpartei,dc=ch" protected _compositions => array(2) ( ... ) protected _operators => array(4) ( ... ) protected _filter_string => string(0) "" }
protected _loaded => bool FALSE protected _saved => bool FALSE protected _validate => object Validate(6) { *RECURSION* } protected _filters => array(0) }{ protected _attributes => array(29) ( ... ) protected _labels => array(26) ( ... ) protected _singlevalued => array(7) ( ... ) protected _object_class => string(9) "ppsperson" protected _primary_key => string(16) "uniqueidentifier" protected _rules => array(28) ( ... ) protected _callbacks => array(11) ( ... ) protected _protected => array(0) protected _ignored => array(0) protected _allowed_multivalue => array(0) public with_protected => bool FALSE protected _directory => object Ldirectory(5)
1 => string(19) "validate_postalcode" ) 1 => array(0) ) ) "ppsbirthdate" => array(1) ( 0 => array(2) ( 0 => array(2) ( 0 => object Model_Person(17){ protected _instance => string(7) "default" protected _connection => resource(ldap link) protected _bind => bool TRUE protected _config => array(1) ( ... ) private _last_key => string(16) "uniqueidentifier" }
protected _filter => object Lfilter(4){ protected _base_dn => string(22) "dc=piratenpartei,dc=ch" protected _compositions => array(2) ( ... ) protected _operators => array(4) ( ... ) protected _filter_string => string(0) "" }
protected _loaded => bool FALSE protected _saved => bool FALSE protected _validate => object Validate(6) { *RECURSION* } protected _filters => array(0) }{ protected _attributes => array(29) ( ... ) protected _labels => array(26) ( ... ) protected _singlevalued => array(7) ( ... ) protected _object_class => string(9) "ppsperson" protected _primary_key => string(16) "uniqueidentifier" protected _rules => array(28) ( ... ) protected _callbacks => array(11) ( ... ) protected _protected => array(0) protected _ignored => array(0) protected _allowed_multivalue => array(0) public with_protected => bool FALSE protected _directory => object Ldirectory(5)
1 => string(24) "convert_str_to_timestamp" ) 1 => array(0) ) ) "ppsjoining" => array(1) ( 0 => array(2) ( 0 => array(2) ( 0 => object Model_Person(17){ protected _instance => string(7) "default" protected _connection => resource(ldap link) protected _bind => bool TRUE protected _config => array(1) ( ... ) private _last_key => string(16) "uniqueidentifier" }
protected _filter => object Lfilter(4){ protected _base_dn => string(22) "dc=piratenpartei,dc=ch" protected _compositions => array(2) ( ... ) protected _operators => array(4) ( ... ) protected _filter_string => string(0) "" }
protected _loaded => bool FALSE protected _saved => bool FALSE protected _validate => object Validate(6) { *RECURSION* } protected _filters => array(0) }{ protected _attributes => array(29) ( ... ) protected _labels => array(26) ( ... ) protected _singlevalued => array(7) ( ... ) protected _object_class => string(9) "ppsperson" protected _primary_key => string(16) "uniqueidentifier" protected _rules => array(28) ( ... ) protected _callbacks => array(11) ( ... ) protected _protected => array(0) protected _ignored => array(0) protected _allowed_multivalue => array(0) public with_protected => bool FALSE protected _directory => object Ldirectory(5)
1 => string(17) "validate_add_date" ) 1 => array(0) ) ) "preferredlanguage" => array(1) ( 0 => array(2) ( 0 => array(2) ( 0 => object Model_Person(17){ protected _instance => string(7) "default" protected _connection => resource(ldap link) protected _bind => bool TRUE protected _config => array(1) ( ... ) private _last_key => string(16) "uniqueidentifier" }
protected _filter => object Lfilter(4){ protected _base_dn => string(22) "dc=piratenpartei,dc=ch" protected _compositions => array(2) ( ... ) protected _operators => array(4) ( ... ) protected _filter_string => string(0) "" }
protected _loaded => bool FALSE protected _saved => bool FALSE protected _validate => object Validate(6) { *RECURSION* } protected _filters => array(0) }{ protected _attributes => array(29) ( ... ) protected _labels => array(26) ( ... ) protected _singlevalued => array(7) ( ... ) protected _object_class => string(9) "ppsperson" protected _primary_key => string(16) "uniqueidentifier" protected _rules => array(28) ( ... ) protected _callbacks => array(11) ( ... ) protected _protected => array(0) protected _ignored => array(0) protected _allowed_multivalue => array(0) public with_protected => bool FALSE protected _directory => object Ldirectory(5)
1 => string(26) "validate_preferredlanguage" ) 1 => array(0) ) ) "st" => array(1) ( 0 => array(2) ( 0 => array(2) ( 0 => object Model_Person(17){ protected _instance => string(7) "default" protected _connection => resource(ldap link) protected _bind => bool TRUE protected _config => array(1) ( ... ) private _last_key => string(16) "uniqueidentifier" }
protected _filter => object Lfilter(4){ protected _base_dn => string(22) "dc=piratenpartei,dc=ch" protected _compositions => array(2) ( ... ) protected _operators => array(4) ( ... ) protected _filter_string => string(0) "" }
protected _loaded => bool FALSE protected _saved => bool FALSE protected _validate => object Validate(6) { *RECURSION* } protected _filters => array(0) }{ protected _attributes => array(29) ( ... ) protected _labels => array(26) ( ... ) protected _singlevalued => array(7) ( ... ) protected _object_class => string(9) "ppsperson" protected _primary_key => string(16) "uniqueidentifier" protected _rules => array(28) ( ... ) protected _callbacks => array(11) ( ... ) protected _protected => array(0) protected _ignored => array(0) protected _allowed_multivalue => array(0) public with_protected => bool FALSE protected _directory => object Ldirectory(5)
1 => string(11) "validate_st" ) 1 => array(0) ) ) "telephonenumber" => array(1) ( 0 => array(2) ( 0 => array(2) ( 0 => object Model_Person(17){ protected _instance => string(7) "default" protected _connection => resource(ldap link) protected _bind => bool TRUE protected _config => array(1) ( ... ) private _last_key => string(16) "uniqueidentifier" }
protected _filter => object Lfilter(4){ protected _base_dn => string(22) "dc=piratenpartei,dc=ch" protected _compositions => array(2) ( ... ) protected _operators => array(4) ( ... ) protected _filter_string => string(0) "" }
protected _loaded => bool FALSE protected _saved => bool FALSE protected _validate => object Validate(6) { *RECURSION* } protected _filters => array(0) }{ protected _attributes => array(29) ( ... ) protected _labels => array(26) ( ... ) protected _singlevalued => array(7) ( ... ) protected _object_class => string(9) "ppsperson" protected _primary_key => string(16) "uniqueidentifier" protected _rules => array(28) ( ... ) protected _callbacks => array(11) ( ... ) protected _protected => array(0) protected _ignored => array(0) protected _allowed_multivalue => array(0) public with_protected => bool FALSE protected _directory => object Ldirectory(5)
1 => string(14) "validate_phone" ) 1 => array(0) ) ) "uid" => array(1) ( 0 => array(2) ( 0 => array(2) ( 0 => object Model_Person(17){ protected _instance => string(7) "default" protected _connection => resource(ldap link) protected _bind => bool TRUE protected _config => array(1) ( ... ) private _last_key => string(16) "uniqueidentifier" }
protected _filter => object Lfilter(4){ protected _base_dn => string(22) "dc=piratenpartei,dc=ch" protected _compositions => array(2) ( ... ) protected _operators => array(4) ( ... ) protected _filter_string => string(0) "" }
protected _loaded => bool FALSE protected _saved => bool FALSE protected _validate => object Validate(6) { *RECURSION* } protected _filters => array(0) }{ protected _attributes => array(29) ( ... ) protected _labels => array(26) ( ... ) protected _singlevalued => array(7) ( ... ) protected _object_class => string(9) "ppsperson" protected _primary_key => string(16) "uniqueidentifier" protected _rules => array(28) ( ... ) protected _callbacks => array(11) ( ... ) protected _protected => array(0) protected _ignored => array(0) protected _allowed_multivalue => array(0) public with_protected => bool FALSE protected _directory => object Ldirectory(5)
1 => string(12) "validate_uid" ) 1 => array(0) ) ) ) protected _labels => array(28) ( "c" => string(1) "c" "cn" => string(2) "cn" "description" => string(11) "description" "employeenumber" => string(14) "employeenumber" "employeetype" => string(12) "employeetype" "givenname" => string(9) "givenname" "info" => string(4) "info" "l" => string(1) "l" "mail" => string(4) "mail" "mobile" => string(6) "mobile" "o" => string(1) "o" "objectclass" => string(11) "objectclass" "postalcode" => string(10) "postalcode" "ppsbirthdate" => string(12) "ppsbirthdate" "ppscontributionclass" => string(20) "ppscontributionclass" "ppsgender" => string(9) "ppsgender" "ppsjoining" => string(10) "ppsjoining" "ppsleaving" => string(10) "ppsleaving" "ppspreferrednotificationmethod" => string(30) "ppspreferrednotificationmethod" "preferredlanguage" => string(17) "preferredlanguage" "sn" => string(2) "sn" "st" => string(2) "st" "street" => string(6) "street" "telephonenumber" => string(15) "telephonenumber" "title" => string(5) "title" "uid" => string(3) "uid" "uniqueidentifier" => string(16) "uniqueidentifier" "userpassword" => string(12) "userpassword" ) protected _empty_rules => array(2) ( 0 => string(9) "not_empty" 1 => string(7) "matches" ) protected _errors => array(3) ( "ppscontributionclass" => array(2) ( 0 => string(5) "range" 1 => array(2) ( 0 => integer 0 1 => integer 1 ) ) "ppsgender" => array(2) ( 0 => string(5) "range" 1 => array(2) ( 0 => integer 1 1 => integer 2 ) ) "street" => array(2) ( 0 => string(13) "alpha_numeric" 1 => array(1) ( 0 => bool TRUE ) ) ) }{ protected _instance => string(7) "default" protected _connection => resource(ldap link) protected _bind => bool TRUE protected _config => array(1) ( ... ) private _last_key => string(16) "uniqueidentifier" }
protected _filter => object Lfilter(4){ protected _base_dn => string(22) "dc=piratenpartei,dc=ch" protected _compositions => array(2) ( ... ) protected _operators => array(4) ( ... ) protected _filter_string => string(0) "" }
protected _loaded => bool FALSE protected _saved => bool FALSE protected _validate => object Validate(6) { *RECURSION* } protected _filters => array(0) }2
string(6) "mobile"
3
array(0)
972 // The object must be NULL for static calls 973 $object = NULL; 974 } 975 976 // Call $object->$method($this, $field, $errors) with Reflection 977 $method->invoke($object, $this, $field, $params); 978 } 979 else 980 { 981 // Use a function call 982 $function = new ReflectionFunction($callback);
-
MODPATH/ldap/classes/ldm.php [ 389 ] » Kohana_Validate->check()
384 else { 385 // Validation object has been created, just exchange the data array 386 $this->_validate->exchangeArray($this->_attributes); 387 } 388 389 if ($this->_validate->check()) { 390 // Fields may have been modified by filters 391 $this->_attributes = array_merge($this->_attributes, $this->_validate->getArrayCopy()); 392 393 return TRUE; 394 }
-
APPPATH/classes/controller/users.php [ 80 ] » LDM->check()
75 $person->employeetype = $employeetype[$type]; 76 } 77 $person->uniqueidentifier = Ldirectory::instance()->unique( $person->objectclass, $person->primary_key); 78 79 // All user input is valid 80 if ($person->check()) 81 { 82 // Create base dn for the new user 83 // New user whants to be member 84 if( !empty($_POST['membership']) ) 85 {
-
{PHP internal call} » Controller_Users->action_create(arguments)
0
string(6) "member"
-
SYSPATH/classes/kohana/request.php [ 1112 ] » ReflectionMethod->invokeArgs(arguments)
0
object Controller_Users(5)
{ protected _entities => array(8) ( 0 => string(19) "contributionclasses" 1 => string(9) "countries" 2 => string(13) "employeetypes" 3 => string(7) "genders" 4 => string(9) "languages" 5 => string(19) "notificationmethods" 6 => string(6) "states" 7 => string(8) "sections" ) public template => object View(2)
{ protected _file => string(76) "/var/www/piratenpartei.ch/stage/mdbgui/application/views/master/template.php" protected _data => array(5) ( "page_title" => string(0) "" "content" => string(0) "" "browser_title" => string(6) "MdbGUI" "styles" => array(13) ( "media/css/960.css" => string(6) "screen" "media/css/pps-theme/jquery-ui-1.8.5.css" => string(6) "screen" "media/css/general.css" => string(6) "screen" "media/css/template.css" => string(6) "screen" "media/css/globalnavigation.css" => string(6) "screen" "media/css/content.css" => string(6) "screen" "media/css/menu.css" => string(6) "screen" "media/css/search.css" => string(6) "screen" "media/css/actions.css" => string(6) "screen" "media/css/form.css" => string(6) "screen" "media/css/messages.css" => string(6) "screen" "media/css/userrelations.css" => string(6) "screen" "media/css/treetable.css" => string(6) "screen" ) "scripts" => array(6) ( 0 => string(28) "media/js/jquery-1.4.2.min.js" 1 => string(31) "media/js/jquery-ui-1.8.5.min.js" 2 => string(31) "media/js/jquery.cookie-1.0.0.js" 3 => string(38) "media/js/jquery.treetable-2.3.0.min.js" 4 => string(40) "media/js/jquery.form.wizard-3.0.4.min.js" 5 => string(25) "media/js/jquery-ui-pps.js" ) ) }
protected _actions => array(2) ( 0 => object Model_action(3){ protected _route => string(19) "users/create/member" protected _title => string(22) "I want to be a pirate!" protected _text => NULL }
1 => object Model_action(3){ protected _route => string(22) "authentication/pwreset" protected _title => string(14) "Reset password" protected _text => string(34) "Lost your password? Get a new one!" }
) public auto_render => bool TRUE public request => object Request(9){ public route => object Route(4)
}{ protected _uri => string(32) "(<controller>(/<action>(/<id>)))" protected _regex => array(0) protected _defaults => array(2) ( "controller" => string(6) "static" "action" => string(5) "index" ) protected _route_regex => string(95) "#^(?:(?P<controller>[^/.,;?\n]++)(?:/(?P<action>[^/.,;?\n]++)(?:/(?P<id>[^/.,;?\n]++))?)?)?$#uD" }
public status => integer 500 public response => string(0) "" public headers => array(1) ( "Content-Type" => string(24) "text/html; charset=utf-8" ) public directory => string(0) "" public controller => string(5) "users" public action => string(6) "create" public uri => string(19) "users/create/member" protected _params => array(1) ( "id" => string(6) "member" ) }1
array(1) ( "id" => string(6) "member" )
1107 1108 // Determine the action to use 1109 $action = empty($this->action) ? Route::$default_action : $this->action; 1110 1111 // Execute the main action with the parameters 1112 $class->getMethod('action_'.$action)->invokeArgs($controller, $this->_params); 1113 1114 // Execute the "after action" method 1115 $class->getMethod('after')->invoke($controller); 1116 } 1117 catch (Exception $e)
-
APPPATH/bootstrap.php [ 118 ] » Kohana_Request->execute()
113 /** 114 * Execute the main request. A source of the URI can be passed, eg: $_SERVER['PATH_INFO']. 115 * If no source is specified, the URI will be automatically detected. 116 */ 117 echo Request::instance() 118 ->execute() 119 ->send_headers() 120 ->response;
-
DOCROOT/index.php [ 108 ] » require(arguments)
0
string(64) "/var/www/piratenpartei.ch/stage/mdbgui/application/bootstrap.php"
103 // Load empty core extension 104 require SYSPATH.'classes/kohana'.EXT; 105 } 106 107 // Bootstrap the application 108 require APPPATH.'bootstrap'.EXT;