@@ 999-1006 (lines=8) @@ | ||
996 | * |
|
997 | * @return string |
|
998 | */ |
|
999 | protected function getRouteAction($options) |
|
1000 | { |
|
1001 | if (is_array($options)) { |
|
1002 | return $this->url->route($options[0], array_slice($options, 1)); |
|
1003 | } |
|
1004 | ||
1005 | return $this->url->route($options); |
|
1006 | } |
|
1007 | ||
1008 | /** |
|
1009 | * Get the action for an "action" option. |
|
@@ 1015-1022 (lines=8) @@ | ||
1012 | * |
|
1013 | * @return string |
|
1014 | */ |
|
1015 | protected function getControllerAction($options) |
|
1016 | { |
|
1017 | if (is_array($options)) { |
|
1018 | return $this->url->action($options[0], array_slice($options, 1)); |
|
1019 | } |
|
1020 | ||
1021 | return $this->url->action($options); |
|
1022 | } |
|
1023 | ||
1024 | /** |
|
1025 | * Get the form appendage for the given method. |