File "Base.txt"
Full Path: /home/u886502366/domains/almoasronppbags.com/public_html/newtest/wp-content/plugins/depicter/vendor/typerocket/core/templates/Controllers/Base.txt
File size: 1.86 KB
MIME-type: text/x-php
Charset: utf-8
<?php
namespace {{namespace}};
use {{app}}\Models\{{model}};
use TypeRocket\Controllers\Controller;
class {{controller}} extends Controller
{
/**
* The index page for admin
*
* @return mixed
*/
public function index()
{
// TODO: Implement index() method.
}
/**
* The add page for admin
*
* @return mixed
*/
public function add()
{
// TODO: Implement add() method.
}
/**
* Create item
*
* AJAX requests and normal requests can be made to this action
*
* @return mixed
*/
public function create()
{
// TODO: Implement create() method.
}
/**
* The edit page for admin
*
* @param string|{{mc}} ${{var}}
*
* @return mixed
*/
public function edit({{mc}} ${{var}})
{
// TODO: Implement edit() method.
}
/**
* Update item
*
* AJAX requests and normal requests can be made to this action
*
* @param string|{{mc}} ${{var}}
*
* @return mixed
*/
public function update({{mc}} ${{var}})
{
// TODO: Implement update() method.
}
/**
* The show page for admin
*
* @param string|{{mc}} ${{var}}
*
* @return mixed
*/
public function show({{mc}} ${{var}})
{
// TODO: Implement show() method.
}
/**
* The delete page for admin
*
* @param string|{{mc}} ${{var}}
*
* @return mixed
*/
public function delete({{mc}} ${{var}})
{
// TODO: Implement delete() method.
}
/**
* Destroy item
*
* AJAX requests and normal requests can be made to this action
*
* @param string|{{mc}} ${{var}}
*
* @return mixed
*/
public function destroy({{mc}} ${{var}})
{
// TODO: Implement destroy() method.
}
}