Actions

API17

Difference between revisions of "JURI::getHost"

From Joomla! Documentation

(Bulk upload by Doxiki2)
 
m (User contributed notes: re-categorisation)
(2 intermediate revisions by one user not shown)
Line 8: Line 8:
 
<nowiki>[</nowiki>[[Description:JURI::getHost|Edit Descripton]]<nowiki>]</nowiki>
 
<nowiki>[</nowiki>[[Description:JURI::getHost|Edit Descripton]]<nowiki>]</nowiki>
 
</span>
 
</span>
===Since===
 
{{JVer|11.1 }}
 
===Synopsis===
 
 
<source lang="php">
 
<source lang="php">
public JURI->getHost ()
+
public function getHost ()
 
</source>
 
</source>
===Returns===
+
* '''Returns''' string The URI host.
string The URI host.
+
* '''Defined''' on line 570 of libraries/joomla/environment/uri.php
===Defined in===
+
* '''Since''' {{JVer|11.1 }}
libraries/joomla/environment/uri.php
+
===Referenced by===
+
 
===See also===
 
===See also===
 +
* {{JVer|11.1}} '''JURI::getHost source code''' on [[jplatform:environment/uri.php#cl-562|BitBucket]]
 +
* {{JVer|11.1}} Class [[JURI/11.1|JURI]]
 +
* {{JVer|11.1}} Subpackage [[Subpackage_Environment/11.1|Environment]]
 +
* [[JURI::getHost|Other versions of JURI::getHost]]
 +
{{SeeAlso:JURI::getHost}}
 
<span class="editsection" style="font-size:76%;">
 
<span class="editsection" style="font-size:76%;">
 
<nowiki>[</nowiki>[[SeeAlso:JURI::getHost|Edit See Also]]<nowiki>]</nowiki>
 
<nowiki>[</nowiki>[[SeeAlso:JURI::getHost|Edit See Also]]<nowiki>]</nowiki>
 
</span>
 
</span>
* [[JURI/11.1|JURI]]
+
===User contributed notes===
* [[JURI::getHost|Other versions of this method]]
+
{{SeeAlso:JURI::getHost}}
+
===Examples===
+
 
<CodeExamplesForm />
 
<CodeExamplesForm />
 
<dpl>
 
<dpl>
Line 34: Line 31:
 
category=MethodExample
 
category=MethodExample
 
include=*
 
include=*
 +
namespace=CodeExample
 
format= ,,,
 
format= ,,,
 
</dpl>
 
</dpl>
<noinclude>[[Category:JURI]][[Category:JURI::getHost]]</noinclude>
+
<noinclude>[[Category:JURI]]</noinclude>

Revision as of 11:53, 9 August 2012

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 JURI::getHost

Description

Get URI host Returns the hostname/ip or null if no hostname/ip was specified.

Description:JURI::getHost [Edit Descripton]

public function getHost ()
  • Returns string The URI host.
  • Defined on line 570 of libraries/joomla/environment/uri.php
  • Since Joomla 11.1

See also

SeeAlso:JURI::getHost [Edit See Also]

User contributed notes

<CodeExamplesForm />