OpenSencillo  2016.106
Long live the simplicity of PHP
 All Data Structures Namespaces Files Functions Pages
url Class Reference

Public Member Functions

 url ($array=false)
 
 addUrl ($url, $template)
 
 removeUrl ($url)
 
 getPage ($page)
 
 breadcrumb ($page, $pageNames)
 

Protected Attributes

 $data
 

Detailed Description

Definition at line 12 of file url.management.urlman.php.

Member Function Documentation

addUrl (   $url,
  $template 
)

Add url

Parameters
stringrelative page url
stringfile template url

Definition at line 36 of file url.management.urlman.php.

breadcrumb (   $page,
  $pageNames 
)

Breadcrumb select

Parameters
stringfrom PAGE
array('ab/cd/ef'=>'Efpage')

$this->breadcrumb(PAGE,array('first'=>'My first page','first/second'=>'My second page','first/second/third'=>'My third page'));

Returns
array(0=>'Page name 0',1=>'Page name 1' ...)

Definition at line 69 of file url.management.urlman.php.

removeUrl (   $url)

Remove url

Parameters
string

Definition at line 45 of file url.management.urlman.php.

url (   $array = false)

Get url/urls

Parameters
bool
Returns
mixed

Definition at line 26 of file url.management.urlman.php.


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