public function getPaginateOptions($excludeFields = null) {
		$page = 1;
		$limit = 20;
		$fields = $this->getListLocalFields($excludeFields);
		$order = $this->getOrderFiled();
		$contain = $this->getListContain('Subordinate');
		$result = compact(
			'page',
			'limit',
			'fields',
			'order',
			'contain'
		);

		return $result;
	}
public function getPaginateOptions($excludeFields = null) {
		$page = 1;
		$limit = 20;
		$fields = $this->getListLocalFields($excludeFields);
		$order = $this->getOrderFiled();
		$contain = $this->getListContain('Subordinate');
		$result = compact(
			'page',
			'limit',
			'fields',
			'order',
			'contain'
		);

		return $result;
	}
public function getPaginateOptions ( $ excludeFields = null ) { $ page = 1 ; $ limit = 20 ; $ fields = $ this -> getListLocalFields ( $ excludeFields ) ; $ order = $ this -> getOrderFiled ( ) ; $ contain = $ this -> getListContain ( 'Subordinate' ) ; $ result = compact ( 'page' , 'limit' , 'fields' , 'order' , 'contain' ) ; return $ result ; }
Return options for Paginator component

@param array|string $excludeFields List of fields for excluding
from result
@return array Return array options for Paginator component.
Return options for Paginator component