Source for file SkillSet.php
Documentation is available at SkillSet.php
/* -------------------------------------------------------------------------- */
/* Date Vsn Author Description */
/* -------------------------------------------------------------------------- */
/* 17/02/09 1.0 S.Lindo Initial version. */
/* -------------------------------------------------------------------------- */
* The skills used to display the current view are listed here.
* @return string Formatted skillset used to create the view
$path=
APPLICATION_PATH .
'/config/skillset/' .
$this->view->controllerName .
'/';
$fileName =
$this->view->actionName;
$fullFileName =
$path .
$fileName .
'.xml';
// Double quotes used to prevent display of the '\n' & '\t' chars.
$skillSet =
"\n<div class=\"skillset_description\">
\n\t<p class=\"skillset_description_header\">This page illustrates the following skills :</p>
\n\t<ul class=\"bullet\">";
$config =
new Zend_Config_Xml ($fullFileName);
foreach ($config->skills as $skill)
$skillSet .=
"\n\t\t<li class=\"bullet\">" .
$skill .
"</li>";
if ($this->view->pageSkillSet ==
null)
$demoDescription =
"\n<div class=\"demo_description\">
\n\t<p class=\"demo_description_header\">This page illustrates the following skills :</p>
\n\t<ul class=\"demo\">";
foreach ($this->view->pageSkillSet as $skill)
$demoDescription .=
"\n\t\t<li class=\"demo\">" .
$skill .
"</li>";
$demoDescription .=
"\n\t</ul>
$this->view->demoDescription =
$demoDescription;
Documentation generated on Fri, 27 Mar 2009 13:48:43 +0000 by phpDocumentor 1.4.1