Admin
[ class tree: Admin ] [ index: Admin ] [ all elements ]

Class: System_View

Source Location: /DotKernel/admin/views/SystemView.php

Class Overview

Dot_Template
   |
   --View
      |
      --System_View

System View Class


Author(s):

Methods


Inherited Variables

Inherited Methods

Class: View

View::displayMessage()
Display message - error, warning, info
View::getInstance()
Returns an instance of Dot_View
View::init()
Initalize some parameter
View::paginator()
Create the pagination, based on how many data
View::setInfoBar()
Display the info bar only if user is logged id
View::setSeoValues()
Set SEO values
View::setViewFile()
Set the template file
View::setViewMenu()
Display the specific menu that were declared in configs/menu.
View::setViewPaths()
Set different paths url(site, templates, images)

Class: Dot_Template

Dot_Template::__construct()
Singleton pattern implementation makes 'new' unavailable
Dot_Template::endTimer()
Return the end time
Dot_Template::exists()
Inspired From PEAR HTML_Template_PHPLIB 1. Checks if the given variable exists.
Dot_Template::filename()
When called with a relative pathname, this function will return the pathname with $this->root prepended.
Dot_Template::finish()
Returns the finished version of $str.
Dot_Template::get()
Returns the finished version of the value of the variable named by $varname.
Dot_Template::getInstance()
Returns an instance of Dot_View
Dot_Template::getLastError()
Returns the last error message if any
Dot_Template::getUndefined()
Returns a hash of unresolved variable names in $varname, keyed by their names (that is, the hash has the form $a[$name] = $name).
Dot_Template::getVar()
Returns the value of the variable named by $varname.
Dot_Template::getVars()
Returns an associative array of all defined variables with the name as the key and the value of the variable as the value.
Dot_Template::halt()
Is called whenever an error occurs and will handle the error according to the policy defined in $this->haltOnError. in $this->lastError.
Dot_Template::haltMsg()
Prints an error message.
Dot_Template::initBlock()
Initialize a block A variable $parent may contain a variable block defined by: <!-- BEGIN $varname --> content <!-- END $varname -->.
Dot_Template::initVar()
Initialize the value of a variable.
Dot_Template::loadFile()
If a variable's value is undefined and the variable has a filename stored in $this->file[$varname] then the backing file will be loaded and the file's contents will be assigned as the variable's value.
Dot_Template::p()
Prints the finished version of the value of the variable named by $varname.
Dot_Template::parse()
Substitutes the values of all defined variables in the variable named $varname and stores or appends the result in the variable named $target.
Dot_Template::pparse()
This is shorthand for print $this->parse(.
Dot_Template::psubst()
This is shorthand for print $this->subst($varname).
Dot_Template::setBlock()
A variable $parent may contain a variable block defined by: <!-- BEGIN $varname --> content <!-- END $varname -->.
Dot_Template::setFile()
Defines a filename for the initial value of a variable.
Dot_Template::setRoot()
Checks that $root is a valid directory and if so sets this directory as the base directory from which templates are loaded by storing the value in $this->root.
Dot_Template::setUnknowns()
Sets the policy for dealing with unresolved variable names.
Dot_Template::setVar()
Sets the value of a variable.
Dot_Template::startTimer()
Start the time to measure something
Dot_Template::subst()
Fills in all the variables contained within the variable named $varname. original value of the variable varname is not changed. is not 'finished'.
Dot_Template::unsetVar()
Unsets a variable completely.
Dot_Template::varname()
Will construct a regexp for a given variable name with any special chars quoted.
Dot_Template::__clone()
Singleton pattern implementation makes 'clone' unavailable

Class Details

[line 21]
System View Class

System View Class class that prepare output related to User controller




Tags:

author:  DotKernel Team <team@dotkernel.com>


[ Top ]


Class Methods


constructor __construct [line 28]

System_View __construct( Dot_Template $tpl)

Constructor

Constructor




Tags:

access:  public


Overrides Dot_Template::__construct() (Singleton pattern implementation makes 'new' unavailable)

Parameters:

Dot_Template   $tpl  

[ Top ]

method dashboard [line 38]

void dashboard( string $templateFile)

Display dashboard

Display dashboard




Tags:

access:  public


Parameters:

string   $templateFile  

[ Top ]

method displaySettings [line 56]

void displaySettings( string $templateFile, array $data)

Display settings

Display settings




Tags:

access:  public


Parameters:

string   $templateFile  
array   $data  

[ Top ]

method showPHPInfo [line 111]

void showPHPInfo( string $templateFile)

Display phpinfo values

Display phpinfo values




Tags:

access:  public


Parameters:

string   $templateFile  

[ Top ]


Documentation generated on Wed, 21 Jul 2010 07:34:43 +0000 by phpDocumentor 1.4.3