\ProfileCRUD
Object management forms and.
Synopsis
class ProfileCRUD
extends ProfileController
{
- // members
- private static boolean $hide_ancestor = true;
- private static array $managed_models = ;
- private static array $allowed_actions = ;
- private static array $url_handlers = ;
- private DataObject $item;
- protected String $modelClass;
- protected String $actionParam;
- // Inherited members from ProfileController
- protected $member;
- protected $response_controller;
- protected static $profile_classes;
- // methods
- public void setupVariables()
- public mixed|string getActionParam()
- public mixed|string getModel()
- public void setModel()
- public DataObject getItem()
- public void setItem()
- public void ListItems()
- public static void getNewItemLink()
- public void providePermissions()
- public static void canCreate()
- public void newItem()
- public void ItemForm()
- public void FormObjectLink()
- public void view()
- public void edit()
- public void delete()
- // Inherited methods from ProfileController
- public void init()
- public void providePermissions()
- public static void canView()
- public void getMember()
- public void setMember()
- public void Link()
- public static void join_links()
- public void Title()
- public void Icon()
- public HTMLText ProfileArea()
- public void getProfileClass()
- public static ArrayList ProfileMenu()
- public string MetaTags()
- public SS_HTTPRequest handleController()
- public bool setupVariables()
- protected void handleAction()
- protected bool hasProfileController()
- public Page_Controller getResponseController()
- public void LayoutAjax()
- public void index()
- public string render()
- public void httpError()
- public void MainProfileClass()
- public void CurrProfileClass()
Hierarchy
Extends
Members
Methods
public
- FormObjectLink()
- ItemForm()
- ListItems()
- canCreate()
- delete()
- edit()
- getActionParam() — Lower case action name to do switch-case on action.
- getItem()
- getModel()
- getNewItemLink()
- newItem()
- providePermissions()
- setItem()
- setModel()
- setupVariables()
- view()
Inherited from ProfileController
protected
- handleAction()
- hasProfileController() — Checks if Profile Controller exists.
public
- CurrProfileClass()
- Icon()
- LayoutAjax()
- Link()
- MainProfileClass()
- MetaTags() — Blocks indexing of profile areas.
- ProfileArea() — Gets Profile Area Layout.
- ProfileMenu() — Gets Profile Menu.
- Title()
- canView()
- getMember()
- getProfileClass()
- getResponseController() — Prepare the controller for handling the response to this request.
- handleController() — Handles requests by Profile Controller.
- httpError() — Throws a HTTP error response encased in a {@link SS_HTTPResponse_Exception}, which is later caught in {@link RequestHandler::handleAction()} and returned to the user.
- index()
- init()
- join_links()
- providePermissions()
- render() — Render the current controller with the templates determined by {@link getViewer()}.
- setMember()
- setupVariables() — Let's you check params and the other variables for example ProfileCRUD checks managed_models and IDs being set if request has ModelClass param it shall be manageable if it's edit or view request item with specified ID shall exist.