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
AfsPromoteBannerReplyHelper Class Reference
Inheritance diagram for AfsPromoteBannerReplyHelper:
AfsPromoteReplyHelper AfsBaseReplyHelper AfsHelperBase

Public Member Functions

 __construct ($reply)
 Constructs new instance.
 get_url ()
 get_image_url ()
 get_type ()
 get the current promote instance type, types are default, banner or redirect
- Public Member Functions inherited from AfsPromoteReplyHelper
 get_custom_data ($key=null)
 Retrieves custom data from promote reply. To call this method, get_type should return 'default'.
- Public Member Functions inherited from AfsBaseReplyHelper
 __construct ($reply, AfsTextVisitorInterface $visitor)
 Constructs new instance.
 get_title ()
 Retrieves formatted title reply.
 get_abstract ()
 Retrieves formatted abstract reply.
 get_uri ()
 Retrieves URI of the document.
 format ()
 Retrieves reply data as array.
- Public Member Functions inherited from AfsHelperBase
 __get ($name)
 Simple property helper.

Detailed Description

Created by PhpStorm. User: ct Date: 2/13/15 Time: 11:04 AM

Constructor & Destructor Documentation

__construct (   $reply)

Constructs new instance.

Parameters
$reply[in] one reply used to initialize the instance.

Reimplemented from AfsPromoteReplyHelper.

Member Function Documentation

get_image_url ( )
Returns
string, the url of banner image
get_type ( )

get the current promote instance type, types are default, banner or redirect

Returns
string 'default', 'banner' or 'redirect'

Reimplemented from AfsPromoteReplyHelper.

get_url ( )
Returns
string, the url used for redirection