yii\widgets\LinkPager::run PHP Method

run() public method

This overrides the parent implementation by displaying the generated page buttons.
public run ( )
    public function run()
    {
        if ($this->registerLinkTags) {
            $this->registerLinkTags();
        }
        echo $this->renderPageButtons();
    }

Usage Example

Example #1
0
 public function run()
 {
     if ($this->pagination->getPageCount() <= 1) {
         return;
     }
     parent::run();
 }
All Usage Examples Of yii\widgets\LinkPager::run