\StreamManagerAjaxHelper

Summary

Methods
Properties
Constants
retrieve_posts()
search_posts()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

retrieve_posts()

retrieve_posts(array  $queue) : array

Retrieves and compiles templates for from queue

Parameters

array $queue

postid and position of post to be added

Returns

array —

$output post positions, rendered stubs

search_posts()

search_posts(string  $query) : array

Searches posts for 'Add New' autocomplete

Parameters

string $query

search term

Returns

array —

$output posts w/ ids, date, title, human time diff