Toggle navigation
Hot Examples
FR
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Rechercher
Accueil
yii
base
Model
offsetExists
yii\base\Model::offsetExists PHP Méthode
Model Class Documentation
Afficher le fichier
Open project: yiisoft/yii2
offsetExists()
public
méthode
This method is required by the SPL interface [[\ArrayAccess]]. It is implicitly called when you use something like
isset($model[$offset])
.
public
offsetExists
(
mixed
$offset
) :
boolean
$offset
mixed
the offset to check on.
Résultat
boolean
whether or not an offset exists.
public function offsetExists($offset) { return isset($this->{$offset}); }
Model
activeAttributes
addError
addErrors
afterValidate
attributeHints
attributeLabels
attributes
beforeValidate
clearErrors
createValidators
fields
formName
generateAttributeLabel
getActiveValidators
getAttributeHint
getAttributeLabel
getAttributes
getErrors
getFirstError
getFirstErrors
getIterator
getScenario
getValidators
hasErrors
isAttributeActive
isAttributeRequired
isAttributeSafe
load
loadMultiple
offsetExists
offsetGet
offsetSet
offsetUnset
onUnsafeAttribute
rules
safeAttributes
scenarios
setAttributes
setScenario
validate
validateMultiple