public function createshortenedurlAction() { $frmObj = new Application_Model_Form(); if ($this->getRequest()->isPost()) { $url = $this->request->getParam('url'); $shrUrl = $frmObj->makeShortUrl($url); echo $shrUrl; } exit; }