Lines Matching refs:paginationId
75 var rawId = tAttrs.paginationId || DEFAULT_ID;
82 var paginationId =
83 $parse(attrs.paginationId)(scope) || attrs.paginationId || DEFAULT_ID;
90 paginationService.registerInstance(paginationId);
92 var repeatExpression = getRepeatExpression(expression, paginationId);
99 makeCurrentPageGetterFn(scope, attrs, paginationId);
101 paginationId, currentPageGetter, scope);
104 paginationService.setAsyncModeTrue(paginationId);
111 paginationService.setCollectionLength(paginationId, result);
115 paginationService.setAsyncModeFalse(paginationId);
126 paginationId, collectionLength);
154 function getRepeatExpression(expression, paginationId) { argument
159 if (paginationId !== DEFAULT_ID && !idDefinedInFilter) {
161 /(\|\s*itemsPerPage\s*:\s*[^|\s]*)/, '$1 : \'' + paginationId + '\'');
232 function makeCurrentPageGetterFn(scope, attrs, paginationId) { argument
242 (paginationId + '__currentPage').replace(/\W/g, '_');
273 {maxSize: '=?', onPageChange: '&?', paginationId: '=?', autoHide: '=?'}, property in dirPaginationControlsDirective.DDO.scope
300 var rawId = attrs.paginationId || DEFAULT_ID;
301 var paginationId = scope.paginationId || attrs.paginationId || DEFAULT_ID;
303 if (!paginationService.isRegistered(paginationId) &&
306 (paginationId !== DEFAULT_ID) ? ' (id: ' + paginationId + ') ' : ' ';
339 if (paginationService.isRegistered(paginationId)) {
340 return (paginationService.getCollectionLength(paginationId) + 1) *
341 paginationService.getItemsPerPage(paginationId);
352 if (paginationService.isRegistered(paginationId)) {
353 return (paginationService.getItemsPerPage(paginationId));
364 if (paginationService.isRegistered(paginationId)) {
365 return paginationService.getCurrentPage(paginationId);
375 if (paginationService.isRegistered(paginationId) &&
378 paginationService.setCurrentPage(paginationId, num);
396 if (paginationService.isRegistered(paginationId) &&
401 num, paginationService.getCollectionLength(paginationId),
402 paginationService.getItemsPerPage(paginationId), paginationRange);
416 if (paginationService.isRegistered(paginationId)) {
418 parseInt(paginationService.getCurrentPage(paginationId)) || 1;
420 page, paginationService.getCollectionLength(paginationId),
421 paginationService.getItemsPerPage(paginationId), paginationRange);
438 if (paginationService.isRegistered(paginationId)) {
439 var currentPage = paginationService.getCurrentPage(paginationId),
440 itemsPerPage = paginationService.getItemsPerPage(paginationId),
441 totalItems = paginationService.getCollectionLength(paginationId);
537 return function(collection, itemsPerPage, paginationId) { argument
538 if (typeof (paginationId) === 'undefined') {
539 paginationId = DEFAULT_ID;
541 if (!paginationService.isRegistered(paginationId)) {
543 paginationId + ') does not match a registered pagination-id.';
549 if (paginationService.isAsyncMode(paginationId)) {
553 (paginationService.getCurrentPage(paginationId) - 1) * itemsPerPage;
556 paginationService.setItemsPerPage(paginationId, itemsPerPage);