\ProfileMembership
Synopsis
class ProfileMembership
extends ProfileController
{
- // members
- private static string $menu_icon = '<i class="fa fa-pencil-square-o"></i>';
- private static string $menu_title = 'Edit Profile';
- private static array $allowed_actions = ;
- private static array $url_handlers = ;
- private static string $action_template = 'ProfileMembership';
- // Inherited members from ProfileController
- protected $member;
- protected $response_controller;
- protected static $profile_classes;
- // methods
- public void MemberEditProfileForm()
- public void canEditProfile()
- // 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
private
- $action_template
- $allowed_actions
- $url_handlers
protected
- $member
- $profile_classes
- $response_controller
Methods
public
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.