Ubiquity 2.5.2
php rapid development framework
Loading...
Searching...
No Matches
UrlParser Class Reference

Public Member Functions

 getConfig ()
 
 __construct ()
 
 parse ()
 
 parseArray ($array, $existing=true)
 
 getUrls ()
 

Static Public Member Functions

static getLastModified ($controller, $action)
 

Static Public Attributes

static $frequencies = [ 'always','hourly','daily','weekly','monthly','yearly','never' ]
 

Protected Member Functions

 parseUrl ($path, $route)
 

Private Attributes

 $urls
 
 $config
 

Detailed Description

Definition at line 10 of file UrlParser.php.

Constructor & Destructor Documentation

◆ __construct()

__construct ( )

Definition at line 23 of file UrlParser.php.

Member Function Documentation

◆ getConfig()

getConfig ( )
Returns
mixed

Definition at line 19 of file UrlParser.php.

◆ getLastModified()

static getLastModified (   $controller,
  $action 
)
static

Definition at line 62 of file UrlParser.php.

◆ getUrls()

getUrls ( )
Returns
array

Definition at line 89 of file UrlParser.php.

◆ parse()

parse ( )

Definition at line 28 of file UrlParser.php.

◆ parseArray()

parseArray (   $array,
  $existing = true 
)

Definition at line 39 of file UrlParser.php.

◆ parseUrl()

parseUrl (   $path,
  $route 
)
protected

Definition at line 45 of file UrlParser.php.

Field Documentation

◆ $config

$config
private

Definition at line 13 of file UrlParser.php.

◆ $frequencies

$frequencies = [ 'always','hourly','daily','weekly','monthly','yearly','never' ]
static

Definition at line 11 of file UrlParser.php.

◆ $urls

$urls
private

Definition at line 12 of file UrlParser.php.


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