summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: b0541ac)
raw | patch | inline | side by side (parent: b0541ac)
author | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 27 Jan 2010 13:47:00 +0000 (13:47 +0000) | ||
committer | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 27 Jan 2010 13:47:00 +0000 (13:47 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@15377 594d385d-05f5-0310-b6e9-bd551577e9d8
49 files changed:
diff --git a/gosa-core/include/class_CopyPasteHandler.inc b/gosa-core/include/class_CopyPasteHandler.inc
index 4d6fb1ddb04928d4e27061661fa2e7dfc6607ba6..1d671454b1a763314d95da975c67517488fcc30c 100644 (file)
/* Create CP handler */
- function CopyPasteHandler(&$config)
+ function __construct(&$config)
{
$this->config = &$config;
$this->current= NULL;
diff --git a/gosa-core/include/class_MultiSelectWindow.inc b/gosa-core/include/class_MultiSelectWindow.inc
index 9c9bd5071763836acd638b6201d0f0a983b95fd5..1c61332387d9aa782c815d96a3f154f8da645905 100644 (file)
/* Contrucktion */
- function MultiSelectWindow(&$config, $filterName, $module)
+ function __construct(&$config, $filterName, $module)
{
$this->config = &$config;
$this->module = $module;
diff --git a/gosa-core/include/class_SnapShotDialog.inc b/gosa-core/include/class_SnapShotDialog.inc
index aafd2e5ed191f02a9d09caee0bf04acce97d3594..ac0e034e3ad59257ae4ccfca76756082cab86b5d 100644 (file)
var $last_list = array();
- function SnapShotDialog(&$config, $dn, &$parent)
+ function __construct(&$config, $dn, &$parent)
{
plugin::plugin($config,$dn);
$this->parent = &$parent;
diff --git a/gosa-core/include/class_SnapshotHandler.inc b/gosa-core/include/class_SnapshotHandler.inc
index d371db5fcdd3d0b142a28ac27612722598b8abf1..b26bea8ef49d67b132249706f7747bebbf3b946d 100644 (file)
/* Create handler */
- function SnapshotHandler(&$config)
+ function __construct(&$config)
{
$this->config = &$config;
$config = $this->config;
index b74463f09c95b18cf4d461b81f67d2fab3d6b4a2..f7f0d284cfc6fa1cf76fbc58194b26c26a1da6e1 100644 (file)
var $myAclObjects = array();
var $acl_category = "acl/";
- function acl (&$config, $parent, $dn= NULL)
+ function __construct(&$config, $parent, $dn= NULL)
{
/* Include config object */
plugin::plugin($config, $dn);
index cd588c3bd7e9918aea485842ff468be5cd7af75f..b893c60b6d7101b798ba9fa59e01cedfd1d531dc 100644 (file)
var $error;
/* Initialize all vars*/
- function certificate()
+ function __construct()
{
$this->data= "";
$this->type= false;
index 106e4995a53766703f923e1711e06c1d52c303d8..ae1b6b08edd9e3ef5893aa01974b010cc4dd74be 100644 (file)
* \param string 'basedir' base directory
*
* */
- function config($filename, $basedir= "")
+ function __construct($filename, $basedir= "")
{
$this->parser = xml_parser_create();
$this->basedir= $basedir;
index a477eff43057b7f1b6cb0cefd1e7719cb7469fd6..9ee04d284ded0b8e4e63be59edc98c488cbd9f9e 100644 (file)
// Members for page managment
var $height=200;
- // Added php 4 constructor
- function divSelectBox(){
+ function __construct(){
$this->s_summary = "";
$this->a_entries = array();
$this->cols = 0;
index 9a3f6999154c4d686f136d41646feaf3a06464ac..284b62379c3a925f0e2ec23078b85f132ec10354 100644 (file)
var $fix_list_for_plugins = FALSE;
// Added php 4 constructor
- function divlist($pageid){
+ function __construct($pageid){
$this->i_currentPage = 0;
$this->i_entriesPerPage = 10;
index efd72574e18683c237523fd59872278ea2f73ec6..53b70bc843e5468de1d0dbb16e5a1e86e635d719 100644 (file)
var $pid;
- function filter($filename)
+ function __construct($filename)
{
global $config;
index 1f2baab3e41cfef1fa6d308329bb6b7b27c4fcd6..497c05700eb3b3db5b93d78c9ca35aa528822af5 100644 (file)
var $referrals= array();
var $max_ldap_query_time = 0; // 0, empty or negative values will disable this check
- function LDAP($binddn,$bindpw, $hostname, $follow_referral= FALSE, $tls= FALSE)
+ function __construct($binddn,$bindpw, $hostname, $follow_referral= FALSE, $tls= FALSE)
{
global $config;
$this->follow_referral= $follow_referral;
index 00a9e1090d7d3d1dc99d0477fa44bb59e48e7c98..131e58877aa2deb3c6e5f3b538fea491e7d68434 100644 (file)
var $scrollPosition= 0;
- function listing($filename)
+ function __construct($filename)
{
global $config;
global $class_mapping;
index ebaeff5a611b0eaf079a05c1f0ed3c178a1336aa..68210a88781719ca3a2ed6c4397e593e7503bb5a 100644 (file)
\sa log()
*/
- function log($action,$objecttype,$object,$changes_array = array(),$result = "")
+ function __construct($action,$objecttype,$object,$changes_array = array(),$result = "")
{
if(!is_array($changes_array)){
trigger_error("log(string,string,string,array(),bool). Forth parameter must be an array.");
index 952e8ec3870953e1bb50296ee5d21ac1d299400c..23459d25f500d8bb98605c299370e8e198384f75 100644 (file)
\param dn Distinguished name to initialize plugin from
\sa plugin()
*/
- function plugin (&$config, $dn= NULL, $object= NULL)
+ function __construct(&$config, $dn= NULL, $object= NULL)
{
/* Configuration is fine, allways */
$this->config= &$config;
index a4440087e4d2ca0987c6471442cb2e461f569f1f..fe46dbbc372877b6ec50a9ed556f163a39b2de0a 100644 (file)
var $allowed_plugins = array();
var $silly_cache= array();
- function pluglist(&$config, &$ui)
+ function __construct(&$config, &$ui)
{
$this->ui= &$ui;
$this->config= &$config;
diff --git a/gosa-core/include/class_sortableListing.inc b/gosa-core/include/class_sortableListing.inc
index a30758ebc3c3ccba455edc2e079eeecb61530b65..989f4085234a3d09765eeb3a13b0c01edfa28098 100644 (file)
private $acl= "";
private $modified= false;
- public function sortableListing($data= array(), $displayData= null, $reorderable= false)
+ public function __construct($data= array(), $displayData= null, $reorderable= false)
{
global $config;
index e1a2954bb3d3b6d8162382a976bd2b8553a68c7b..cba2cedf9c1188e7b1b4d4082113411863bbffbb 100644 (file)
var $hide_refs = FALSE;
var $hide_acls = FALSE;
- function tabs(&$config, $data, $dn, $acl_category= "", $hide_refs = FALSE, $hide_acls = FALSE)
+ function __construct(&$config, $data, $dn, $acl_category= "", $hide_refs = FALSE, $hide_acls = FALSE)
{
/* Save dn */
$this->dn= $dn;
index 1d5cefee532f4bdd4f55b1cffee8623d8cd8442d..ac194684bb0de7e588a47837541eec31ea7cf402 100644 (file)
/* get acl's an put them into the userinfo object
attr subtreeACL (userdn:components, userdn:component1#sub1#sub2,component2,...) */
- function userinfo(&$config, $userdn){
+ function __construct(&$config, $userdn){
$this->config= &$config;
$ldap= $this->config->get_ldap_link();
$ldap->cat($userdn,array('sn', 'givenName', 'uid', 'gidNumber', 'preferredLanguage', 'gosaUnitTag', 'gosaLoginRestriction'));
diff --git a/gosa-core/include/exporter/class_cvsExporter.inc b/gosa-core/include/exporter/class_cvsExporter.inc
index 5c7b07657cea62f4959b93fb6e07d22cea50ef7f..9f000a3a0f9bd4ff776256504ed158f99071afc7 100644 (file)
{
var $result;
- function csvExporter($headline, $header, $entries, $columns= array()) {
+ function __construct($headline, $header, $entries, $columns= array()) {
// If no preset, render all columns
if (!count($columns)) {
foreach ($header as $index => $dummy) {
diff --git a/gosa-core/include/exporter/class_pdfExporter.inc b/gosa-core/include/exporter/class_pdfExporter.inc
index d1c836e79e0296e0db033ac865126d856744bd59..14f9fffc732d21c682bec1632007ca9827a79dcf 100644 (file)
{
var $result;
- function pdfExporter($headline, $header, $entries, $columns= array()) {
+ function __construct($headline, $header, $entries, $columns= array()) {
// Bail out if no FPDF available
if(!class_exists('FPDF')) {
die(_("No PDF export possible: there is no FPDF library installed."));
diff --git a/gosa-core/include/password-methods/class_password-methods-clear.inc b/gosa-core/include/password-methods/class_password-methods-clear.inc
index 91d87d8dfc0788544e18894e717d5c768f19dd8c..a4c1d4333594d68619c44bcbb29323ea546c2d23 100644 (file)
{
var $lockable = FALSE;
- function passwordMethodClear($config)
- {
- }
-
- function is_available()
- {
- return true;
- }
-
-
- function generate_hash($pwd)
- {
- return $pwd;
- }
+ function __construct($config)
+ {
+ }
+
+ function is_available()
+ {
+ return true;
+ }
+
+
+ function generate_hash($pwd)
+ {
+ return $pwd;
+ }
function get_hash_name()
diff --git a/gosa-core/include/password-methods/class_password-methods-crypt.inc b/gosa-core/include/password-methods/class_password-methods-crypt.inc
index 62b1a084857a0b9d69d4006dfcd2a173bed3fed9..f7da6d1091e2663518b5eff2489783d00f774cb7 100644 (file)
class passwordMethodCrypt extends passwordMethod
{
- function passwordMethodCrypt($config)
+ function __construct($config)
{
}
diff --git a/gosa-core/include/password-methods/class_password-methods-md5.inc b/gosa-core/include/password-methods/class_password-methods-md5.inc
index 41903a14aac4f6d78f8e991a800bbfb05fe2a0e0..70a894e971983be99f0d937909ec16fdc8567fcf 100644 (file)
class passwordMethodMd5 extends passwordMethod
{
- function passwordMethodMd5($config)
+ function __construct($config)
{
}
diff --git a/gosa-core/include/password-methods/class_password-methods-sha.inc b/gosa-core/include/password-methods/class_password-methods-sha.inc
index 8d73b2557bb2c8d6836ed4c6ab803f54dca88861..19aaac34bb881a5470f9a19e9d4af429d289d2c0 100644 (file)
class passwordMethodsha extends passwordMethod
{
- function passwordMethodsha($config)
+ function __construct($config)
{
}
diff --git a/gosa-core/include/password-methods/class_password-methods-smd5.inc b/gosa-core/include/password-methods/class_password-methods-smd5.inc
index 135675d5fb74e698c3775a4103690b6b7f63993c..e444b41c56bbb4c40b4cf88fbeac13000c128ee6 100644 (file)
class passwordMethodsmd5 extends passwordMethod
{
- function passwordMethodsmd5($config)
+ function __construct($config)
{
}
diff --git a/gosa-core/include/password-methods/class_password-methods-ssha.inc b/gosa-core/include/password-methods/class_password-methods-ssha.inc
index 8c0b987b5109452f1381e4fc43f4f2c6eaf20381..104829249f6f6f18f467e5197ab06b1cb1830269 100644 (file)
class passwordMethodssha extends passwordMethod
{
- function passwordMethodssha($config)
+ function __construct($config)
{
}
diff --git a/gosa-core/include/password-methods/class_password-methods.inc b/gosa-core/include/password-methods/class_password-methods.inc
index cde47c38ee56f835040f0626c086058172ea29f1..d7b83519d2f977d8689d6e594ad733564dc26365 100644 (file)
var $lockable = TRUE;
// Konstructor
- function passwordMethod($config)
+ function __construct($config)
{
}
diff --git a/gosa-core/plugins/admin/acl/class_aclRole.inc b/gosa-core/plugins/admin/acl/class_aclRole.inc
index 5f96b0dea1bda890c2ce83412e2cc720995bafea..f61127f567f7db9de40ac7aa65ae2ee6b951441e 100644 (file)
var $orig_base;
var $base ="";
- function aclrole (&$config, $dn= NULL)
+ function __construct(&$config, $dn= NULL)
{
/* Include config object */
plugin::plugin($config, $dn);
diff --git a/gosa-core/plugins/admin/departments/class_department.inc b/gosa-core/plugins/admin/departments/class_department.inc
index 78e514f1e2af041e3b302cd4d85cb3c5cc4e9713..924e48c331551ebe0282e242892a5793bc2f826c 100644 (file)
var $orig_base = "";
var $orig_ou = "";
- function department (&$config, $dn)
+ function __construct(&$config, $dn)
{
/* Add the default structural obejct class 'locality' if this is a new entry
*/
diff --git a/gosa-core/plugins/admin/groups/class_groupGeneric.inc b/gosa-core/plugins/admin/groups/class_groupGeneric.inc
index c53844ae674d74a5290da7f68b5f21f906390a29..0cc181bdea582ea9f4c99308fb21a828347827dc 100644 (file)
var $multiple_support = TRUE;
- function group (&$config, $dn= NULL)
+ function __construct(&$config, $dn= NULL)
{
/* Set rfc2307bis flag */
if ($config->get_cfg_value("rfc2307bis") == "true"){
diff --git a/gosa-core/plugins/admin/ogroups/class_ogroup.inc b/gosa-core/plugins/admin/ogroups/class_ogroup.inc
index 995c51670d1e377749e4ce9bd5f1c0d72f76d083..73ff658c441532d56c9364977a7eb846bf697c67 100644 (file)
var $attributes= array("cn", "description", "gosaGroupObjects","member","accessTo","trustModel");
var $objectclasses= array("top", "gosaGroupOfNames");
- function ogroup (&$config, $dn= NULL)
+ function __construct(&$config, $dn= NULL)
{
plugin::plugin ($config, $dn);
$this->orig_dn= $dn;
diff --git a/gosa-core/plugins/generic/references/class_reference.inc b/gosa-core/plugins/generic/references/class_reference.inc
index d121b0b0c7bface60e20b305f62dda6026e54b93..17c75b838959c5549c92d5d5e5822e3e5fc48035 100644 (file)
var $fold= array();
var $objectCache= array();
- function reference (&$config, $dn= NULL)
+ function __construct(&$config, $dn= NULL)
{
/* Include config object */
$this->config= &$config;
diff --git a/gosa-core/plugins/personal/generic/class_user.inc b/gosa-core/plugins/personal/generic/class_user.inc
index 94f23a194be1ed74f4a782732e89dee53b915ec5..7d56a1297fe923afd26ddb5c1b8434a65cdd9e35 100644 (file)
/* constructor, if 'dn' is set, the node loads the given
'dn' from LDAP */
- function user (&$config, $dn= NULL)
+ function __construct(&$config, $dn= NULL)
{
global $lang;
diff --git a/gosa-core/plugins/personal/password/class_password.inc b/gosa-core/plugins/personal/password/class_password.inc
index f0b288b755dc085b9bacc7663fdae68ee3227623..f6793b8dd82908e9ae2c4c9b35b36f82e770c0f1 100644 (file)
var $plHeadline = "Password";
var $plDescription = "Change user password";
- function password(&$config, $dn= NULL, $parent= NULL)
+ function __construct(&$config, $dn= NULL, $parent= NULL)
{
plugin::plugin($config, $dn, $parent);
}
diff --git a/gosa-core/plugins/personal/posix/class_posixAccount.inc b/gosa-core/plugins/personal/posix/class_posixAccount.inc
index 2bd4f5fac4abff81c49ae30ed94df352ee296778..30afe202297539011b3e4db5142d0dc93860bc1c 100644 (file)
/* constructor, if 'dn' is set, the node loads the given
'dn' from LDAP */
- function posixAccount (&$config, $dn= NULL)
+ function __construct(&$config, $dn= NULL)
{
global $class_mapping;
index 4f7c68b326a3ad989cf71b732858535c4eb48dc8..41c57406482ae6a5426198cce9964f292caa94fc 100644 (file)
var $o_steps = array();
var $captured_values = array();
- function setup()
+ function __construct()
{
$i = 1;
$this->o_steps[$i++] = new Step_Welcome();
index 69977840fbdce088ef9e31f5b03d687e7f2d76d1..223f00e54a36e5d0206ce6b7a8344f9f824a3fb1 100644 (file)
var $parent = NULL;
var $dialog = FALSE;
- function setup_step()
+ function __construct()
{
}
diff --git a/gosa-core/setup/class_setupStep_Checks.inc b/gosa-core/setup/class_setupStep_Checks.inc
index d231c4025cf63a1cfd52db8d8a744147ea35dbf3..1774128235da20f4a941edecc60d922d7aa47862 100644 (file)
var $is_writeable = array();
var $header_image = "images/setup/system.png";
- function Step_Checks()
+ function __construct()
{
$this->update_strings();
}
diff --git a/gosa-core/setup/class_setupStep_Config1.inc b/gosa-core/setup/class_setupStep_Config1.inc
index 7d585f3d028cbe999c143209b1c13c14946585e2..32d6618f59bf0c0329a9d7fbc031e6075137bde5 100644 (file)
var $attributes = array("compressed","peopleou","groupou","peopledn","uidbase","encryption","theme","krbsasl",
"base_hook","base_hook_active","account_expiration","strict","include_personal_title");
- function Step_Config1()
+ function __construct()
{
$this->update_strings();
diff --git a/gosa-core/setup/class_setupStep_Config2.inc b/gosa-core/setup/class_setupStep_Config2.inc
index 1bf1d2ff5c13f3d81c4a7dbced193141a828edfb..05b07e5051d80511a959c7acb6df47ec07c71ece 100644 (file)
var $attributes = array("mail_attrib","governmentmode","sambaidmapping","cyrusunixstyle","mail","timezone");
var $called = FALSE;
- function Step_Config2()
+ function __construct()
{
$this->update_strings();
$this->mail_methods = $this->get_available_mail_classes();
diff --git a/gosa-core/setup/class_setupStep_Config3.inc b/gosa-core/setup/class_setupStep_Config3.inc
index 22cf4ad54d4941aa704dec4722f257abd9cbb116..8680f55b629336ee86e96e59d3df7e1d17ed13c7 100644 (file)
var $attributes = array("errorlvl");
- function Step_Config3()
+ function __construct()
{
$this->update_strings();
}
diff --git a/gosa-core/setup/class_setupStep_Feedback.inc b/gosa-core/setup/class_setupStep_Feedback.inc
index d655c2e5e79d756cc72786eff4b9e6db1af16df8..3a4154f0fadf335715c81ed89dd31846e1a32865 100644 (file)
"first_use","use_since","distribution","web_server","php_version","ldap_server","object_count","want_to_see_next");
- function Step_Feedback()
+ function __construct()
{
$this->is_enabled = TRUE;
$this->is_active = TRUE;
diff --git a/gosa-core/setup/class_setupStep_Finish.inc b/gosa-core/setup/class_setupStep_Finish.inc
index a64fbcd05923e6b33d260f267773b05c56558737..aab897755bf1db9c94af855795ce0ccb24782c73 100644 (file)
var $cfg_file_written = FALSE;
var $header_image = "images/setup/server.png";
- function Step_Finish()
+ function __construct()
{
$this->update_strings();
}
diff --git a/gosa-core/setup/class_setupStep_Language.inc b/gosa-core/setup/class_setupStep_Language.inc
index 47e8688780ff46f17a3fe1a8e8f692e1e6b41386..04bc1ca6a7f9a82c2120619aa15d5385a37d5dff 100644 (file)
var $attributes = array("lang","lang_selected");
var $header_image = "images/setup/locale.png";
- function Step_Language()
+ function __construct()
{
$this->lang = get_browser_language();
$this->lang_selected = "";
index 03525da833329b87746a20781aef3dcd88181401..3ec85e9c364f49c5c020221eb28ce33e888512ac 100644 (file)
var $header_image= "images/setup/ldap.png";
- function Step_Ldap()
+ function __construct()
{
$this->update_strings();
}
diff --git a/gosa-core/setup/class_setupStep_License.inc b/gosa-core/setup/class_setupStep_License.inc
index 9667e254bc559c886d05181d8c5ed6de07f57f91..09d480a9f79c01ba06e527fed647133d57150444 100644 (file)
var $attributes = array("accepted");
- function Step_License()
+ function __construct()
{
$this->update_strings();
}
diff --git a/gosa-core/setup/class_setupStep_Migrate.inc b/gosa-core/setup/class_setupStep_Migrate.inc
index eee96634b8a0a00639d281b519b2c7445f3e615b..f0b7e26a2c522ca6597ce47cd33d30f105c562e8 100644 (file)
var $rootOC_migrate_dialog = FALSE;
var $rootOC_details = array();
- function Step_Migrate()
+ function __construct()
{
$this->update_strings();
}
diff --git a/gosa-core/setup/class_setupStep_Schema.inc b/gosa-core/setup/class_setupStep_Schema.inc
index c4784593f6d927503cc4bad9b4534662807c0828..8779bccf5a0f679a1792333bdab91747f5428245 100644 (file)
var $found_ocs = 0;
- function Step_Schema()
+ function __construct()
{
$this->update_strings();
}
diff --git a/gosa-core/setup/class_setupStep_Welcome.inc b/gosa-core/setup/class_setupStep_Welcome.inc
index f5104f1a02e1705b57803ad9ad6ae7de0a0e77b8..48f6b2eefce3bcc9a1edae8cc654e196b03ac886 100644 (file)
var $attributes = array();
var $header_image = "images/setup/welcome.png";
- function Step_Welcome()
+ function __construct()
{
$this->is_enabled = TRUE;
$this->is_active = TRUE;