/** * @return Nandu_Melody_Manager */ public static function getInstance() { if ( ! self::$_instance) { self::$_instance = new Nandu_Melody_Manager(); } return self::$_instance; }
public function initAction() { $this->view->species = $this->_manager->initPopulation(); }
public function getAudioFilename() { return Nandu_Melody_Manager::getInstance()->getMelodyAudioFilename($this); }