title: Zend Framework - plugin by name was not found in registry
body: <p>When calling a function in my <strong><em>views/helpers/</em></strong> file, from my script inside <strong><em>views/scripts/</em></strong> , i get this error:</p>
  
  <blockquote>
    <p>Message: Plugin by name 'SetBlnCompany' was not found in the registry;
    used paths: My_View_Helper_:
    /www/zendserver/htdocs/development/application/views/helpers/
    Zend_View_Helper_:
    Zend/View/Helper/:/www/zendserver/htdocs/development/application/views/helpers/</p>
  </blockquote>
  
  <p><strong>bootstrap.php</strong></p>
  
  <pre><code>protected function _initConfig()
  {       
      Zend_Registry::set('config', new Zend_Config($this-&gt;getOptions()));
      date_default_timezone_set('America/Chicago');
  }
  
  protected function _initAutoload() {     
      $autoloader = new Zend_Application_Module_Autoloader(array(             
          'namespace' =&gt; 'My',             
          'basePath'  =&gt; dirname(__FILE__),     
      ));
      return $autoloader;
  } 
  </code></pre>
  
  <p><strong>application.ini</strong></p>
  
  <pre><code>resources.view.helperPath.My_View_Helper = APPLICATION_PATH "/views/helpers" 
  </code></pre>
  
  <p><strong>application/views/helpers/DropdownHelper.php</strong></p>
  
  <pre><code>class Zend_View_Helper_Dropdownhelper extends Zend_View_Helper_Abstract
  {
       public $blnCompany = false;
  
       public function getBlnCompany() {
           return $this-&gt;blnCompany;
       }
  
       public function setBlnCompany($blnCompany) {
           $this-&gt;blnCompany = $blnCompany;
       }
  }
  </code></pre>
  
  <p><strong>script causing error</strong></p>
  
  <pre><code>&lt;?php 
       $this-&gt;setBlnCompany(true);
       //...etc...
  ?&gt;
  </code></pre>
  
  <hr>
  
  <p>EDIT to add more background information to my post.</p>
  
  <p>Ideally i would use this "dropdown helper" class, to have a function for "get html" a function for "get javascript" , and many setter functions to set options before the getHtml and getJavascript are called.</p>