Added some comments.

This commit is contained in:
Josh Sherman 2010-12-17 22:38:40 -05:00
parent 25e78fc569
commit 346c93e393

View file

@ -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, '-', '_');