Difference between revisions of "JHttp::post"
From Joomla! Documentation
(Layout updates) |
(Updated to r1448:247ba8d88526) |
||
Line 8: | Line 8: | ||
<nowiki>[</nowiki>[[Description:JHttp::post|Edit Descripton]]<nowiki>]</nowiki> | <nowiki>[</nowiki>[[Description:JHttp::post|Edit Descripton]]<nowiki>]</nowiki> | ||
</span> | </span> | ||
− | |||
− | |||
− | |||
<source lang="php"> | <source lang="php"> | ||
− | public | + | public function post ( |
+ | $url | ||
+ | $data | ||
+ | ) | ||
</source> | </source> | ||
{| class="wikitable" | {| class="wikitable" | ||
Line 32: | Line 32: | ||
|- | |- | ||
|} | |} | ||
− | + | * '''Returns''' bool True on success. | |
− | bool True on success. | + | * '''Defined''' on line 152 of libraries/joomla/client/http.php |
− | + | * '''Since''' {{JVer|11.1 }} | |
− | libraries/joomla/client/http.php | ||
− | * | ||
− | |||
===See also=== | ===See also=== | ||
+ | * {{JVer|11.1}} '''JHttp::post source code''' on [[jplatform:client/http.php#cl-144|BitBucket]] | ||
+ | * {{JVer|11.1}} Class [[JHttp/11.1|JHttp]] | ||
+ | * {{JVer|11.1}} Subpackage [[Subpackage_Client/11.1|Client]] | ||
+ | * [[JHttp::post|Other versions of JHttp::post]] | ||
+ | {{SeeAlso:JHttp::post}} | ||
<span class="editsection" style="font-size:76%;"> | <span class="editsection" style="font-size:76%;"> | ||
<nowiki>[</nowiki>[[SeeAlso:JHttp::post|Edit See Also]]<nowiki>]</nowiki> | <nowiki>[</nowiki>[[SeeAlso:JHttp::post|Edit See Also]]<nowiki>]</nowiki> | ||
</span> | </span> | ||
− | + | ===User contributed notes=== | |
− | |||
− | |||
− | === | ||
<CodeExamplesForm /> | <CodeExamplesForm /> | ||
<dpl> | <dpl> | ||
Line 53: | Line 52: | ||
category=MethodExample | category=MethodExample | ||
include=* | include=* | ||
+ | namespace=CodeExample | ||
format= ,,, | format= ,,, | ||
</dpl> | </dpl> | ||
<noinclude>[[Category:JHttp]][[Category:JHttp::post]]</noinclude> | <noinclude>[[Category:JHttp]][[Category:JHttp::post]]</noinclude> |
Revision as of 21:09, 27 April 2011
The "API17" namespace is an archived namespace. This page contains information for a Joomla! version which is no longer supported. It exists only as a historical reference, it will not be improved and its content may be incomplete and/or contain broken links.
JHttp::post[edit]
Description[edit]
Method to send the POST command to the server.
Template:Description:JHttp::post [Edit Descripton]
public function post (
$url
$data
)
Parameter | Type | Default | Description |
---|---|---|---|
$url | |||
$data | array | Associative array of key/value pairs to send as post values. |
See also[edit]
- JHttp::post source code on BitBucket
- Class JHttp
- Subpackage Client
- Other versions of JHttp::post
Template:SeeAlso:JHttp::post [Edit See Also]
User contributed notes[edit]
<CodeExamplesForm />