Public Member Functions | Public Attributes

BeurlHelper Class Reference

Url helper class. More...

Inheritance diagram for BeurlHelper:
AppHelper

List of all members.

Public Member Functions

 here ()
 get current page url
 getUrl ($cleanFromFields=null)
 get url to here
 addModuleScripts ()
 add css and js scripts for modules
 pageTitle ()
 build backend page title following this schema:

Public Attributes

 $helpers = array('Html','Javascript','Tr')

Detailed Description

Url helper class.

Version:
$Revision$ $LastChangedBy$ $LastChangedDate$

$Id$

Definition at line 31 of file beurl.php.


Member Function Documentation

BeurlHelper::addModuleScripts (  ) 

add css and js scripts for modules

Returns:
string html

Definition at line 90 of file beurl.php.

BeurlHelper::getUrl ( cleanFromFields = null  ) 

get url to here

Parameters:
mixed string|array $cleanFromFields, field or array of fields passed by name that you want to clean in url
Returns:
string url

Definition at line 60 of file beurl.php.

BeurlHelper::here (  ) 

get current page url

Returns:
string url

Definition at line 44 of file beurl.php.

BeurlHelper::pageTitle (  ) 

build backend page title following this schema:

1. dashboard => project-name | BEdita 2. module index => module-name | project-name | BEdita 3. module object detail (view* action) => object-title (or new item) | module-name | project-name | BEdita 4. other module pages => controller-action | module-name | project-name | BEdita

Publications module (areas) is an exception and also in index action it behaves as in view* action

Returns:
string

Definition at line 170 of file beurl.php.


The documentation for this class was generated from the following file:
Generated on Fri Dec 11 2015 15:29:46 by Doxygen 1.7.1  BEditaBEdita 3.7 Corylus