XOOPS 2.5.6  Final
 All Classes Namespaces Files Functions Variables Pages
PathStuffController Class Reference

Public Member Functions

 checkPath ($PATH= '')
 
 checkPermissions ($path)
 
 execute ()
 
 makeWritable ($path, $create=true)
 
 PathStuffController ($xoopsPathDefault, $dataPath)
 
 readRequest ()
 
 setPermission ($parent, $path, &$error)
 
 validate ()
 

Public Attributes

 $dataPath
 
 $path_lookup
 
 $permErrors
 
 $validPath
 
 $validUrl = false
 
 $xoopsPath
 
 $xoopsPathDefault
 
 $xoopsUrl = ''
 

Detailed Description

Definition at line 18 of file pathcontroller.php.

Member Function Documentation

PathStuffController::checkPath (   $PATH = '')

Definition at line 161 of file pathcontroller.php.

References $path, and $ret.

Referenced by validate().

Here is the caller graph for this function:

PathStuffController::checkPermissions (   $path)

Definition at line 211 of file pathcontroller.php.

References $errors, $path, and setPermission().

Referenced by validate().

Here is the call graph for this function:

Here is the caller graph for this function:

PathStuffController::execute ( )

Definition at line 99 of file pathcontroller.php.

References $_SERVER, $_SESSION, $GLOBALS, $xoopsUrl, readRequest(), and validate().

Here is the call graph for this function:

PathStuffController::makeWritable (   $path,
  $create = true 
)

Write-enable the specified folder

Parameters
string$path
bool$recurse
Returns
false on failure, method (u-ser,g-roup,w-orld) on success

Definition at line 241 of file pathcontroller.php.

References $path.

Referenced by setPermission().

Here is the caller graph for this function:

PathStuffController::PathStuffController (   $xoopsPathDefault,
  $dataPath 
)

Definition at line 61 of file pathcontroller.php.

References $_SESSION, $dataPath, $GLOBALS, $path, and $xoopsPathDefault.

PathStuffController::readRequest ( )

Definition at line 116 of file pathcontroller.php.

References $_POST, and $_SERVER.

Referenced by execute().

Here is the caller graph for this function:

PathStuffController::setPermission (   $parent,
  $path,
$error 
)

Definition at line 191 of file pathcontroller.php.

References $error, $path, and makeWritable().

Referenced by checkPermissions().

Here is the call graph for this function:

Here is the caller graph for this function:

PathStuffController::validate ( )

Definition at line 139 of file pathcontroller.php.

References $path, $status, checkPath(), and checkPermissions().

Referenced by execute().

Here is the call graph for this function:

Here is the caller graph for this function:

Member Data Documentation

PathStuffController::$dataPath
Initial value:
= array(
'caches' => array(
'xoops_cache',
'smarty_cache',
'smarty_compile',
),
'configs',
)

Definition at line 31 of file pathcontroller.php.

Referenced by PathStuffController().

PathStuffController::$path_lookup
Initial value:
= array(
'root' => 'ROOT_PATH',
'data' => 'VAR_PATH',
'lib' => 'PATH',
)

Definition at line 40 of file pathcontroller.php.

PathStuffController::$permErrors
Initial value:
= array(
'root' => null,
'data' => null,
)

Definition at line 56 of file pathcontroller.php.

PathStuffController::$validPath
Initial value:
= array(
'root' => 0,
'data' => 0,
'lib' => 0,
)

Definition at line 48 of file pathcontroller.php.

PathStuffController::$validUrl = false

Definition at line 54 of file pathcontroller.php.

PathStuffController::$xoopsPath
Initial value:
= array(
'root' => '',
'lib' => '',
'data' => '',
)

Definition at line 20 of file pathcontroller.php.

PathStuffController::$xoopsPathDefault
Initial value:
= array(
'lib' => 'xoops_lib',
'data' => 'xoops_data',
)

Definition at line 26 of file pathcontroller.php.

Referenced by PathStuffController().

PathStuffController::$xoopsUrl = ''

Definition at line 46 of file pathcontroller.php.

Referenced by execute().


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