Love Fuel?    Donate

FuelPHP Forums

Ask your question about FuelPHP in the appropriate forum, or help others by answering their questions.
Getting Variables from Parent Class
  • Dear,

    i have created a class namely Controller_backend

    and Controller_dashboard extended to Controller_backend

    I would like to get some variables declared in Controller_backend to dashboard,

    Is it possible
  • What do you mean by variables?

    Any class properties in the parent will be available it it's child classes too. That is how extending works.

Howdy, Stranger!

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

In this Discussion