Amiro.Ru / Manual | |||||
Packages:
DB Debug Driver_PaymentSystem Environment Library Module ModuleComponent Package Plugin Plugin_AJAXResponder Plugin_Sample Service Template TxCommand TxService Hyper_AmiCatalog Hyper_AmiClean Hyper_AmiEshopShipping Hyper_AmiExt Hyper_AmiFiles Hyper_AmiMultifeeds Hyper_AmiSearch Hyper_AmiUsers Config_AmiCatalog_Items Config_AmiClean_AmiNewsList Config_AmiClean_AmiSample Config_AmiClean_EshopOrder Config_AmiClean_Sape Config_AmiClean_Trustlink Config_AmiClean_Webservice Config_AmiEshopShipping_Fields Config_AmiEshopShipping_Methods Config_AmiEshopShipping_Types Config_AmiFake_AmiroPayDrvExample Config_AmiFiles_Files Config_AmiMultifeeds_Articles Config_AmiMultifeeds_Blog Config_AmiMultifeeds_FAQ Config_AmiMultifeeds_News Config_AmiMultifeeds_Photoalbum Config_AmiMultifeeds_PhotoGallery Config_AmiMultifeeds_Stickers Config_AmiUsers_Users Module_Catalog Module_Pages Module_Sample Module_SearchHistory
Classes:
|
Loading search... The AMI_Request class• IntroductionRequest class. • Class synopsis
AMI_Request
{
/* Properties */
// Request scope
// Default scope source
/* Methods */
// Returns value by specified key.
public
get ( string $key, [ mixed $default = null ], [ mixed $source = '_default' ] ) returns mixed;
// Returns whole scope.
// Resets scope.
// Sets/unsets value by key.
public
set ( string $key, [ mixed $value = null ], [ string $source = '_default' ] ) returns AMI_Request;
// Sets default scope.
// Sets whole scope.
// Replace source by default value if needed.
}
• Class DetailsLets our stanalone script is named 'script.php' and localted in the site root folder. Example:
will output
• Class Properies
• Class Methods// Returns value by specified key.
public
get ( string $key, [ mixed $default = null ], [ mixed $source = '_default' ] ) returns mixed;
Overridden in child classes as: AMI_RequestHTTP::get(). // Returns whole scope.
Overridden in child classes as: AMI_RequestHTTP::getScope(). If $source argument is array, the sum of scopes will be returned.
// Resets scope.
Overridden in child classes as: AMI_RequestHTTP::reset(). // Sets/unsets value by key.
public
set ( string $key, [ mixed $value = null ], [ string $source = '_default' ] ) returns AMI_Request;
Overridden in child classes as: AMI_RequestHTTP::set(). If $source argument is array, first source scope will be modified.
// Sets default scope.
Tags:
// Sets whole scope.
// Replace source by default value if needed.
Tags:
|