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 $createUrlContent (line 58)
  • access: protected
mixed $createUrlInfos (line 57)
  • access: protected
mixed $defaultUrl (line 55)
  • access: protected
mixed $entryPoints = array() (line 308)

list all entry points and their config

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

list all modules path

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

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])'
)
(line 60)
  • access: protected
Methods
appendUrlInfo (line 457)

register the given url informations

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

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

extract all dynamic parts of a pathinfo

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

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 Thu, 19 Sep 2013 00:07:27 +0200 by phpDocumentor 1.4.3