我的助教
class Zend_View_Helper_CommonArea extends Zend_View_Helper_Abstract {
public function commonArea()
{
?>
<div class="clear"></div>
<div id="quick_search">
<div class="search">
<strong>QUICK SEARCH </strong>
<input type="text" name="keyword" id="keyword" value="Enter keywords" class="form" onfocus="if(this.value==this.defaultValue)this.value= ;" onblur="if(this.value== )this.value=this.defaultValue;" />
<select name="select" id="select" class="selectstyled">
<option>Prefered Location</option>
<option>Prefered Location</option>
<option>Prefered Location</option>
<option>Prefered Location</option>
<option>Prefered Location</option>
</select>
</div>
<div class="bt_box">
<input name="find" type="submit" class="find" id="search" value="Find Jobs" />
</div>
<div class="resume"><a href="jobseeker.html"><img src="images/resume.jpg" alt="" /></a></div>
</div>
<?php
}
}
以及 我的问题是,我需要对这一类别增加新的职能。 我试图增加新的职能,如增加新的职能。
public function addBox()
{
?>
<div id="add_right_box"style="height:500px;"><h3 class="add_h2">Width 210px</h3></div>
<?php
}
to the above class, but I am getting eror something like Plugin by name AddBox was not found in the registry;
在此,我需要知道,如果是这样的话,我能为帮助者增加更多的职能。