DotKernel/admin/View.php

Properties

Description

DotBoost Technologies Inc.

DotKernel Application Framework


Classes

View

Properties

 
Admin  
No 
No 

Description

Admin View abstract over the Dot_Template class

Methods

_displayUserLoginsPiechart, addUserToken, displayMessage, displayWidgets, getInstance, init, paginator, resetRoot, setExtraBreadcrumb, setInfoBar, setSeoValues, setViewFile, setViewMenu, setViewPaths,

_displayUserLoginsPiechart( array   $widgetOption, ) : void

Description

Display the widget: User Login Piechart

Arguments

Name Type Description Default
$widgetOption array

Return value

Type Description
void

Tags

Name Description
access private

addUserToken( ) : array

Description

Add the user's token to the template

Return value

Type Description
array

Tags

Name Description
access public

displayMessage( bool   $ajax = FALSE, ) : void

Description

Display message - error, warning, info

Arguments

Name Type Description Default
$ajax bool [optional] - Using ajax, parse only the list content FALSE

Return value

Type Description
void

Tags

Name Description
access public

displayWidgets( Zend_Config   $value, ) : void

Description

Display widgets content

Arguments

Name Type Description Default
$value Zend_Config

Return value

Type Description
void

Tags

Name Description
access public

getInstance( string   $root = ., string   $unknowns = remove, array   $fallback, ) : Dot_Template

Description

Returns an instance of Dot_View Singleton pattern implementation

Arguments

Name Type Description Default
$root string Template root directory .
$unknowns string How to handle unknown variables remove
$fallback array Fallback paths

Return value

Type Description
Dot_Template

Tags

Name Description
access public
static

init( ) : void

Description

Initialize some parameter

Return value

Type Description
void

Tags

Name Description
access public

paginator(   $page, ) : string

Description

Create the pagination, based on how many data

Arguments

Name Type Description Default
$page n/a

Return value

Type Description
string

Tags

Name Description
access public

resetRoot( string   $root, ) : void

Description

Reset the Template root - from where the tpl files should be taken

Arguments

Name Type Description Default
$root string

Return value

Type Description
void

Tags

Name Description
access public

setExtraBreadcrumb(   $breadcrumb, ) : n/a

Arguments

Name Type Description Default
$breadcrumb n/a

Return value

Type Description
n/a n/a

setInfoBar( ) : void

Description

Display the info bar only if user is logged id

Return value

Type Description
void

Tags

Name Description
access public

setSeoValues( string   $pageTitle, ) : void

Description

Set SEO values

Arguments

Name Type Description Default
$pageTitle string [optional]

Return value

Type Description
void

Tags

Name Description
access public

setViewFile( ) : void

Description

Set the template file

Return value

Type Description
void

Tags

Name Description
access public

setViewMenu( ) : void

Description

Display the specific menu that was declared in configs/menu.xml file

Return value

Type Description
void

Tags

Name Description
access public

setViewPaths( ) : void

Description

Set different paths url(site, templates, images)

Return value

Type Description
void

Tags

Name Description
access public

Properties

$_instance,

  protected  static $_instance = null

Singleton instanceDot_Template


Documentation was generated by DocBlox.

Packages

  • Admin
    • Admin
      Admin Model Here are all the actions related to the user
    • Admin_View
      Admin View Class class that prepare output related to User controller
    • System
      System Model Here are all the actions related to the system settings
    • System_View
      System View Class class that prepare output related to User controller
    • User
      User Model Here are all the actions related to the user
    • User_View
      User View Class class that prepare output related to User controller
    • View
      Admin View abstract over the Dot_Template class
  • DotKernel
    • DotLibrary
    • Frontend
      • Page
        Page Model Dummy class, is not doing anything
      • Page
        Page Model Dummy class, is not doing anything yet
      • Page_View
        Page View Class functions that prepare output related to Page controller
      • User
        User Model Here are all the actions related to the user
      • User_View
        User View Class class that prepare output related to User controller
      • View
        View Model abstract over the Dot_Template class
    • Mobile
      • Page_View
        Page View Class functions that prepare output related to Page controller
      • View
        View Model abstract over the Dot_Template class
    • Rss
      • Sample
        Sample Model Here are all the actions related to the Sample
      • Sample_View
        Sample View Class
      • View
        View class - used for outputting rss content