ILIAS  release_6 Revision v6.24-5-g0c8bfefb3b8
All Data Structures Namespaces Files Functions Variables Modules Pages
ilWebDAVMountInstructionsDocumentContentValidator Class Reference
+ Collaboration diagram for ilWebDAVMountInstructionsDocumentContentValidator:

Public Member Functions

 checkMountInstructionsContent (string $a_raw_mount_instructions)
 
 checkForNecessaryTextPlaceholders (string $a_raw_mount_instructions)
 Checks if necessary placeholders are in the mount instructions. More...
 
 checkIfPlaceholderIsBetweenOtherPlaceholders ()
 

Protected Attributes

 $necessary_text_placeholders
 

Detailed Description

Member Function Documentation

◆ checkForNecessaryTextPlaceholders()

ilWebDAVMountInstructionsDocumentContentValidator::checkForNecessaryTextPlaceholders ( string  $a_raw_mount_instructions)

Checks if necessary placeholders are in the mount instructions.

Parameters
string$a_raw_mount_instructions
Returns
bool

Definition at line 21 of file class.ilWebDAVMountInstructionsDocumentContentValidator.php.

21  : bool
22  {
23  foreach ($this->necessary_text_placeholders as $necessary_text_placeholder) {
24  if (strstr($a_raw_mount_instructions, "[$necessary_text_placeholder]")) {
25  return false;
26  }
27  }
28 
29  return false;
30  }

◆ checkIfPlaceholderIsBetweenOtherPlaceholders()

ilWebDAVMountInstructionsDocumentContentValidator::checkIfPlaceholderIsBetweenOtherPlaceholders ( )

Definition at line 32 of file class.ilWebDAVMountInstructionsDocumentContentValidator.php.

32  : bool
33  {
34  return false;
35  }

◆ checkMountInstructionsContent()

ilWebDAVMountInstructionsDocumentContentValidator::checkMountInstructionsContent ( string  $a_raw_mount_instructions)

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

10  : bool
11  {
12  return false;
13  }

Field Documentation

◆ $necessary_text_placeholders

ilWebDAVMountInstructionsDocumentContentValidator::$necessary_text_placeholders
protected
Initial value:
= array(
'WEBFOLDER_TITLE', 'WEBFOLDER_URI_HTTP', 'WEBFOLDER_URI_KONQUEROR', 'WEBFOLDER_URI_NAUTILUS'
)

Definition at line 6 of file class.ilWebDAVMountInstructionsDocumentContentValidator.php.


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