PageSourceSearch

https://classic.ptotoday.com/components/com_store/app/services/products.service.js?6abe455424a37

js ptotoday.com collected 2026-10-01 11:36:38 UTC 1,995 bytes, 37 lines download raw bytes

1'use strict';
2angular.module('sfmStore')
3    .service('$products', function($http, $q) {
4        this.getProductsByCategory = function(id, extended) {
5            return $http.get('/store?format=json&task=products.api_products&category_id=' + id + '&extended=' + extended);
6        }
7        this.getProductById = function(id) {
8            return $http.get('/store?format=json&task=product.api_product&id=' + id);
9        }
10        this.getPopularItems = function() {
11            return $http.get('/store?format=json&task=products.api_popularItems');
12        }
13        this.getPopularItemsByCategoryId = function(cat_id) {
14            return $http.get('/store?format=json&task=products.api_popularItems&categoryId=' + cat_id);
15        }
16        this.getPackageProducts = function(id) {
17            return $http.get('/store?format=json&task=products.api_packageProducts&packageId=' + id);
18        }
19        this.getQuestionsByProduct = function(id) {
20            return $http.get('/store?format=json&task=questions.api_productQuestions&productId=' + id);
21        }
22        this.getQuestionsByProductIndividual = function(id) {
23            return $http.get('/store?format=json&task=questions.api_productQuestionsIndividual&productId=' + id);
24        }
25        this.getOptionsByQuestionId = function(id) {
26            return $http.get('/store?format=json&task=questions.api_questionOptions&questionId=' + id);
27        }
28        this.checkSubscriptionStatus = function(schoolId, itemId) {
29            return $http.get('/store?format=json&task=products.api_checkSubscriptionStatus&schoolId=' + schoolId + "&itemId=" + itemId);
30        }
31        this.getQuestionAnswers = function(schoolId) {
32            return $http.get('/store?format=json&task=products.api_getInsuranceAnswers&schoolId=' + schoolId );
33        }
34        this.getMappedInsuranceProduct = function(id) {
35            return $http.get('/store?format=json&task=products.api_getMappedInsuranceProduct&productId=' + id )
36        }
37    });

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.