|
| __construct ($attribute=0, $value=NULL) |
|
| paint ($prefix, $read_only=FALSE) |
|
| process ($prefix) |
|
| setKeywordReplacements ($replacements) |
|
| run () |
|
| Asset_Attribute_Serialise ($attributeid=0, $value=null) |
|
| validateValue (&$value) |
|
| getContent () |
|
| Asset_Attribute ($attributeid=0, $value=NULL, $default_params=Array()) |
|
& | loadAttribute ($attributeid=0, $value=NULL, $default_params=Array()) |
|
| type () |
|
| paint ($prefix, $read_only=FALSE) |
|
| paintEditParams ($prefix, $write_access=FALSE) |
|
| processEditParams ($prefix) |
|
| process ($prefix) |
|
| validateValue (&$value) |
|
| setValue (&$value) |
|
| setEditParams (&$node) |
|
| setEditParam ($field, $value) |
|
| setParam ($field, $value) |
|
| getContent () |
|
| getKeywordValue ($format='') |
|
| exportToXML () |
|
| exportContentsToXML () |
|
| MySource_Object () |
|
| __sleep () |
|
| __wakeup () |
|
|
| $_res = Array() |
|
| $_config = Array() |
|
|
| $id = 0 |
|
| $name = '' |
|
| $uniq = FALSE |
|
| $description = '' |
|
| $_params = Array() |
|
| $_default_value = NULL |
|
| $_edit_params = Array() |
|
| $value = NULL |
|
| $processed = FALSE |
|
| $is_admin = FALSE |
|
Definition at line 31 of file http_request.inc.
__construct |
( |
|
$attribute = 0 , |
|
|
|
$value = NULL |
|
) |
| |
Constructor
- Parameters
-
string | $assetid | the asset id to be loaded |
Definition at line 87 of file http_request.inc.
Determine if the request can be cached or not.
- Returns
- boolean protected
Definition at line 737 of file http_request.inc.
_curlAddUrl |
( |
|
$url, |
|
|
|
$key |
|
) |
| |
|
protected |
Adds a URL to be requested.
- Returns
- void protected
Definition at line 763 of file http_request.inc.
_findDocumentEncoding |
( |
|
$response | ) |
|
|
protected |
Returns the document encoding by detecting from content in the response.
- Parameters
-
array | a response with headers & body protected |
- Returns
- string
Definition at line 631 of file http_request.inc.
Run request and cacheing logic for each URL
- Returns
- void protected
Definition at line 683 of file http_request.inc.
_readCurlHeaders |
( |
|
$ch, |
|
|
|
$header |
|
) |
| |
|
protected |
Callback to read CURL headers.
- Returns
- integer protected
Definition at line 982 of file http_request.inc.
_replaceKeywords |
( |
& |
$text | ) |
|
|
protected |
Replaces global and custom keywords in $text.
- Parameters
-
- Returns
- void
Definition at line 667 of file http_request.inc.
_setCacheExpiry |
( |
& |
$response | ) |
|
|
protected |
paint |
( |
|
$prefix, |
|
|
|
$read_only = FALSE |
|
) |
| |
Print the interface for filling in a value
- Parameters
-
string | $prefix | prefix for the form elements |
boolean | $read_only | are we just printing the value |
- Returns
- void public
Definition at line 103 of file http_request.inc.
Process the interface for filling in a value
- Parameters
-
string | $prefix | prefix for the form elements |
- Returns
- void public
Definition at line 423 of file http_request.inc.
setKeywordReplacements |
( |
|
$replacements | ) |
|
Sets keyword replacements to be replaced into URLs, headers, post bodies, auth etc.
- Parameters
-
Array | $replacements | Keyword indexed array of replacements, e.g. 'my_key_word' => 'my value' |
- Returns
- void public
Definition at line 474 of file http_request.inc.
The documentation for this class was generated from the following file:
- /Users/webmaster/Desktop/squiz_matrix/core/attributes/http_request/http_request.inc