class CRM_Widget_Widget

Class CRM_Widget_Widget

Properties

static $_methodTable

Methods

initialize()

No description

methodTable()

No description

string
registerRequest(int $contributionPageID, string $widgetID, string $action)

Not implemented - registers an action and unique widget ID. Useful for stats and debugging

object
getContributionPageData(int $contributionPageID, string $widgetID)

Gets all campaign related data and returns it as a std class.

string
getEmbedCode(int $contributionPageID, string $widgetID, string $format = "normal")

Gets embed code. Perhaps overkill, but we can track dropoffs in this case.

Details

at line 16
initialize()

at line 40
methodTable()

at line 55
string registerRequest(int $contributionPageID, string $widgetID, string $action)

Not implemented - registers an action and unique widget ID. Useful for stats and debugging

Parameters

int $contributionPageID
string $widgetID
string $action

Return Value

string

at line 67
object getContributionPageData(int $contributionPageID, string $widgetID)

Gets all campaign related data and returns it as a std class.

Parameters

int $contributionPageID
string $widgetID

Return Value

object

at line 191
string getEmbedCode(int $contributionPageID, string $widgetID, string $format = "normal")

Gets embed code. Perhaps overkill, but we can track dropoffs in this case.

by # of people reqeusting emebed code / number of unique instances.

Parameters

int $contributionPageID
string $widgetID
string $format Either myspace or normal.

Return Value

string