Class ModulesController
Base class for modules
- Controller
-
AppController
-
ModulesController
Direct known subclasses
AddressbookController,
AdminController,
StatisticsController,
TagsController,
TranslationsController,
UsersController,
WebmarksController,
AreasController,
CommentsController,
DocumentsController,
EventsController,
GalleriesController,
MultimediaController,
NewsController,
NewsletterController
Methods summary
protected
|
|
protected
|
#
paginatedList( unknown_type $id, unknown_type $filter, unknown_type $order, unknown_type $dir, unknown_type $page, unknown_type $dim )
Method for paginated objects, used in ModuleController::index()... |
public
|
|
public
|
|
protected
|
#
changeBulkObjects( integer[] $objectIds, string $field, string $value )
Change objects field value in bulk. |
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
private
|
#
itemsAreaSectionOp( $op = 'add', $objects_to_assoc = array(), $area_section_id = null, $user_info = true )
|
public
array
|
|
public
|
|
protected
|
|
public
|
|
protected
|
|
protected
|
#
setSessionForObjectDetail( array $objects = null )
set session vars to use in objects detail: - backFromView - array with prev and next |
protected
|
|
protected
|
|
public
|
#
saveCategories( )
Saves a category. Controllers should specify the list of categorizable models in $categorizableModels property. |
public
|
#
deleteCategories( )
Deletes a category. Controllers should specify the list of categorizable models in $categorizableModels property. |
public
|
|
protected
array
|
|
protected
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
#
isInsideHiddenBranch( integer $id )
Set 'isInsideHiddenBranch' for a specified $id passed, if $id is inside hidden branch id config 'excludeFromTreeIds' |
public
mixed,
|
#
moduleForward( string $action, string $result, string $moduleRedirect = array() )
Default module controller forward given $action and $result. Default rules are used, you may pass custom rules in $moduleRedirect array |
protected
|
Methods inherited from AppController
__construct(),
afterFilter(),
beditaAfterFilter(),
beditaBeforeFilter(),
beditaBeforeRender(),
beforeCheckLogin(),
beforeFilter(),
beforeRender(),
checkLogin(),
checkObjectWritePermission(),
currentController(),
deleteObjects(),
eventError(),
eventInfo(),
eventLog(),
eventWarn(),
handleError(),
idFromNicknameCache(),
initAttributes(),
loadModelByObjectTypeId(),
loadModelByType(),
modelBindings(),
objectRelationArray(),
objectTypeCache(),
objectTypeIdCache(),
prepareRelationsToSave(),
saveObject(),
setModelBindings(),
setObjectBindings(),
setResult(),
setupAnnotations(),
setupLocale(),
setup_args(),
startProfiler(),
stopProfiler(),
unsetModelBindings(),
updateHistory(),
usedUrl(),
userErrorMessage(),
userInfoMessage(),
userWarnMessage(),
viewRevision()
Constants summary
Constants inherited from AppController
Properties summary
protected
array
|
$categorizableModels
Controller-specific categorizable models. |
#
array()
|
protected
array
|
$relationsOrder
Define a relations order by Model The order will be reflected in every module object view detail Example: |
#
array()
|
Properties inherited from AppController
$BeObjectCache,
$components,
$currLang,
$currLocale,
$current,
$ext,
$fullBaseUrl,
$helpers,
$historyItem,
$modelBindings,
$moduleList,
$moduleName,
$modulePerms,
$objectData,
$profiling,
$result,
$skipCheck,
$uses,
$view