Jump to content

zombi

New Members
  • Posts

    2
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

zombi's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. The first line shouldn't be required, I should be able to do it on one.
  2. Ok as you can see, I'm creating an object and using $controller_request to name it. In the below code $controller_request is used to store the string returned from the $application->get_controller() method. Is there a way I can condense the two lines so that I no longer require $controller_request? $controller_request = $application->get_controller(); $controller = new $controller_request($application->get_action());
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.