Created
January 20, 2011 18:07
-
-
Save shameerc/788287 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| class Controller_Foo extends | |
| { | |
| public function action_foo() | |
| { | |
| $ext_response = Request::factory('http://site.com/foo/bar/bas') | |
| ->execute() | |
| ->response; | |
| } | |
| public function action_bar() | |
| { | |
| $int_response = Request::factory('foo/bar') | |
| ->execute() | |
| ->response; | |
| } | |
| } | |
| ?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment