Love Fuel?    Donate

FuelPHP Forums

Ask your question about FuelPHP in the appropriate forum, or help others by answering their questions.
How To Another Module Model Access?
  • Hi,

    have two custom module;
    bla, bla2
    and custom controller
    controller in load bla2 module.
    bla2\Model\Bla2Model.php Bla2Model model file.
    how to access Bla2Model?
  • HarroHarro
    Accepted Answer
    Depends on how you have defined the namespace in the model, could be either

    \Bla2\Model_Bla2model (if the namespace is Bla2)

    or

    \Bla2\Model\Bla2model (if the namespace is Bla2\Model).

Howdy, Stranger!

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

In this Discussion