mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-03 16:51:40 +09:00
Merge remote-tracking branch 'upstream/develop' into develop
This commit is contained in:
commit
df46d01181
1 changed files with 5 additions and 1 deletions
|
|
@ -125,11 +125,15 @@ class ModuleObject extends BaseObject
|
|||
/**
|
||||
* setter to set an url for redirection
|
||||
*
|
||||
* @param string $url url for redirection
|
||||
* @param string|array $url url for redirection
|
||||
* @return $this
|
||||
*/
|
||||
public function setRedirectUrl($url = './', $output = NULL)
|
||||
{
|
||||
if (is_array($url))
|
||||
{
|
||||
$url = getNotEncodedUrl($url);
|
||||
}
|
||||
$this->add('redirect_url', $url);
|
||||
|
||||
if($output !== NULL && is_object($output))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue