Class PagesController
- Controller
- AppController
- PagesController
Modifiedby: $LastChangedBy$
Lastmodified:
$LastChangedDate$
$Id$
Located at controllers/pages_controller.php
Methods summary
protected
|
#
beforeCheckLogin( )
convienience method to do operations before login check for example you could set AppController::skipCheck to true avoiding user session check |
public
|
|
public
|
|
public
|
#
showObjects( integer $main_object_id = null, string $relation = null, integer $main_object_type_id = null, string $objectType = "related" )
called via ajax Show list of objects for relation, append to section,... |
public
|
#
loadObjectToAssoc( integer|null $main_object_id = null, string|null $objectType = null, string|null $tplname = null, string|null $module = null )
called via ajax load objects selected to main view to prepare association form |
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
private
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
#
saveQuickItem( )
save quick item used in modal window to save quickly objects to associate to main object |
public
|
#
similarCards( )
Returns a JSON object with an array of "similar" Cards to the given User data, excluding Cards already related to another User. |
public
|
|
protected
|
Methods inherited from AppController
__construct()
,
afterFilter()
,
beditaAfterFilter()
,
beditaBeforeFilter()
,
beditaBeforeRender()
,
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
public
array
|
$uses
|
#
array()
|
public
array
|
$helpers
|
#
array('BeTree')
|
public
array
|
$components
|
#
array(
'BeUploadToObj',
'BeSecurity' => array(
'disableActions' => array('loadNote', 'loadObjectToAssoc', 'loadUsersGroupsAjax')
)
)
|
Properties inherited from AppController
$BeObjectCache
,
$currLang
,
$currLocale
,
$current
,
$ext
,
$fullBaseUrl
,
$historyItem
,
$modelBindings
,
$moduleList
,
$moduleName
,
$modulePerms
,
$objectData
,
$profiling
,
$result
,
$skipCheck
,
$view