This forum is in READ-ONLY mode.
You can look around, but if you want to ask a new question, please use the new forum.
Home » development » Documentation » Trying to understand the framework structure/inheritance
Trying to understand the framework structure/inheritance [message #96996] Thu, 08 April 2010 23:35
kelmadics  is currently offline kelmadics
Messages: 1
Registered: April 2010
Junior Member
Hello all,

New to symfony and mvc framework here.
I am doing the jobeet tutorial and just trying to figure out the code structure and inheritance and my question is in this code:

class jobActions extends sfActions
  public function executeShow(sfWebRequest $request)
    $this->job = $this->getRoute()->getObject();

I am trying to figure out how was symfony able to find the option to use or access the getObject() method of the sfObjectRoute class since when I looked at the sfAction::getRoute() method I cant find any instance of sfObjectRoute class where getObject() belongs nor when I look at the structure of sfAction I cant find any instance of sfObjectRoute?

I am probably over thinking this but from a new users point of view, when I look at the documentation I would have no idea that I can use the getObject() method when I use getRoute().

Thanks for the help and enlightening me.

[Updated on: Thu, 08 April 2010 23:50]

Previous Topic:Problem solving tutorial or thingsToCheckBeforeAsking list
Next Topic:Tutorials for Windows
Goto Forum:

powered by FUDforum - copyright ©2001-2004 FUD Forum Bulletin Board Software