Class Callback

Description

TAM AG CMS

  • author: DevilDev

Located in /callback/Callback.php (line 11)

Modules
   |
   --Callback
Variable Summary
mixed $fields
Method Summary
static Callback getInstance ()
string loadAdminFormHtml ()
string loadAdminHtml ()
void loadCallback ( $limit, [ $offset = 0])
array loadFields ()
string loadHtml ()
Variables
static Callback $_instance = null (line 19)

Singleton instance

  • access: protected
mixed $fields = array() (line 20)
  • access: protected
Methods
static method getInstance (line 31)

Returns an instance of Callback

Singleton pattern implementation

  • return: Provides a fluent interface
  • access: public
static Callback getInstance ()
loadAdminFormHtml (line 69)

Create html for admin form

Allow variable
$fieldHtml - html all fields
$email_subject - email subject
$email_text - message for email

  • return: html admin form
  • access: public
string loadAdminFormHtml ()
loadAdminHtml (line 290)

Create html for admin callback

Allow variable
$callback_lines - all line html with limit per page
$pagination - html paginator
Incoming variable
limit - int limit per page
pages - int current page

  • return: admin html
  • access: public
string loadAdminHtml ()
loadCallback (line 372)
  • access: public
void loadCallback ( $limit, [ $offset = 0])
  • $limit
  • $offset
loadFields (line 46)

Load all fields by callback

Allow variable
$fields array

  • return: all fields one by callback
  • access: public
array loadFields ()
loadHtml (line 427)

Create html callback for frontend

Allow variable
$success - message if send callback
$address - full site address
$map_address - site address for google map string
$phone - site contact phone
$fax - site contact fax
$map_lat, $map_lng - address coordinates if instal in config
$fileds - string html all fields

  • return: html for frontend
  • access: public
string loadHtml ()

Documentation generated on Fri, 19 Aug 2016 17:10:29 +0200 by phpDocumentor 1.4.3