Added some comments.
This commit is contained in:
parent
25e78fc569
commit
346c93e393
1 changed files with 14 additions and 0 deletions
|
@ -436,6 +436,11 @@ class Controller extends Object
|
|||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Destructor
|
||||
*
|
||||
* Dumps out the Profiler's report if applicable.
|
||||
*/
|
||||
public function __destruct()
|
||||
{
|
||||
parent::__destruct();
|
||||
|
@ -447,6 +452,15 @@ class Controller extends Object
|
|||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Prepare Variables
|
||||
*
|
||||
* Processes the request variable and creates all the variables that the
|
||||
* Controller needs to load the page.
|
||||
*
|
||||
* @param string $request the requested page
|
||||
* @return array the resulting variables
|
||||
*/
|
||||
public function prepareVariables($request)
|
||||
{
|
||||
$basename = strtr($request, '-', '_');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue