API - XOOPS 2.5.11 Beta 2
By monxoops.fr
PathStuffController Class Reference

Public Member Functions

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

Data Fields

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

Constructor & Destructor Documentation

◆ __construct() [1/2]

__construct (   $xoopsPathDefault,
  $dataPath 
)
Parameters
$xoopsPathDefault
$dataPath
Here is the call graph for this function:

◆ __construct() [2/2]

__construct ( )

Member Function Documentation

◆ checkPath() [1/2]

checkPath (   $PATH = '')
Parameters
string$PATH
Returns
int
Here is the caller graph for this function:

◆ checkPath() [2/2]

checkPath (   $PATH = '')
Parameters
string$PATH
Returns
int

◆ checkPermissions() [1/2]

checkPermissions (   $path)
Parameters
$path
Returns
bool
Here is the call graph for this function:
Here is the caller graph for this function:

◆ checkPermissions() [2/2]

checkPermissions (   $path = 'data')
Parameters
string$path
Returns
bool
Here is the call graph for this function:

◆ execute() [1/2]

execute ( )
Here is the call graph for this function:

◆ execute() [2/2]

execute ( )
Returns
bool
Here is the call graph for this function:

◆ makeWritable() [1/2]

makeWritable (   $path,
  $create = true 
)

Write-enable the specified folder

Parameters
string$path
bool$create
Here is the caller graph for this function:

◆ makeWritable() [2/2]

makeWritable (   $path,
  $group = false,
  $create = true 
)

Write-enable the specified file/folder

Parameters
string$path
bool | string$group
bool$create

◆ readRequest() [1/2]

readRequest ( )
Here is the caller graph for this function:

◆ readRequest() [2/2]

readRequest ( )

◆ setPermission() [1/2]

setPermission (   $parent,
  $path,
$error 
)
Parameters
$parent
$path
$error
Returns
null
Here is the call graph for this function:
Here is the caller graph for this function:

◆ setPermission() [2/2]

setPermission (   $parent,
  $path,
$error 
)
Parameters
$parent
$path
$error
Returns
null
Here is the call graph for this function:

◆ validate() [1/2]

validate ( )
Returns
bool
Here is the call graph for this function:
Here is the caller graph for this function:

◆ validate() [2/2]

validate ( )
Returns
bool
Here is the call graph for this function:

Field Documentation

◆ $dataPath

$dataPath
Initial value:
= array(
'caches' => array(
'xoops_cache',
'smarty_cache',
'smarty_compile',
),
'configs' => array(
'captcha',
'textsanitizer',
),
'data' => null,
'protector' => null,
)

◆ $path_lookup

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

◆ $permErrors

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

◆ $validPath

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

◆ $validUrl

$validUrl = false

◆ $xoopsCookieDomain

$xoopsCookieDomain = ''

◆ $xoopsPath

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

◆ $xoopsPathDefault

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

◆ $xoopsUrl

$xoopsUrl = ''

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