Toggle navigation
Hot Examples
RU
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Найти
Главная
ManaPHP
Mvc
Model
MetadataInterface
hasAttribute
ManaPHP\Mvc\Model\MetadataInterface::hasAttribute PHP Метод
Документация по интерфейсу MetadataInterface
Показать файл
Открыть проект
hasAttribute()
публичный
Метод
Check if a model has certain attribute
public
hasAttribute
(
string
| ManaPHP\Mvc\ModelInterface
$model
,
string
$attribute
) :
boolean
$model
string
| ManaPHP\Mvc\ModelInterface
$attribute
string
Результат
boolean
public function hasAttribute($model, $attribute);
MetadataInterface
getAttributes
getAutoIncrementAttribute
getColumnProperties
getNonPrimaryKeyAttributes
getPrimaryKeyAttributes
hasAttribute