Love Fuel?    Donate

FuelPHP Forums

Ask your question about FuelPHP in the appropriate forum, or help others by answering their questions.
orm result
  • I have the following code: $request = Model_Request::find_by_shortened_id(3);
    echo var_dump($request->name); it returns 1 row if i execute the query that I got from the profiler manually, however when I try to access the attribute of $request->name, it returns undefined, what gives? edit:
    this is the code for the model:
  • You are overwriting the __construct() method without supporting its native implementation (passing on the args it gets passed to the parent::__construct()), thus hydration of the instances could never work.
  • dohhh i missed that
    thank you jelmer.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion