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 AuthItemForm

Authorization item form class file.

CComponent
Extended by CModel implements IteratorAggregate, ArrayAccess
Extended by CFormModel
Extended by AuthItemForm
Copyright: Copyright © 2010 Christoffer Niska
Author: Christoffer Niska <cniska@live.com>
Since: 0.5
Located at crisu83/yii-rights/models/AuthItemForm.php

Methods summary

public array
# rules( )

Declares the validation rules.

Declares the validation rules.

Returns

array
validation rules to be applied when CModel::validate() is called.

Overrides

CModel::rules
public array
# attributeLabels( )

Declares attribute labels.

Declares attribute labels.

Returns

array
attribute labels (name=>label)

Overrides

CModel::attributeLabels
public
# nameIsAvailable( mixed $attribute, mixed $params )

Makes sure that the name is available. This is the 'nameIsAvailable' validator as declared in rules().

Makes sure that the name is available. This is the 'nameIsAvailable' validator as declared in rules().

public
# newNameIsAvailable( mixed $attribute, mixed $params )

Makes sure that the new name is available if the name been has changed. This is the 'newNameIsAvailable' validator as declared in rules().

Makes sure that the new name is available if the name been has changed. This is the 'newNameIsAvailable' validator as declared in rules().

public
# isSuperuser( mixed $attribute, mixed $params )

Makes sure that the superuser roles name is not changed. This is the 'isSuperuser' validator as declared in rules().

Makes sure that the superuser roles name is not changed. This is the 'isSuperuser' validator as declared in rules().

public
# bizRuleNotEmpty( mixed $attribute, mixed $params )

Makes sure that the business rule is not empty when data is specified. This is the 'bizRuleNotEmpty' validator as declared in rules().

Makes sure that the business rule is not empty when data is specified. This is the 'bizRuleNotEmpty' validator as declared in rules().

Methods inherited from CFormModel

__construct(), attributeNames(), init()

Methods inherited from CModel

addError(), addErrors(), afterConstruct(), afterValidate(), beforeValidate(), behaviors(), clearErrors(), createValidators(), generateAttributeLabel(), getAttributeLabel(), getAttributes(), getError(), getErrors(), getIterator(), getSafeAttributeNames(), getScenario(), getValidatorList(), getValidators(), hasErrors(), isAttributeRequired(), isAttributeSafe(), offsetExists(), offsetGet(), offsetSet(), offsetUnset(), onAfterConstruct(), onAfterValidate(), onBeforeValidate(), onUnsafeAttribute(), setAttributes(), setScenario(), unsetAttributes(), validate()

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 $name
#
public mixed $description
#
public mixed $type
#
public mixed $bizRule
#
public mixed $data
#

Magic properties inherited from CModel

$attributes, $errors, $iterator, $safeAttributeNames, $scenario, $validatorList, $validators

Phundament App Class Reference API documentation generated by ApiGen 2.8.0