public function init()
{
if ($this->pagination === null) {
throw new InvalidConfigException('The "pagination" property must be set.');
}
}
public function init() { parent::init(); $this->prevPageLabel = '上一页'; $this->nextPageLabel = '下一页'; }