phpBB API Documentation
Interface

phpbb\feed\feed_interface

interface feed_interface

Interface implemented by all feeds types

Methods

set_keys()

Set keys.

open()

Open feed

close()

Close feed

set(string $key, mixed $value)

Set key

mixed get(string $key)

Get key

array get_item()

Get the next post in the feed

array adjust_item($item_row $item_row, $row $row)

Adjust a feed entry

Details

at line 24
public set_keys()

Set keys.

at line 29
public open()

Open feed

at line 34
public close()

Close feed

at line 42
public set(string $key, mixed $value)

Set key

Parameters

string $key Key
mixed $value Value

at line 50
public mixed get(string $key)

Get key

Parameters

string $key Key

Return Value

mixed

at line 57
public array get_item()

Get the next post in the feed

Return Value

array

at line 66
public array adjust_item($item_row $item_row, $row $row)

Adjust a feed entry

Parameters

$item_row $item_row
$row $row

Return Value

array