Add 'plugi-core/' from commit '6c478c54d048ab2fd5af4e8e79074153fb594c16'
git-subtree-dir: plugi-core git-subtree-mainline:d4c734cdbdgit-subtree-split:6c478c54d0
This commit is contained in:
@@ -0,0 +1,36 @@
|
||||
<?php
|
||||
|
||||
namespace Plugi\Contracts;
|
||||
|
||||
interface WebsiteManagerContract
|
||||
{
|
||||
/**
|
||||
* Process the current GET or POST request and redirect or render the requested page.
|
||||
*
|
||||
* @param $route
|
||||
* @param $action
|
||||
*/
|
||||
public function handleRequest($route, $action);
|
||||
|
||||
/**
|
||||
* Render the website manager overview page.
|
||||
*/
|
||||
public function renderOverview();
|
||||
|
||||
/**
|
||||
* Render the website manager page settings (add/edit page form).
|
||||
*
|
||||
* @param PageContract $page
|
||||
*/
|
||||
public function renderPageSettings(PageContract $page = null);
|
||||
|
||||
/**
|
||||
* Render the website manager menu settings (add/edit menu form).
|
||||
*/
|
||||
public function renderMenuSettings();
|
||||
|
||||
/**
|
||||
* Render the welcome page.
|
||||
*/
|
||||
public function renderWelcomePage();
|
||||
}
|
||||
Reference in New Issue
Block a user