1C-Bitrix 25.700.0
Загрузка...
Поиск...
Не найдено
cloud.php
См. документацию.
1<?php
2
4
6
7class Cloud
8{
9 public static function getPersonalRecommendation($userId, $count = 10)
10 {
11 $params = array(
12 'aid' => Counter::getAccountId(),
13 'op' => 'recommend',
14 'local_uid' => $userId,
15 'count' => $count+10
16 );
17
18 $result = static::makeQuery($params);
19
20 return $result;
21 }
22
23 public static function getFollowUpProducts($productIds)
24 {
25 $params = array(
26 'aid' => Counter::getAccountId(),
27 'op' => 'postcross',
28 'eids' => join(',', $productIds),
29 'count' => 20
30 );
31
32 $result = static::makeQuery($params);
33
34 return $result;
35 }
36
37 public static function getPotentialConsumers($productId)
38 {
39 $params = array(
40 'aid' => Counter::getAccountId(),
41 'op' => 'consumers',
42 'eid' => $productId
43 );
44
45 $result = static::makeQuery($params);
46
47 return $result;
48 }
49
50 protected static function makeQuery($params)
51 {
52 return null;
53 }
54}
$count
Определения admin_tab.php:4
if(!is_object($USER)||! $USER->IsAuthorized()) $userId
Определения check_mail.php:18
static getAccountId()
Определения counter.php:62
static getPersonalRecommendation($userId, $count=10)
Определения cloud.php:9
static getPotentialConsumers($productId)
Определения cloud.php:37
static getFollowUpProducts($productIds)
Определения cloud.php:23
static makeQuery($params)
Определения cloud.php:50
</td ></tr ></table ></td ></tr >< tr >< td class="bx-popup-label bx-width30"><?=GetMessage("PAGE_NEW_TAGS")?> array( $site)
Определения file_new.php:804
$result
Определения get_property_values.php:14
Определения cloud.php:3
if($inWords) echo htmlspecialcharsbx(Number2Word_Rus(roundEx($totalVatSum $params['CURRENCY']
Определения template.php:799