Squiz Matrix  4.12.2
 All Data Structures Namespaces Functions Variables Pages
SOAP_Form_Based_Common Class Reference

Static Public Member Functions

static getKeywordReplacementsFromForm ($content, &$form)
 
static getFileContentReplacementsFromForm ($content, &$form)
 
static validationRules ()
 
static validateValue ($value, $rule)
 
static toArray ($data, &$form)
 

Detailed Description

Definition at line 30 of file soap_form_based_common.inc.

Member Function Documentation

static getFileContentReplacementsFromForm (   $content,
$form 
)
static

This function replace the keyword file_upload_1111_q1% with the uploaded file content

Returns
string public

Definition at line 88 of file soap_form_based_common.inc.

static getKeywordReplacementsFromForm (   $content,
$form 
)
static

This function replace all the keywords for each of the field

Returns
string public

Definition at line 39 of file soap_form_based_common.inc.

static toArray (   $data,
$form 
)
static

Converts xml object to array Replace file content keyword

Returns
array public

Definition at line 236 of file soap_form_based_common.inc.

static validateValue (   $value,
  $rule 
)
static

Validate the value based on the applied rule

Parameters
string$valueValue to validate
array$ruleRule to check against

public

Returns
boolean

Definition at line 175 of file soap_form_based_common.inc.

static validationRules ( )
static

Get the array of validation rules for the value in SOAP response

public

Returns
array

Definition at line 148 of file soap_form_based_common.inc.


The documentation for this class was generated from the following file: