PHP Trait luya\traits\NextPrevModel

Since: 1.0.0-beta6
Author: nadar
Exibir arquivo Open project: luyadev/luya

Public Methods

Method Description
getNext ( ) : ActiveQuery Get the next actrive record of the current id
getPrev ( ) : ActiveQuery Get the previous record of a current id

Method Details

getNext() public method

Get the next actrive record of the current id
public getNext ( ) : ActiveQuery
return yii\db\ActiveQuery

getPrev() public method

Get the previous record of a current id
public getPrev ( ) : ActiveQuery
return yii\db\ActiveQuery