ILIAS  release_5-2 Revision v5.2.25-18-g3f80b828510
ilWACSecurePath Class Reference

Class ilWACSecurePath. More...

+ Inheritance diagram for ilWACSecurePath:
+ Collaboration diagram for ilWACSecurePath:

Public Member Functions

 hasCheckingInstance ()
 
 getPath ()
 
 setPath ($path)
 
 getComponentDirectory ()
 
 setComponentDirectory ($component_directory)
 
 getCheckingClass ()
 
 setCheckingClass ($checking_class)
 
 setHasCheckingInstance ($has_checking_instance)
 
 getInSecFolder ()
 
 setInSecFolder ($in_sec_folder)
 
- Public Member Functions inherited from ActiveRecord
 getArConnector ()
 
 getArFieldList ()
 
 getConnectorContainerName ()
 
 setConnectorContainerName ($connector_container_name)
 
 getPrimaryFieldValue ()
 
 setPrimaryFieldValue ($value)
 
 __construct ($primary_key=0, arConnector $connector=null)
 
 storeObjectToCache ()
 
 __getConvertedDateFieldsAsArray ($format=null)
 
 __asCsv ($separator=';', $header=false)
 
 __asArray ()
 
 __asStdClass ()
 
 __asSerializedObject ()
 
 buildFromArray (array $array)
 
 fixDateField ($field_name, $value)
 
 sleep ($field_name)
 
 wakeUp ($field_name, $field_value)
 
 getArrayForDb ()
 
 getArrayForConnector ()
 
 installConnector ()
 
 store ()
 
 save ()
 
 create ()
 
 copy ($new_id=0)
 
 afterObjectLoad ()
 
 read ()
 
 update ()
 
 delete ()
 
 __call ($name, $arguments)
 

Static Public Member Functions

static returnDbTableName ()
 
- Static Public Member Functions inherited from ActiveRecord
static returnDbTableName ()
 
static installDB ()
 
static renameDBField ($old_name, $new_name)
 
static tableExists ()
 
static fieldExists ($field_name)
 
static removeDBField ($field_name)
 
static updateDB ()
 
static resetDB ()
 
static truncateDB ()
 
static flushDB ()
 
static preloadObjects ()
 
static additionalParams (array $additional_params)
 
static findOrFail ($primary_key, array $add_constructor_args=array())
 Tries to find the object and throws an Exception if object is not found, instead of returning null. More...
 
static findOrGetInstance ($primary_key, array $add_constructor_args=array())
 
static where ($where, $operator=null)
 
static innerjoinAR (ActiveRecord $ar, $on_this, $on_external, $fields=array(' *'), $operator='=', $both_external=false)
 
static innerjoin ($tablename, $on_this, $on_external, $fields=array(' *'), $operator='=', $both_external=false)
 
static leftjoin ($tablename, $on_this, $on_external, $fields=array(' *'), $operator='=', $both_external=false)
 
static orderBy ($orderBy, $orderDirection='ASC')
 
static dateFormat ($date_format='d.m.Y - H:i:s')
 
static limit ($start, $end)
 
static affectedRows ()
 
static count ()
 
static get ()
 
static debug ()
 
static first ()
 
static getCollection ()
 
static last ()
 
static getFirstFromLastQuery ()
 
static connector (arConnector $connector)
 
static raw ($set_raw=true)
 
static getArray ($key=null, $values=null)
 
static _toCamelCase ($str, $capitalise_first_char=false)
 

Protected Attributes

 $path = ''
 
 $component_directory = ''
 
 $checking_class = ''
 
 $in_sec_folder = false
 
 $has_checking_instance = false
 
- Protected Attributes inherited from ActiveRecord
 $ar_safe_read = true
 
 $connector_container_name = ''
 

Additional Inherited Members

- Data Fields inherited from ActiveRecord
const ACTIVE_RECORD_VERSION = '2.0.7'
 
- Protected Member Functions inherited from ActiveRecord
 serializeToCSV ($field)
 This method is called for every field of your instance if you use __asCsv. More...
 
 installDatabase ()
 
- Static Protected Member Functions inherited from ActiveRecord
static getCalledClass ()
 
static fromCamelCase ($str)
 

Detailed Description

Class ilWACSecurePath.

Author
Fabian Schmid fs@st.nosp@m.uder.nosp@m.-raim.nosp@m.ann..nosp@m.ch
Version
1.0.0

Definition at line 10 of file class.ilWACSecurePath.php.

Member Function Documentation

◆ getCheckingClass()

ilWACSecurePath::getCheckingClass ( )
Returns
string

Definition at line 137 of file class.ilWACSecurePath.php.

References $checking_class.

137  {
138  return $this->checking_class;
139  }

◆ getComponentDirectory()

ilWACSecurePath::getComponentDirectory ( )
Returns
string

Definition at line 119 of file class.ilWACSecurePath.php.

119  {
120  preg_match("/[\\\|\\/](Services|Modules|Customizing)[\\\|\\/].*/u", $this->component_directory, $matches);
121 
122  return '.' . $matches[0];
123  }

◆ getInSecFolder()

ilWACSecurePath::getInSecFolder ( )
Returns
string

Definition at line 161 of file class.ilWACSecurePath.php.

References $in_sec_folder.

161  {
162  return $this->in_sec_folder;
163  }

◆ getPath()

ilWACSecurePath::getPath ( )
Returns
string

Definition at line 103 of file class.ilWACSecurePath.php.

References $path.

103  {
104  return $this->path;
105  }

◆ hasCheckingInstance()

ilWACSecurePath::hasCheckingInstance ( )
Returns
bool

Definition at line 55 of file class.ilWACSecurePath.php.

References $has_checking_instance.

55  {
57  }

◆ returnDbTableName()

static ilWACSecurePath::returnDbTableName ( )
static
Returns
string Return the Name of your Database Table
Deprecated:

Definition at line 17 of file class.ilWACSecurePath.php.

References ilWACLog\getInstance(), ilWACPath\getModuleType(), and ilWACPath\getSecurePathId().

17  {
18  return 'il_wac_secure_path';
19  }
+ Here is the call graph for this function:

◆ setCheckingClass()

ilWACSecurePath::setCheckingClass (   $checking_class)
Parameters
string$checking_class

Definition at line 145 of file class.ilWACSecurePath.php.

References $checking_class.

145  {
146  $this->checking_class = $checking_class;
147  }

◆ setComponentDirectory()

ilWACSecurePath::setComponentDirectory (   $component_directory)
Parameters
string$component_directory

Definition at line 129 of file class.ilWACSecurePath.php.

References $component_directory.

129  {
130  $this->component_directory = $component_directory;
131  }

◆ setHasCheckingInstance()

ilWACSecurePath::setHasCheckingInstance (   $has_checking_instance)
Parameters
boolean$has_checking_instance

Definition at line 153 of file class.ilWACSecurePath.php.

References $has_checking_instance.

153  {
154  $this->has_checking_instance = $has_checking_instance;
155  }

◆ setInSecFolder()

ilWACSecurePath::setInSecFolder (   $in_sec_folder)
Parameters
string$in_sec_folder

Definition at line 169 of file class.ilWACSecurePath.php.

References $in_sec_folder.

169  {
170  $this->in_sec_folder = $in_sec_folder;
171  }

◆ setPath()

ilWACSecurePath::setPath (   $path)
Parameters
string$path

Definition at line 111 of file class.ilWACSecurePath.php.

References $path.

111  {
112  $this->path = $path;
113  }

Field Documentation

◆ $checking_class

ilWACSecurePath::$checking_class = ''
protected

Definition at line 85 of file class.ilWACSecurePath.php.

Referenced by getCheckingClass(), and setCheckingClass().

◆ $component_directory

ilWACSecurePath::$component_directory = ''
protected

Definition at line 77 of file class.ilWACSecurePath.php.

Referenced by setComponentDirectory().

◆ $has_checking_instance

ilWACSecurePath::$has_checking_instance = false
protected

Definition at line 97 of file class.ilWACSecurePath.php.

Referenced by hasCheckingInstance(), and setHasCheckingInstance().

◆ $in_sec_folder

ilWACSecurePath::$in_sec_folder = false
protected

Definition at line 93 of file class.ilWACSecurePath.php.

Referenced by getInSecFolder(), and setInSecFolder().

◆ $path

ilWACSecurePath::$path = ''
protected

Definition at line 69 of file class.ilWACSecurePath.php.

Referenced by getPath(), and setPath().


The documentation for this class was generated from the following file: