Ubiquity  2.0.0
php rapid development framework
SeoController Class Reference
+ Inheritance diagram for SeoController:

Public Member Functions

 index ()
 
 _refresh ()
 
 _save ($array)
 
 _getArrayUrls ()
 
 _getUrlsFilename ()
 
 _getSeoTemplateFilename ()
 
- Public Member Functions inherited from Controller
 index ()
 Default action. More...
 
 __construct ()
 Constructor
Automatically invokes the isValid () method to check if access is allowed. More...
 
 initialize ()
 Method called before each action Can be override in derived class. More...
 
 finalize ()
 Method called after each action Can be override in derived class. More...
 
 loadView ($viewName, $pData=NULL, $asString=false)
 Loads the view $viewName possibly passing the variables $pdata. More...
 
 isValid ()
 Returns True if access to the controller is allowed To be override in sub classes. More...
 
 onInvalidControl ()
 Called if isValid () returns false
To be override in sub classes. More...
 
 forward ($controller, $action="index", $params=array(), $initialize=false, $finalize=false)
 Loads the controller $controller and calls its $action method by passing the parameters $params. More...
 
 redirectToRoute ($routeName, $parameters=[], $initialize=false, $finalize=false)
 Redirect to a route by its name. More...
 

Data Fields

const SEO_PREFIX ="seo"
 

Protected Attributes

 $urlsKey ="urls"
 
 $seoTemplateFilename ="Seo/sitemap.xml.html"
 
- Protected Attributes inherited from Controller
 $view
 

Detailed Description

Definition at line 12 of file SeoController.php.

Member Function Documentation

◆ _getArrayUrls()

_getArrayUrls ( )

Definition at line 37 of file SeoController.php.

◆ _getSeoTemplateFilename()

_getSeoTemplateFilename ( )
Returns
string

Definition at line 57 of file SeoController.php.

◆ _getUrlsFilename()

_getUrlsFilename ( )
Returns
string

Definition at line 49 of file SeoController.php.

◆ _refresh()

_refresh ( )

Definition at line 30 of file SeoController.php.

◆ _save()

_save (   $array)

Definition at line 33 of file SeoController.php.

◆ index()

index ( )

Definition at line 17 of file SeoController.php.

Field Documentation

◆ $seoTemplateFilename

$seoTemplateFilename ="Seo/sitemap.xml.html"
protected

Definition at line 15 of file SeoController.php.

◆ $urlsKey

$urlsKey ="urls"
protected

Definition at line 14 of file SeoController.php.

◆ SEO_PREFIX

const SEO_PREFIX ="seo"

Definition at line 13 of file SeoController.php.


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