eZPublish  3.9
access.php File Reference

Functions

 accessAllowed ($uri)
 
 accessDebugEnabled ()
 
 accessExtraDebugEnabled ()
 
 accessMatchRegexp (&$text, $reg, $num)
 
 accessMatchText (&$text, $match_pre, $match_post)
 
 accessType (&$uri, $host, $port, $file)
 
 changeAccess ($access)
 
 precheckAllowed (&$prechecks)
 

Variables

const EZ_ACCESS_SUBTYPE_POST 2
 
const EZ_ACCESS_SUBTYPE_PRE 1
 
const EZ_ACCESS_TYPE_DEFAULT 1
 
const EZ_ACCESS_TYPE_HTTP_HOST 4
 
const EZ_ACCESS_TYPE_INDEX_FILE 5
 
const EZ_ACCESS_TYPE_PORT 3
 
const EZ_ACCESS_TYPE_SERVER_VAR 7
 
const EZ_ACCESS_TYPE_STATIC 6
 
const EZ_ACCESS_TYPE_URI 2
 
const EZ_ACCESS_TYPE_URL 8
 

Function Documentation

accessAllowed (   $uri)

Referenced by eZModuleOperator\modify().

accessDebugEnabled ( )

Referenced by changeAccess().

accessExtraDebugEnabled ( )
accessMatchRegexp ( $text,
  $reg,
  $num 
)

Referenced by accessType().

accessMatchText ( $text,
  $match_pre,
  $match_post 
)

Referenced by accessType().

accessType ( $uri,
  $host,
  $port,
  $file 
)

Goes trough the access matching rules and returns the access match. The returned match is an associative array with name and type.

changeAccess (   $access)

Changes the site access to what's defined in $access. It will change the access path in eZSys and prepend an override dir to eZINI

Parameters
$accessAn associative array consisting of name and type.
Returns
the $access parameter.

Referenced by eZCheckValidity(), eZScript\initialize(), and eZWebDAVContentServer\setCurrentSite().

precheckAllowed ( $prechecks)

Referenced by eZHandlePreChecks().

Variable Documentation

const EZ_ACCESS_SUBTYPE_POST 2
const EZ_ACCESS_SUBTYPE_PRE 1
const EZ_ACCESS_TYPE_DEFAULT 1

Referenced by accessType(), and eZScript\initialize().

const EZ_ACCESS_TYPE_HTTP_HOST 4

Referenced by accessType().

const EZ_ACCESS_TYPE_INDEX_FILE 5

Referenced by accessType().

const EZ_ACCESS_TYPE_PORT 3

Referenced by accessType().

const EZ_ACCESS_TYPE_SERVER_VAR 7

Referenced by accessType().

const EZ_ACCESS_TYPE_STATIC 6
const EZ_ACCESS_TYPE_URL 8