Initial Commit
This commit is contained in:
@@ -0,0 +1,50 @@
|
||||
<?php
|
||||
|
||||
class V1_IndexController extends App_Controller_Rest_Controller
|
||||
{
|
||||
|
||||
public function init()
|
||||
{
|
||||
$this->_resourceName = 'Abstract';
|
||||
parent::init();
|
||||
}
|
||||
|
||||
public function indexAction()
|
||||
{
|
||||
try {
|
||||
$this->_responseData->message = 'As Fb2b.net WS';
|
||||
$this->_status = true;
|
||||
$this->sendResponse();
|
||||
} catch (Exception $e) {
|
||||
$this->_responseData->message = $e->getMessage();
|
||||
$this->_responseData->trace = $e->getTrace();
|
||||
$this->sendResponse();
|
||||
}
|
||||
}
|
||||
|
||||
public function getAction()
|
||||
{
|
||||
$this->_responseData->message = 'Funzione non disponibile';
|
||||
$this->sendResponse();
|
||||
}
|
||||
|
||||
public function postAction()
|
||||
{
|
||||
$this->_responseData->message = 'Funzione non disponibile';
|
||||
$this->sendResponse();
|
||||
}
|
||||
|
||||
public function putAction()
|
||||
{
|
||||
$this->_responseData->message = 'Funzione non disponibile';
|
||||
$this->sendResponse();
|
||||
}
|
||||
|
||||
public function deleteAction()
|
||||
{
|
||||
$this->_responseData->message = 'Funzione non disponibile';
|
||||
$this->sendResponse();
|
||||
}
|
||||
|
||||
|
||||
}//END CLASS
|
||||
Reference in New Issue
Block a user