Actions

API17

Difference between revisions of "JHttp:: connect"

From Joomla! Documentation

(Bulk upload by Doxiki2)
 
(Updated to r1448:247ba8d88526)
(One intermediate revision by one user not shown)
Line 8: Line 8:
 
<nowiki>[</nowiki>[[Description:JHttp::_connect|Edit Descripton]]<nowiki>]</nowiki>
 
<nowiki>[</nowiki>[[Description:JHttp::_connect|Edit Descripton]]<nowiki>]</nowiki>
 
</span>
 
</span>
===Since===
 
{{JVer|11.1 }}
 
===Synopsis===
 
 
<source lang="php">
 
<source lang="php">
protected JHttp->_connect (JUri $uri)
+
protected function _connect (JUri $uri)
 
</source>
 
</source>
 
{| class="wikitable"
 
{| class="wikitable"
Line 27: Line 24:
 
|-
 
|-
 
|}
 
|}
===Returns===
+
* '''Returns''' mixed Connection resource on success or boolean false on failure.
mixed Connection resource on success or boolean false on failure.
+
* '''Defined''' on line 297 of libraries/joomla/client/http.php
===Defined in===
+
* '''Since''' {{JVer|11.1 }}
libraries/joomla/client/http.php
+
===Referenced by===
+
 
===See also===
 
===See also===
 +
* {{JVer|11.1}} '''JHttp::_connect source code''' on [[jplatform:client/http.php#cl-289|BitBucket]]
 +
* {{JVer|11.1}} Class [[JHttp/11.1|JHttp]]
 +
* {{JVer|11.1}} Subpackage [[Subpackage_Client/11.1|Client]]
 +
* [[JHttp::_connect|Other versions of JHttp::_connect]]
 +
{{SeeAlso:JHttp::_connect}}
 
<span class="editsection" style="font-size:76%;">
 
<span class="editsection" style="font-size:76%;">
 
<nowiki>[</nowiki>[[SeeAlso:JHttp::_connect|Edit See Also]]<nowiki>]</nowiki>
 
<nowiki>[</nowiki>[[SeeAlso:JHttp::_connect|Edit See Also]]<nowiki>]</nowiki>
 
</span>
 
</span>
* [[JHttp/11.1|JHttp]]
+
===User contributed notes===
* [[JHttp::_connect|Other versions of this method]]
+
{{SeeAlso:JHttp::_connect}}
+
===Examples===
+
 
<CodeExamplesForm />
 
<CodeExamplesForm />
 
<dpl>
 
<dpl>
Line 47: Line 44:
 
category=MethodExample
 
category=MethodExample
 
include=*
 
include=*
 +
namespace=CodeExample
 
format= ,,,
 
format= ,,,
 
</dpl>
 
</dpl>
 
<noinclude>[[Category:JHttp]][[Category:JHttp::_connect]]</noinclude>
 
<noinclude>[[Category:JHttp]][[Category:JHttp::_connect]]</noinclude>

Revision as of 21:09, 27 April 2011

Replacement filing cabinet.png
This Namespace has been archived - Please Do Not Edit or Create Pages in this namespace. Pages contain information for a Joomla! version which is no longer supported. It exists only as a historical reference, will not be improved and its content may be incomplete.

Joomla 11.1 JHttp::_connect

Description

Method to connect to a server and get the resource.

Description:JHttp:: connect [Edit Descripton]

protected function _connect (JUri $uri)
Parameter Type Default Description
JUri $uri JUri $uri The URI to connect with.
  • Returns mixed Connection resource on success or boolean false on failure.
  • Defined on line 297 of libraries/joomla/client/http.php
  • Since Joomla 11.1

See also

SeeAlso:JHttp:: connect [Edit See Also]

User contributed notes

<CodeExamplesForm />