Love Fuel?    Donate

FuelPHP Forums

Ask your question about FuelPHP in the appropriate forum, or help others by answering their questions.
Application status
  • Hi,

    Im almost done with my project here.... One last thing remains :)

    So I'm creating a mindmapping application using html5 canvas and fuelphp.
    As of now I'm implementing a save and save as function.

    Now the save (overwrite) function may only be activated once a mindmap has been loaded or saved (save_as).

    Whats the best way to implement this in FuelPHP? 

    Regards
  • Are you using the ORM package to manage your models?

    If so, you will just use the $model->save() call when you are creating or updating a record, and can also leverage the ->clone() functionality to create a clone() with a different name.

    If you are not using the ORM package you will need to implement the copy/clone functionality yourself to get the data mapped over to a new record with a a new name and new ID.

Howdy, Stranger!

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

In this Discussion