/** * * @return Model_UsersMapper */ public static function getInstance() { if (is_null(self::$_instance)) { $c = __CLASS__; self::$_instance = new $c(); } return self::$_instance; }
public function daneAction() { $idUzytkownika = $this->getRequest()->getParam('id'); $model = new Model_UserMapper(); $dane = $model->daneUzytkownika($idUzytkownika); }