API17

Difference between revisions of "JApplication::redirect"

From Joomla! Documentation

(Layout updates)
(Updated to r1448:247ba8d88526)
Line 8: Line 8:
 
<nowiki>[</nowiki>[[Description:JApplication::redirect|Edit Descripton]]<nowiki>]</nowiki>
 
<nowiki>[</nowiki>[[Description:JApplication::redirect|Edit Descripton]]<nowiki>]</nowiki>
 
</span>
 
</span>
===Synopsis===
 
 
<source lang="php">
 
<source lang="php">
public JApplication::redirect ($url, $msg='', $msgType='message', $moved=false)
+
public function redirect (
 +
        $url
 +
        $msg=''
 +
        $msgType='message'
 +
        $moved=false
 +
)
 
</source>
 
</source>
 
{| class="wikitable"
 
{| class="wikitable"
Line 40: Line 44:
 
|-
 
|-
 
|}
 
|}
===Returns===
+
* '''Returns'''
 
+
* '''Defined''' on line 312 of libraries/joomla/application/application.php
===Defined in===
 
libraries/joomla/application/application.php (line 312)
 
* see source code in [[jplatform:application/application.php#cl-312|BitBucket]]
 
===Referenced by===
 
 
===See also===
 
===See also===
 +
* {{JVer|11.1}} '''JApplication::redirect source code''' on [[jplatform:application/application.php#cl-304|BitBucket]]
 +
* {{JVer|11.1}} Class [[JApplication/11.1|JApplication]]
 +
* {{JVer|11.1}} Subpackage [[Subpackage_Application/11.1|Application]]
 +
* [[JApplication::redirect|Other versions of JApplication::redirect]]
 +
{{SeeAlso:JApplication::redirect}}
 
<span class="editsection" style="font-size:76%;">
 
<span class="editsection" style="font-size:76%;">
 
<nowiki>[</nowiki>[[SeeAlso:JApplication::redirect|Edit See Also]]<nowiki>]</nowiki>
 
<nowiki>[</nowiki>[[SeeAlso:JApplication::redirect|Edit See Also]]<nowiki>]</nowiki>
 
</span>
 
</span>
* [[JApplication/11.1|JApplication]]
+
===User contributed notes===
* [[JApplication::redirect|Other versions of this method]]
 
{{SeeAlso:JApplication::redirect}}
 
===Examples===
 
 
<CodeExamplesForm />
 
<CodeExamplesForm />
 
<dpl>
 
<dpl>
Line 61: Line 63:
 
category=MethodExample
 
category=MethodExample
 
include=*
 
include=*
 +
namespace=CodeExample
 
format= ,,,
 
format= ,,,
 
</dpl>
 
</dpl>
 
<noinclude>[[Category:JApplication]][[Category:JApplication::redirect]]</noinclude>
 
<noinclude>[[Category:JApplication]][[Category:JApplication::redirect]]</noinclude>

Revision as of 20: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.

Joomla 11.1 JApplication::redirect[edit]

Description[edit]

Redirect to another URL.

Template:Description:JApplication::redirect [Edit Descripton]

public function redirect (
        $url
        $msg=''
        $msgType='message'
        $moved=false
)
Parameter Type Default Description
$url
$msg
$msgType 'message'
$moved false
  • Returns
  • Defined on line 312 of libraries/joomla/application/application.php

See also[edit]

Template:SeeAlso:JApplication::redirect [Edit See Also]

User contributed notes[edit]

<CodeExamplesForm />