Ubiquity 2.5.2
php rapid development framework
Loading...
Searching...
No Matches
SeoController Class Reference
+ Inheritance diagram for SeoController:

Public Member Functions

 index ()
 Default action.
 
 _refresh ()
 
 getPath ()
 
 _save ($array)
 
 _getArrayUrls ()
 
 _getUrlsFilename ()
 
 _getSeoTemplateFilename ()
 
- Public Member Functions inherited from Controller
 __construct ()
 Constructor initialize $view variable.
 
 initialize ()
 Method called before each action Can be override in derived class.
 
 finalize ()
 Method called after each action Can be override in derived class.
 
 loadView (string $viewName, $pData=null, bool $asString=false)
 Loads the view $viewName possibly passing the variables $pdata.
 
 loadDefaultView ($pData=null, bool $asString=false)
 Loads the default view (controllerName/actionName) possibly passing the variables $pdata.
 
 getDefaultViewName ()
 Returns the default view name for this controller/action i.e ControllerName/actionName.html for the action actionName in ControllerName If there is an activeTheme @activeTheme/ControllerName/actionName.html
 
 isValid ($action)
 Returns True if access to the controller is allowed To be override in sub classes.
 
 onInvalidControl ()
 Called if isValid () returns false To be override in sub classes.
 
 forward (string $controller, string $action='index', $params=[], bool $initialize=false, bool $finalize=false)
 Loads the controller $controller and calls its $action method by passing the parameters $params.
 
 redirectToRoute (string $routeName, $parameters=[], bool $initialize=false, bool $finalize=false)
 Redirect to a route by its name.
 
 getView ()
 Returns the associated view instance.
 

Static Public Member Functions

static getUrlsFileName ($urlsKey)
 

Data Fields

const SEO_PREFIX = 'seo'
 

Protected Attributes

 $urlsKey = 'urls'
 
 $seoTemplateFilename = '@framework/Seo/sitemap.xml.html'
 
- Protected Attributes inherited from Controller
View $view
 

Detailed Description

Definition at line 12 of file SeoController.php.

Member Function Documentation

◆ _getArrayUrls()

_getArrayUrls ( )

Definition at line 42 of file SeoController.php.

◆ _getSeoTemplateFilename()

_getSeoTemplateFilename ( )
Returns
string

Definition at line 66 of file SeoController.php.

◆ _getUrlsFilename()

_getUrlsFilename ( )
Returns
string

Definition at line 54 of file SeoController.php.

◆ _refresh()

_refresh ( )

Definition at line 30 of file SeoController.php.

◆ _save()

_save (   $array)

Definition at line 38 of file SeoController.php.

◆ getPath()

getPath ( )

Definition at line 33 of file SeoController.php.

◆ getUrlsFileName()

static getUrlsFileName (   $urlsKey)
static

Definition at line 58 of file SeoController.php.

◆ index()

index ( )

Default action.

Reimplemented from Controller.

Definition at line 17 of file SeoController.php.

Field Documentation

◆ $seoTemplateFilename

$seoTemplateFilename = '@framework/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: