Squiz Matrix  4.12.2
 All Data Structures Namespaces Functions Variables Pages
package_manager_ldap.inc
1 <?php
17 require_once SQ_INCLUDE_PATH.'/package_manager.inc';
18 
32 {
33 
34 
40  {
41  $this->_full_path = SQ_PACKAGES_PATH.'/ldap';
42  $this->Package_Manager();
43 
44  }//end constructor
45 
46 
58  function checkPackageDetails($update_assets=Array())
59  {
60 
61  // include asset to get locales (if they have been generated yet)
62  $GLOBALS['SQ_SYSTEM']->lm->includePackageStrings($this->getPackageName());
63 
64  if (!function_exists('ldap_connect')) {
65  // just a friendly pointer
66  trigger_localised_error('LDAP0002', E_USER_WARNING);
67  }
68 
69  return parent::checkPackageDetails($update_assets);
70 
71  }//end checkPackageDetails()
72 
73 
74 }//end class
75 
76 ?>