00001 <?php 00007 include_once("core/modules/moduleinformation/IModuleInfoPerms.class.php"); 00008 00013 class ModuleInfoIncPermission extends IModuleInfoPerms 00014 { 00015 var $perm; 00016 00017 /* The constructor. Gets an array and uses it to get the information */ 00018 function ModuleInfoIncPermission($perm) 00019 { 00020 $this->perm = $perm; 00021 } 00022 00023 function GetName() 00024 { 00025 return $this->perm["Name"]; 00026 } 00027 00028 function GetScreenNames() 00029 { 00030 return array($this->perm["ScreenName"]); 00031 } 00032 00033 function GetDescriptions() 00034 { 00035 return array(); 00036 } 00037 00038 } 00039 ?>