Phundament App Class Reference
  • Package
  • Class
  • Tree

Packages

  • bootstrap
    • widgets
      • input
  • Image
  • None
  • p3admin
  • p3extensions
    • behaviors
    • commands
    • components
    • helpers
    • widgets
  • p3media
    • actions
    • controllers
    • models
  • p3pages
    • models
  • p3widgets
    • components
    • models
  • PHP
  • system
    • db
      • ar
    • gii
    • web
      • auth
      • helpers
      • widgets
  • yiiext
    • widgets
      • fancybox
      • lipsum
  • zii
    • widgets
      • grid

Classes

  • ActivationController
  • AdminController
  • AssignmentController
  • AssignmentForm
  • AuthChildForm
  • AuthItemController
  • AuthItemForm
  • BaseP3Widget
  • BaseP3WidgetMeta
  • BaseP3WidgetTranslation
  • Bootstrap
  • CImageComponent
  • CKEditor
  • CodeProvider
  • DefaultController
  • EChosen
  • EDbMigration
  • EditableField
  • EditableSaver
  • EMigrateCommand
  • ESelect2
  • EUserFlash
  • FullCrudFieldProvider
  • GenerateForm
  • IdentificationColumnValidator
  • InstallController
  • JSONEditorView
  • JuiJSONEditorInput
  • LoginController
  • LogoutController
  • Metadata
  • P3CrudFieldProvider
  • P3MediaController
  • P3MediaMetaController
  • P3MediaSelect
  • P3PageController
  • P3PageMetaController
  • P3PageTranslationController
  • P3Widget
  • P3WidgetController
  • P3WidgetMetaController
  • P3WidgetTranslation
  • P3WidgetTranslationController
  • ProfileController
  • ProfileFieldController
  • RAuthItemBehavior
  • RAuthItemChildDataProvider
  • RAuthItemDataProvider
  • RAuthItemParentDataProvider
  • RAuthorizer
  • RController
  • RDbAuthManager
  • RecoveryController
  • RegistrationController
  • RegistrationForm
  • RGenerator
  • Rights
  • RightsFilter
  • RightsModule
  • RInstaller
  • RPermissionDataProvider
  • RUserBehavior
  • RWebUser
  • UActiveForm
  • UploadHandler
  • UserChangePassword
  • UserController
  • UserIdentity
  • UserLogin
  • UserModule
  • UserRecoveryForm
  • UWdropDownDep
  • UWfile
  • UWjuiAutoComplete
  • UWjuidate
  • UWrelBelongsTo
  • WebUserBehavior

Class RUserBehavior

Rights user behavior class file.

CComponent
Extended by CBehavior implements IBehavior
Extended by CModelBehavior
Extended by RUserBehavior
Copyright: Copyright © 2010 Christoffer Niska
Author: Christoffer Niska <cniska@live.com>
Since: 0.9.10
Located at crisu83/yii-rights/components/behaviors/RUserBehavior.php

Methods summary

public string
# getId( )

Returns the value of the owner's id column. Attribute name is retrived from the module configuration.

Returns the value of the owner's id column. Attribute name is retrived from the module configuration.

Returns

string
the id.
public string
# getName( )

Returns the value of the owner's name column. Attribute name is retrived from the module configuration.

Returns the value of the owner's name column. Attribute name is retrived from the module configuration.

Returns

string
the name.
public string
# getAssignmentNameLink( )

Returns a link labeled with the username pointing to the users assignments.

Returns a link labeled with the username pointing to the users assignments.

Returns

string
the link markup.
public mixed
# getAssignmentsText( integer $type )

Returns a string with names of the authorization items of the given type that are assigned to this user.

Returns a string with names of the authorization items of the given type that are assigned to this user.

Parameters

$type
integer
$type the item type (0: operation, 1: task, 2: role).

Returns

mixed
the assigned items.
public string
# getAssignments( )

Returns the authorization items assigned to the user.

Returns the authorization items assigned to the user.

Returns

string
the assignments markup.

Methods inherited from CModelBehavior

afterConstruct(), afterValidate(), beforeValidate(), events()

Methods inherited from CBehavior

attach(), detach(), getEnabled(), getOwner(), setEnabled()

Methods inherited from CComponent

__call(), __get(), __isset(), __set(), __unset(), asa(), attachBehavior(), attachBehaviors(), attachEventHandler(), canGetProperty(), canSetProperty(), detachBehavior(), detachBehaviors(), detachEventHandler(), disableBehavior(), disableBehaviors(), enableBehavior(), enableBehaviors(), evaluateExpression(), getEventHandlers(), hasEvent(), hasEventHandler(), hasProperty(), raiseEvent()

Magic methods summary

Properties summary

public mixed $idColumn
#
public mixed $nameColumn
#

Magic properties inherited from CModelBehavior

$owner

Magic properties inherited from CBehavior

$enabled

Phundament App Class Reference API documentation generated by ApiGen 2.8.0