Class jSignificantUrlsCompiler

Description

Implements interfaces:

Compiler for significant url engine

Located in /plugins/urls/significant/jSignificantUrlsCompiler.class.php (line 52)


	
			
Variable Summary
Method Summary
void appendUrlInfo (significantUrlInfoParsing $u, string $path,  $secondaryAction)
void compile ( $aSelector)
string extractDynamicParams (simpleXmlElement $url, string $regexppath, significantUrlInfoParsing $u)
void getEntryPointConfig ( $entrypoint)
void newHandler (significantUrlInfoParsing $u, simpleXmlElement $url, [ $pathinfo = ''])
void readInclude (simpleXmlElement $url, significantUrlInfoParsing $uInfo)
void readProjectXml ()
void retrieveModulePaths (string $configFile)
Variables
mixed $checkHttps = true (line 59)
  • access: protected
mixed $createUrlContent (line 58)
  • access: protected
mixed $createUrlInfos (line 57)
  • access: protected
mixed $defaultUrl (line 55)
  • access: protected
mixed $entryPoints = array() (line 319)

list all entry points and their config

  • access: protected
mixed $modulesPath = array() (line 329)

list all modules path

  • access: protected
mixed $modulesRepositories = array() (line 324)

list all modules repository

  • access: protected
mixed $parseInfos (line 56)
  • access: protected
mixed $requestType (line 54)
  • access: protected
mixed $typeparam = array('string'=>'([^\/]+)','char'=>'([^\/])', 'letter'=>'(\w)',
'number'=>'(\d+)', 'int'=>'(\d+)', 'integer'=>'(\d+)', 'digit'=>'(\d)',
'date'=>'([0-2]\d{3}\-(?:0[1-9]|1[0-2])\-(?:[0-2][1-9]|3[0-1]))',
'year'=>'([0-2]\d{3})', 'month'=>'(0[1-9]|1[0-2])', 'day'=>'([0-2][1-9]|[1-2]0|3[0-1])',
'path'=>'(.*)'
)
(line 61)
  • access: protected
Methods
appendUrlInfo (line 475)

register the given url informations

  • access: protected
void appendUrlInfo (significantUrlInfoParsing $u, string $path,  $secondaryAction)
compile (line 71)
  • access: public
void compile ( $aSelector)
  • $aSelector

Implementation of:
jISimpleCompiler::compile()
parse the given file, and store the result in a cache file
extractDynamicParams (line 415)

extract all dynamic parts of a pathinfo

  • return: the correponding regular expression
  • access: protected
string extractDynamicParams (simpleXmlElement $url, string $regexppath, significantUrlInfoParsing $u)
getEntryPointConfig (line 309)
  • access: protected
void getEntryPointConfig ( $entrypoint)
  • $entrypoint
newHandler (line 371)
  • access: protected
void newHandler (significantUrlInfoParsing $u, simpleXmlElement $url, [ $pathinfo = ''])
readInclude (line 495)
  • access: protected
void readInclude (simpleXmlElement $url, significantUrlInfoParsing $uInfo)
readProjectXml (line 298)
  • access: protected
void readProjectXml ()
retrieveModulePaths (line 338)

since urls.xml declare all entrypoints, current entry point does not have access to all modules, so doesn't know all their paths.

this method retrieve all module paths declared in the configuration of an entry point or the global configuration

  • access: protected
void retrieveModulePaths (string $configFile)
  • string $configFile: the config file name

Documentation generated on Wed, 24 Sep 2014 22:02:12 +0200 by phpDocumentor 1.4.3