Actions

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

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 JApplication::redirect

Description

Redirect to another URL.

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

SeeAlso:JApplication::redirect [Edit See Also]

User contributed notes

<CodeExamplesForm />