modules/Campaigns/controller.php

Show: inherited
Table of Contents

\CampaignsController

Package:

Main SugarCRM controller

Parent(s)
\SugarController

Properties

Propertypublic  $action= ''index''
inherited

The name of the current action.

Inherited from: \SugarController::$$action
Propertypublic  $action_case_file= 'array( 'editview'=>'EditView', 'detailview'=>'DetailView', 'listview'=>'ListView' )'
staticinherited

Map case sensitive filenames to action. This is used for linux/unix systems where filenames are case sensitive

Inherited from: \SugarController::$$action_case_file
Propertypublic  $bean= 'null'
inherited

If a bean is present that set it.

Inherited from: \SugarController::$$bean
Propertypublic  $hasAccess= 'true'
inherited

This can be set from the application to tell us whether we have authorization to process the action. If this is set we will default to the noaccess view.

Inherited from: \SugarController::$$hasAccess
Propertypublic  $module= ''Home''
inherited

The name of the current module.

Inherited from: \SugarController::$$module
Propertypublic  $process_tasks= 'array( 'blockFileAccess', 'handleEntryPoint', 'remapWirelessAction', 'callLegacyCode', 'remapAction', 'handle_action', 'handleActionMaps', )'
inherited

List of options to run through within the process() method.

Inherited from: \SugarController::$$process_tasks
Propertypublic  $record= ''''
inherited

The id of the current record.

Inherited from: \SugarController::$$record
Propertypublic  $redirect_url= ''''
inherited

url to redirect to

Inherited from: \SugarController::$$redirect_url
Propertypublic  $return_action= 'null'
inherited

The name of the return action.

Inherited from: \SugarController::$$return_action
Propertypublic  $return_id= 'null'
inherited

The id of the return record.

Inherited from: \SugarController::$$return_id
Propertypublic  $return_module= 'null'
inherited

The name of the return module.

Inherited from: \SugarController::$$return_module
Propertypublic  $target_module= 'null'
inherited

The name of the target module.

Inherited from: \SugarController::$$target_module
Propertypublic  $view= ''classic''
inherited

any subcontroller can modify this to change the view

Inherited from: \SugarController::$$view
Propertypublic  $view_object_map= 'array()'
inherited

this array will hold the mappings between a key and an object for use within the view.

Inherited from: \SugarController::$$view_object_map

Methods

methodpublicSugarController( ) : void
inherited

Constructor. This ie meant tot load up the module, action, record as well as the mapping arrays.

Inherited from: \SugarController::SugarController()
methodpublicaction_newsletterlist( ) : void

methodpublicaction_save( ) : void
inherited

Perform the actual save

Inherited from: \SugarController::action_save()
methodpublicaction_spot( ) : void
inherited

Inherited from: \SugarController::action_spot()
methodpubliccheckEntryPointRequiresAuth( \$entrypoint $entryPoint ) : bool
inherited

Checks to see if the requested entry point requires auth

Inherited from: \SugarController::checkEntryPointRequiresAuth()
methodpublicexecute( ) : void
finalinherited

This method is called from SugarApplication->execute and it will bootstrap the entire controller process

Inherited from: \SugarController::execute()
methodpublicgetActionFilename(  $action ) : void
staticinherited

getActionFilename

Inherited from: \SugarController::getActionFilename()
methodpublicloadBean( ) : void
inherited

Given a record id load the bean. This bean is accessible from any sub controllers.

Inherited from: \SugarController::loadBean()
methodpublicpreProcess( ) : void
inherited

Meant to be overridden by a subclass and allows for specific functionality to be injected prior to the process() method being called.

Inherited from: \SugarController::preProcess()
methodpublicpre_save( ) : void
inherited

Do some processing before saving the bean to the database.

Inherited from: \SugarController::pre_save()
methodpublicprocess( ) : void
inherited

if we have a function to support the action use it otherwise use the default action

Inherited from: \SugarController::process()
methodpublicsetModule( object $module ) : void
inherited

Set the module on the Controller

Inherited from: \SugarController::setModule()
methodpublicsetup(  $module = '' ) : void
inherited

Called from SugarApplication and is meant to perform the setup operations on the controller.

Inherited from: \SugarController::setup()
Documentation was generated by DocBlox 0.18.1.