public function buttonsPaging($targetSelector = null, $showCounterInfo = true, $useShowList = true, $useGoToPage = true, $useChangeNumLines = true) {
		$showType = (string)$this->request->param('named.show');
		if (mb_stripos($showType, 'list') === 0) {
			$result = $this->buttonLoadMore($targetSelector);
		} else {
			$result = $this->barPaging($showCounterInfo, $useShowList, $useGoToPage, $useChangeNumLines);
		}

		return $result;
	}
public function buttonsPaging($targetSelector = null, $showCounterInfo = true, $useShowList = true, $useGoToPage = true, $useChangeNumLines = true) {
		$showType = (string)$this->request->param('named.show');
		if (mb_stripos($showType, 'list') === 0) {
			$result = $this->buttonLoadMore($targetSelector);
		} else {
			$result = $this->barPaging($showCounterInfo, $useShowList, $useGoToPage, $useChangeNumLines);
		}

		return $result;
	}
public function buttonsPaging ( $ targetSelector = null , $ showCounterInfo = true , $ useShowList = true , $ useGoToPage = true , $ useChangeNumLines = true ) { $ showType = ( string ) $ this -> request -> param ( 'named.show' ) ; if ( mb_stripos ( $ showType , 'list' ) === 0 ) { $ result = $ this -> buttonLoadMore ( $ targetSelector ) ; } else { $ result = $ this -> barPaging ( $ showCounterInfo , $ useShowList , $ useGoToPage , $ useChangeNumLines ) ; } return $ result ; }
Return controls of pagination depending on the state of the
named parameter "show"

@param string $targetSelector jQuery selector to select data
from server response and selection of the element on the
page to add new data.
@param bool $showCounterInfo If true, show information about
pages and records
@param bool $useShowList If true, show button `Show as list`
@param bool $useGoToPage If true, show button `Go to the page`
@param bool $useChangeNumLines If true, show select `Number of lines`
@return string Return controls of pagination.
@see ViewExtension::buttonLoadMore()
@see ViewExtension::barPaging()
Return controls of pagination depending on the state of the named parameter show