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
ManaPHP
Mvc
Model
MetadataInterface
hasAttribute
ManaPHP\Mvc\Model\MetadataInterface::hasAttribute PHP Méthode
MetadataInterface Interface Documentation
Afficher le fichier
Open project: manaphp/manaphp
hasAttribute()
public
méthode
Check if a model has certain attribute
public
hasAttribute
(
string
| ManaPHP\Mvc\ModelInterface
$model
,
string
$attribute
) :
boolean
$model
string
| ManaPHP\Mvc\ModelInterface
$attribute
string
Résultat
boolean
public function hasAttribute($model, $attribute);
MetadataInterface
getAttributes
getAutoIncrementAttribute
getColumnProperties
getNonPrimaryKeyAttributes
getPrimaryKeyAttributes
hasAttribute