Antidot PHP API  version 0.16.0
##PHP API to simplify integration of Antidot components
 All Classes Files Functions Variables Groups Pages
Public Member Functions | List of all members
AfsPromoteReplysetHelper Class Reference

Helper for Promote replies. More...

Inheritance diagram for AfsPromoteReplysetHelper:
AfsBaseReplysetHelper AfsHelperBase

Public Member Functions

 __construct ($reply_set, AfsHelperConfiguration $config)
 Construct new Promote replyset helper instance.
- Public Member Functions inherited from AfsBaseReplysetHelper
 __construct ($reply_set, AfsHelperConfiguration $config, AfsReplyHelperFactory $factory)
 Construct new replyset helper instance.
 get_meta ()
 Retrieves meta data object.
 has_reply ()
 Checks whether reply set contains at least one reply.
 get_nb_replies ()
 Retrieve number of replies for current page.
 get_replies ()
 Retrieves all replies of current page.
 format ()
 Retrieves replyset as array.
- Public Member Functions inherited from AfsHelperBase
 __get ($name)
 Simple property helper.

Detailed Description

Helper for Promote replies.

This helper is very similar to AfsReplysetHelper.

This helper gives access to underlying helpers for metadata, replies, factes and pager (if any).

Constructor & Destructor Documentation

__construct (   $reply_set,
AfsHelperConfiguration  $config 
)

Construct new Promote replyset helper instance.

Parameters
$reply_set[in] one reply from decoded json reply.
$config[in] helper configuration object.