class topics extends topic_base
New Topics feed
This will give you the last {$this->num_items} created topics including the first post.
Methods
__construct(helper $helper, config $config, driver_interface $db, driver_interface $cache, user $user, auth $auth, content_visibility $content_visibility, string $phpEx)
Constructor |
from base | |
set_keys()
Set keys. |
from topic_base | |
open()
Open feed |
from attachments_base | |
close()
Close feed |
from base | |
set(string $key, mixed $value)
Set key |
from base | |
mixed |
get(string $key)
Get key |
from base |
array |
get_item()
Get the next post in the feed |
from base |
mixed |
get_attachments($post_id $post_id)
Get attachments related to a given post |
from attachments_base |
array |
adjust_item($item_row $item_row, $row $row)
Adjust a feed entry |
Details
in base at line 85
public
__construct(helper $helper, config $config, driver_interface $db, driver_interface $cache, user $user, auth $auth, content_visibility $content_visibility, string $phpEx)
Constructor
in topic_base at line 26
public
set_keys()
Set keys.
in attachments_base at line 69
public
open()
Open feed
in base at line 128
public
close()
Close feed
in base at line 139
public
set(string $key, mixed $value)
Set key
in base at line 147
public mixed
get(string $key)
Get key
in base at line 155
public array
get_item()
Get the next post in the feed
in attachments_base at line 81
public mixed
get_attachments($post_id $post_id)
Get attachments related to a given post
at line 86
public array
adjust_item($item_row $item_row, $row $row)
Adjust a feed entry