Erste controller-name vom controller selbst

Vielleicht eine lächerliche Frage, aber Ist es ein Weg, um die tatsächlichen controller-Namen der controller-Klasse selbst?

wie

class SomeController extends Zend_Controller_Action {
    public function init() {

         $controllerName = $this -> getControllerName();
         //And get "Some" as a output
    }
}
  • wie get_class($this) ?
  • genau !!! 🙂
InformationsquelleAutor mrN | 2011-07-15
Schreibe einen Kommentar