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 RAuthItemBehavior

Rights authorization item behavior class file.

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

Methods summary

public
# __construct( integer $userId = null, CAuthItem $parent = null )

Constructs the behavior.

Constructs the behavior.

Parameters

$userId
integer
$userId the id of the user to whom this item is assigned
$parent
CAuthItem
$parent the parent item.
public string
# getNameText( )

Returns the item name.

Returns the item name.

Returns

string
the markup.
public string
# getNameLink( )

Returns the link to update the item.

Returns the link to update the item.

Returns

string
the markup.
public string
# getGridNameLink( )

Returns the markup for the name link to displayed in the grid.

Returns the markup for the name link to displayed in the grid.

Returns

string
the markup.
public string
# childCount( )

Returns the markup for the child count.

Returns the markup for the child count.

Returns

string
the markup.
public string
# sortableId( )

Returns the markup for the id required by jui sortable.

Returns the markup for the id required by jui sortable.

Returns

string
the markup.
public string
# getTypeText( )

Returns the markup for the item type.

Returns the markup for the item type.

Returns

string
the markup.
public string
# getDeleteOperationLink( )

Returns the markup for the delete operation link.

Returns the markup for the delete operation link.

Returns

string
the markup.
public string
# getDeleteTaskLink( )

Returns the markup for the delete task link.

Returns the markup for the delete task link.

Returns

string
the markup.
public string
# getDeleteRoleLink( )

Returns the markup for the delete role link.

Returns the markup for the delete role link.

Returns

string
the markup.
public string
# getRemoveParentLink( )

Returns the markup for the remove parent link.

Returns the markup for the remove parent link.

Returns

string
the markup.
public string
# getRemoveChildLink( )

Returns the markup for the remove child link.

Returns the markup for the remove child link.

Returns

string
the markup.
public string
# getRevokeAssignmentLink( )

Returns the markup for the revoke assignment link.

Returns the markup for the revoke assignment link.

Returns

string
the markup.
public string
# getRevokePermissionLink( CAuthItem $role )

Returns the markup for the revoke permission link.

Returns the markup for the revoke permission link.

Parameters

$role
CAuthItem
$role the role the permission is for.

Returns

string
the markup.
public string
# getAssignPermissionLink( CAuthItem $role )

Returns the markup for the assign permission link.

Returns the markup for the assign permission link.

Parameters

$role
CAuthItem
$role the role the permission is for.

Returns

string
the markup.
public string
# getInheritedPermissionText( array $parents, boolean $displayType = false )

Returns the markup for a inherited permission.

Returns the markup for a inherited permission.

Parameters

$parents
array
$parents the parents for this item.
$displayType
boolean
$displayType whether to display the parent item type.

Returns

string
the markup.

Methods inherited from CBehavior

attach(), detach(), events(), 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 $userId
#
public mixed $parent
#
public mixed $childCount
#

Magic properties inherited from CBehavior

$enabled, $owner

Phundament App Class Reference API documentation generated by ApiGen 2.8.0