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
AfsConceptHelper Class Reference

Simple access to one concepts of one agent. More...

Inheritance diagram for AfsConceptHelper:
AfsHelperBase

Public Member Functions

 __construct ($feed)
 Constructs new concept instance.
 add_item ($item, $buffer)
 Adds new concept item to current helper.
 get_items ()
 Retrieves all concept items of current concept.
 get_feed ()
 Retrieves feed name which has produced this concept.
- Public Member Functions inherited from AfsHelperBase
 __get ($name)
 Simple property helper.

Detailed Description

Simple access to one concepts of one agent.

Constructor & Destructor Documentation

__construct (   $feed)

Constructs new concept instance.

Parameters
$feed[in] name of the feed this concept is binded to.

Member Function Documentation

add_item (   $item,
  $buffer 
)

Adds new concept item to current helper.

Parameters
$item[in] values to initialize new concept item with.
$buffer[in] buffer of concept data.
get_feed ( )

Retrieves feed name which has produced this concept.

Returns
feed name.
get_items ( )

Retrieves all concept items of current concept.

Returns
concept items (see AfsConceptItem).