Summary
- abstract
- File
- Package hierarchy Category\controllers
- Class hierarchy \AbstractController \ModuleController \AbstractCategoriesFormController
This class defines the minimalist controler pattern
This class defines the minimalist controler pattern
__static()
None found |
__construct( $module_id = '')
$module_id |
None found |
get_right_controller_regarding_authorizations() : \Controller
Returns the right controller to execute regarding the authorizations defined for the controller
the right controller
None found |
get_module()
None found |
execute(\HTTPRequestCustom $request)
\HTTPRequestCustom | $request |
None found |
get_authorizations_settings(string $module_id = '') : array<mixed,mixed>
string | $module_id | id of the module (optional) |
Array of ActionAuthorization for AuthorizationsSettings
None found |
build_form(\HTTPRequestCustom $request)
\HTTPRequestCustom | $request |
None found |
set_properties()
None found |
get_options_fields(\FormFieldset $fieldset)
\FormFieldset | $fieldset |
None found |
get_category() : \Category
None found |
get_categories_management_title() : string
Categories management page title
None found |
get_title() : string
Page title
None found |
get_success_message() : string
the appropriate success message
None found |
generate_response(\View $view) : \Response
\View | $view |
None found |
get_categories_manager() : \CategoriesManager
None found |
get_id_category() : string
id of the category to edit / delete
None found |
get_categories_management_url() : \Url
None found |
get_add_category_url() : \Url
None found |
get_edit_category_url(integer $category) : \Url
integer | $category | Category |
None found |
get_module_home_page_url() : \Url
None found |
get_module_home_page_title() : string
module home page title
None found |
check_authorizations() : boolean
Authorization to manage categories
None found |
build_fieldset_options(\HTMLForm $form)
\HTMLForm | $form |
None found |
save()
Update or add category
None found |
$module_id :
None found |
$form : \HTMLForm
None found |
$submit_button : \FormButtonSubmit
None found |
$lang :
None found |
$common_lang :
None found |
$categories_manager :
None found |
$is_new_category :
None found |
$category : \Category
None found |