public function getItemsPerPageList()
	{
		if (empty($this->items_per_page_list)) {
			$this->setItemsPerPageList([10, 20, 50], true);
		}

		$list = array_flip($this->items_per_page_list);

		foreach ($list as $key => $value) {
			$list[$key] = $key;
		}

		if (array_key_exists('all', $list)) {
			$list['all'] = $this->getTranslator()->translate('ublaboo_datagrid.all');
		}

		return $list;
	}
public function getItemsPerPageList()
	{
		if (empty($this->items_per_page_list)) {
			$this->setItemsPerPageList([10, 20, 50], true);
		}

		$list = array_flip($this->items_per_page_list);

		foreach ($list as $key => $value) {
			$list[$key] = $key;
		}

		if (array_key_exists('all', $list)) {
			$list['all'] = $this->getTranslator()->translate('ublaboo_datagrid.all');
		}

		return $list;
	}
public function getItemsPerPageList ( ) { if ( empty ( $ this -> items_per_page_list ) ) { $ this -> setItemsPerPageList ( [ 10 , 20 , 50 ] , true ) ; } $ list = array_flip ( $ this -> items_per_page_list ) ; foreach ( $ list as $ key => $ value ) { $ list [ $ key ] = $ key ; } if ( array_key_exists ( 'all' , $ list ) ) { $ list [ 'all' ] = $ this -> getTranslator ( ) -> translate ( 'ublaboo_datagrid.all' ) ; } return $ list ; }
Get associative array of items_per_page_list
@return array
Get associative array of items_per_page_list