Class ProfileController
User profiles controller
- CComponent
- CBaseController
- CController
- X2Controller
- x2base
- ProfileController
public
array
|
#
accessRules( )
Specifies the access control rules. This method is used by the 'accessControl' filter. |
public
array
|
#
behaviors( )
Returns a list of behaviors that this controller should behave as. The return value should be an array of behavior configurations indexed by behavior names. Each behavior configuration can be either a string specifying the behavior class or an array of the following structure: 'behaviorName'=>array( 'class'=>'path.to.BehaviorClass', 'property1'=>'value1', 'property2'=>'value2', ) |
public
array
|
|
public
|
|
public
|
|
public
|
|
public
|
#
actionDeletePost( integer $id, mixed $profileId )
Deletes a post in the public feed for the current user. |
public
|
#
actionSaveMiscLayoutSetting( )
Saves settings as a property of the miscLayoutSettings JSON field of the
profile model. This should be used to make miscellaneous layout settings
persistent. POST Parameters: |
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
#
actionCreateTheme( mixed $themeAttributes )
Create a new theme record in the Media table, prevent duplicate filenames. If theme cannot be saved, error message object is returned. |
public
|
|
public
|
|
public
|
#
actionCreateUpdateCredentials( type $id = null, type $class = null )
Basic CRUD for application credentials |
public
|
#
actionVerifyCredentials( )
Action to be called via ajax to verify authentication to the SMTP server |
public
|
|
public
|
|
public
|
|
public
|
#
actionChangePassword( integer $id )
Changes the password for the user given by its record ID number. |
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
#
actionSetResultsPerPage( integer $results )
Sets the the option for the number of results per page. |
public
|
|
public
|
|
public
|
|
public
|
|
public static
|
|
public
|
#
actionSetWidgetOrder( )
Called to save profile widget sort order Expected POST data: |
public
|
#
actionShowWidgetContents( )
Called to retieve widget contents Expected POST data: |
public
|
#
actionGetWidgetContents( )
A wrapper around actionShowWidgetContents () which allows widget contents to be requested with a GET request. This is used for gridview widgets. |
public
|
#
actionSetWidgetSetting( )
Called to save settings for a particular profile widget Expected POST
data: |
public
|
|
public
|
|
public
|
#
actionView( mixed $id, mixed $publicProfile = false )
Default landing page action for the web application. |
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
#
actionCreateChartSetting( )
Create a new chart setting record in the chart settings table. Called via ajax from the chart setting creation dialog. |
public
|
#
actionDeleteChartSetting( mixed $chartSettingName )
Delete a chart setting record from the chart settings table. Called via ajax from the feed chart UI. |
public
|
|
public
|
|
public
|
|
public
|
|
public
|
#
actionAjaxSaveDefaultEmailTemplate( string $moduleName, integer $templateId )
Saves a default template for the specified module into the users profile settings |
public
|
|
public
|
|
public
|
__construct(),
afterAction(),
afterRender(),
beforeRender(),
clearPageStates(),
createAbsoluteUrl(),
createAction(),
createActionFromMap(),
createUrl(),
filterAccessControl(),
filterAjaxOnly(),
filterPostOnly(),
forward(),
getAction(),
getActionParams(),
getCachingStack(),
getClips(),
getId(),
getLayoutFile(),
getModule(),
getPageState(),
getRoute(),
getUniqueId(),
getViewFile(),
getViewPath(),
init(),
invalidActionParams(),
isCachingStackEmpty(),
loadPageStates(),
missingAction(),
processDynamicOutput(),
processOutput(),
recordCachingAction(),
redirect(),
refresh(),
renderClip(),
renderDynamic(),
renderDynamicInternal(),
renderPartial(),
renderText(),
replaceDynamicOutput(),
run(),
runAction(),
runActionWithFilters(),
savePageStates(),
setAction(),
setPageState()
|
beginCache(),
beginClip(),
beginContent(),
beginWidget(),
createWidget(),
endCache(),
endClip(),
endContent(),
endWidget(),
renderFile(),
renderInternal()
|
__call(),
__get(),
__isset(),
__set(),
__unset(),
asa(),
attachBehavior(),
attachBehaviors(),
attachEventHandler(),
canGetProperty(),
canSetProperty(),
detachBehavior(),
detachBehaviors(),
detachEventHandler(),
disableBehavior(),
disableBehaviors(),
enableBehavior(),
enableBehaviors(),
evaluateExpression(),
getEventHandlers(),
hasEvent(),
hasEventHandler(),
hasProperty(),
raiseEvent()
|
STATE_INPUT_NAME
|
public
string
|
$modelClass | 'Profile' |
#
The class of the model most often handled by this controller. |
$actionMenu,
$breadcrumbs,
$layout,
$leftPortlets,
$leftWidgets,
$menu,
$noBackdrop,
$portlets
|
$defaultAction
|
$action,
$actionParams,
$cachingStack,
$clips,
$id,
$module,
$pageTitle,
$route,
$uniqueId,
$viewPath
|