1C-Bitrix
25.700.0
Загрузка...
Поиск...
Не найдено
simplearray.php
См. документацию.
1
<?php
2
3
namespace
Bitrix\Sale\TradingPlatform\Ebay\Feed\Data\Sources;
4
5
class
SimpleArray
extends
DataSource
implements \Iterator
6
{
7
protected
$data
=
array
();
8
protected
$currentPos
= 0;
9
10
public
function
current
()
11
{
12
return
$this->data[
$this->currentPos
];
13
}
14
15
public
function
key
()
16
{
17
return
$this->currentPos
;
18
}
19
20
public
function
next
()
21
{
22
$this->currentPos++;
23
}
24
25
public
function
rewind
()
26
{
27
$this->currentPos = 0;
28
}
29
30
public
function
valid
()
31
{
32
return
isset($this->data[$this->currentPos]) && !empty($this->data[$this->currentPos]);
33
}
34
35
public
function
setData
(
array
$data
)
36
{
37
$this->data =
$data
;
38
}
39
}
Bitrix\Sale\TradingPlatform\Ebay\Feed\Data\Sources\DataSource
Определения
datasource.php:6
Bitrix\Sale\TradingPlatform\Ebay\Feed\Data\Sources\SimpleArray
Определения
simplearray.php:6
Bitrix\Sale\TradingPlatform\Ebay\Feed\Data\Sources\SimpleArray\$currentPos
$currentPos
Определения
simplearray.php:8
Bitrix\Sale\TradingPlatform\Ebay\Feed\Data\Sources\SimpleArray\$data
$data
Определения
simplearray.php:7
Bitrix\Sale\TradingPlatform\Ebay\Feed\Data\Sources\SimpleArray\key
key()
Определения
simplearray.php:15
Bitrix\Sale\TradingPlatform\Ebay\Feed\Data\Sources\SimpleArray\setData
setData(array $data)
Определения
simplearray.php:35
Bitrix\Sale\TradingPlatform\Ebay\Feed\Data\Sources\SimpleArray\valid
valid()
Определения
simplearray.php:30
Bitrix\Sale\TradingPlatform\Ebay\Feed\Data\Sources\SimpleArray\next
next()
Определения
simplearray.php:20
Bitrix\Sale\TradingPlatform\Ebay\Feed\Data\Sources\SimpleArray\rewind
rewind()
Определения
simplearray.php:25
Bitrix\Sale\TradingPlatform\Ebay\Feed\Data\Sources\SimpleArray\current
current()
Определения
simplearray.php:10
array
</td ></tr ></table ></td ></tr >< tr >< td class="bx-popup-label bx-width30"><?=GetMessage("PAGE_NEW_TAGS")?> array( $site)
Определения
file_new.php:804
bitrix
modules
sale
lib
tradingplatform
ebay
feed
data
sources
simplearray.php
Создано системой
1.14.0