| @@ 36-54 (lines=19) @@ | ||
| 33 | $this->init(); |
|
| 34 | } |
|
| 35 | ||
| 36 | final public function link() |
|
| 37 | { |
|
| 38 | $args = func_get_args(); |
|
| 39 | ||
| 40 | $parameters = 'A&' . $this->vendor . '\\' . $this->code; |
|
| 41 | ||
| 42 | if (isset($args[0])) { |
|
| 43 | $args[0] = $parameters .= '&' . $args[0]; |
|
| 44 | } else { |
|
| 45 | $args[0] = $parameters; |
|
| 46 | } |
|
| 47 | ||
| 48 | array_unshift($args, 'index.php'); |
|
| 49 | ||
| 50 | return forward_static_call_array([ |
|
| 51 | 'OSC\OM\OSCOM', |
|
| 52 | 'link' |
|
| 53 | ], $args); |
|
| 54 | } |
|
| 55 | ||
| 56 | final public function redirect() |
|
| 57 | { |
|
| @@ 56-74 (lines=19) @@ | ||
| 53 | ], $args); |
|
| 54 | } |
|
| 55 | ||
| 56 | final public function redirect() |
|
| 57 | { |
|
| 58 | $args = func_get_args(); |
|
| 59 | ||
| 60 | $parameters = 'A&' . $this->vendor . '\\' . $this->code; |
|
| 61 | ||
| 62 | if (isset($args[0])) { |
|
| 63 | $args[0] = $parameters .= '&' . $args[0]; |
|
| 64 | } else { |
|
| 65 | $args[0] = $parameters; |
|
| 66 | } |
|
| 67 | ||
| 68 | array_unshift($args, 'index.php'); |
|
| 69 | ||
| 70 | return forward_static_call_array([ |
|
| 71 | 'OSC\OM\OSCOM', |
|
| 72 | 'redirect' |
|
| 73 | ], $args); |
|
| 74 | } |
|
| 75 | ||
| 76 | final public function getCode() |
|
| 77 | { |
|