4 require_once
'./Services/ActiveRecord/class.ActiveRecord.php';
5 require_once
'./Services/WebAccessChecker/class.ilWACException.php';
23 return 'il_wac_secure_path';
38 public static function getCheckingInstance(
ilWACPath $ilWACPath)
48 $secure_path_checking_class = $obj->getComponentDirectory() .
'/classes/class.' . $obj->getCheckingClass() .
'.php';
49 if (!file_exists($secure_path_checking_class)) {
53 require_once($secure_path_checking_class);
54 $class_name = $obj->getCheckingClass();
56 return new $class_name();
70 return !is_null($obj);
138 assert(is_string(
$path));
148 preg_match(
"/[\\\|\\/](Services|Modules|Customizing)[\\\|\\/].*/u", $this->component_directory, $matches);
150 return (
string)
'.' . $matches[0];
setInSecFolder($in_sec_folder)
setComponentDirectory($component_directory)
setCheckingClass($checking_class)
static returnDbTableName()
setHasCheckingInstance($has_checking_instance)
static hasCheckingInstanceRegistered(ilWACPath $ilWACPath)
Searches a checking instance for the given wac path.