public function justdoitajaxMethod() { $this->bAjaxMethod = true; $oGalerie = new GalerieModel(); echo $oGalerie->justdoit(); }