Toggle navigation
Hot Examples
ZH
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
搜索
Home
yii
data
Sort
hasAttribute
yii\data\Sort::hasAttribute PHP Method
Sort Class Documentation
显示文件
Open project: yiisoft/yii2
hasAttribute()
public
method
Returns a value indicating whether the sort definition supports sorting by the named attribute.
public
hasAttribute
(
string
$name
) :
boolean
$name
string
the attribute name
return
boolean
whether the sort definition supports sorting by the named attribute.
public function hasAttribute($name) { return isset($this->attributes[$name]); }
Sort
createSortParam
createUrl
getAttributeOrder
getAttributeOrders
getOrders
hasAttribute
init
link
setAttributeOrders