-
Notifications
You must be signed in to change notification settings - Fork 35
icms_ipf_Controller
Raimondas Rimkevičius edited this page Mar 9, 2020
·
1 revision
Notice: Wiki was automatic generated from project sources as project API documentation. Do not edit manually!
This class is responsible for providing operations to an object for managing the object's manipulation
- Class name: icms_ipf_Controller
- Namespace:
public mixed $handler
- Visibility: public
mixed icms_ipf_Controller::__construct(handler)
- Visibility: public
- handler mixed
mixed icms_ipf_Controller::postDataToObject(\obj icmsObj)
- Visibility: public
- icmsObj obj
mixed icms_ipf_Controller::doStoreFromDefaultForm(\obj icmsObj, int objectid, \str created_success_msg, \str modified_success_msg, bool redirect_page, bool debug)
- Visibility: public
- icmsObj obj - <p>Object</p>
- objectid int
- created_success_msg str - <p>Message to display on successful creation</p>
- modified_success_msg str - <p>Message to display on successful modification</p>
- redirect_page bool - <p>Whether to redirect afterwards, or not</p>
- debug bool - <p>Whether to display debug information, or not</p>
bool icms_ipf_Controller::storeFromDefaultForm(string created_success_msg, string modified_success_msg, string redirect_page, mixed debug, mixed x_param)
Store the object in the database autmatically from a form sending POST data
- Visibility: public
- created_success_msg string - <p>message to display if new object was created</p>
- modified_success_msg string - <p>message to display if object was successfully edited</p>
- redirect_page string - <p>redirect page, if not set, then we backup once</p>
- debug mixed
- x_param mixed
mixed icms_ipf_Controller::storeicms_ipf_ObjectD()
Stores an object and shows debug information
- Visibility: public
mixed icms_ipf_Controller::storeicms_ipf_Object(bool debug, bool xparam)
- Visibility: public
- debug bool
- xparam bool
bool icms_ipf_Controller::handleObjectDeletion(mixed confirm_msg, mixed op, mixed userSide)
Handles deletion of an object which keyid is passed as a GET param
- Visibility: public
- confirm_msg mixed
- op mixed
- userSide mixed
mixed icms_ipf_Controller::handleObjectDeletionFromUserSide(bool confirm_msg, string op)
- Visibility: public
- confirm_msg bool
- op string
string icms_ipf_Controller::getAdminViewItemLink(object icmsObj, bool onlyUrl, bool withimage)
Retrieve the object admin side link for a page
- Visibility: public
- icmsObj object - <p>reference to the object from which we want the user side link</p>
- onlyUrl bool - <p>whether or not to return a simple URL or a full <a> link</p>
- withimage bool - <p>return a linked image instead of linked text</p>
string icms_ipf_Controller::getItemLink(object icmsObj, bool onlyUrl)
Retrieve the object user side link
- Visibility: public
- icmsObj object - <p>reference to the object from which we want the user side link</p>
- onlyUrl bool - <p>wether or not to return a simple URL or a full <a> link</p>
string icms_ipf_Controller::getViewItemLink(\icms_ipf_Object icmsObj, bool onlyUrl, bool withimage, bool userSide)
This method returns a view link of the Object
- Visibility: public
- icmsObj icms_ipf_Object
- onlyUrl bool
- withimage bool
- userSide bool
mixed icms_ipf_Controller::getEditLanguageLink(object icmsObj, bool onlyUrl, bool withimage)
- Visibility: public
- icmsObj object
- onlyUrl bool
- withimage bool
mixed icms_ipf_Controller::getEditItemLink(\obj icmsObj, bool onlyUrl, bool withimage, bool userSide)
- Visibility: public
- icmsObj obj
- onlyUrl bool
- withimage bool
- userSide bool
mixed icms_ipf_Controller::getDeleteItemLink(\obj icmsObj, bool onlyUrl, bool withimage, bool userSide)
- Visibility: public
- icmsObj obj
- onlyUrl bool
- withimage bool
- userSide bool
mixed icms_ipf_Controller::getPrintAndMailLink(\obj icmsObj)
- Visibility: public
- icmsObj obj
mixed icms_ipf_Controller::getModuleItemString()
Creates a string from the object's module name and item name
- Visibility: public