XOOPS  2.6.0
XoopsPathController Class Reference

Public Member Functions

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

Public Attributes

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

Detailed Description

Definition at line 25 of file pathcontroller.php.

Constructor & Destructor Documentation

XoopsPathController::__construct (   $xoopsPathDefault,
  $dataPath 
)
Parameters
$xoopsPathDefault
$dataPath

Definition at line 85 of file pathcontroller.php.

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

Member Function Documentation

XoopsPathController::checkPath (   $PATH = '')

Definition at line 198 of file pathcontroller.php.

References $path.

Referenced by validate().

Here is the caller graph for this function:

XoopsPathController::checkPermissions (   $path)
Parameters
string$path
Returns
bool

Definition at line 254 of file pathcontroller.php.

References $path, and setPermission().

Referenced by validate().

Here is the call graph for this function:

Here is the caller graph for this function:

XoopsPathController::execute ( )
Returns
void

Definition at line 128 of file pathcontroller.php.

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

Here is the call graph for this function:

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

Write-enable the specified folder

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

Definition at line 283 of file pathcontroller.php.

References $info, and $path.

Referenced by setPermission().

Here is the caller graph for this function:

XoopsPathController::readRequest ( )
Returns
void

Definition at line 151 of file pathcontroller.php.

References $_SERVER.

Referenced by execute().

Here is the caller graph for this function:

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

Definition at line 228 of file pathcontroller.php.

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

Referenced by checkPermissions().

Here is the call graph for this function:

Here is the caller graph for this function:

XoopsPathController::validate ( )

Definition at line 174 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

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

Definition at line 44 of file pathcontroller.php.

Referenced by __construct().

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

Definition at line 53 of file pathcontroller.php.

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

Definition at line 77 of file pathcontroller.php.

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

Definition at line 65 of file pathcontroller.php.

XoopsPathController::$validUrl = false

Definition at line 72 of file pathcontroller.php.

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

Definition at line 30 of file pathcontroller.php.

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

Definition at line 37 of file pathcontroller.php.

Referenced by __construct().

XoopsPathController::$xoopsUrl = ''

Definition at line 60 of file pathcontroller.php.

Referenced by execute().


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