Akelos Framework v1 forum archive. This forum is no longer maintained. To report bugs please visit https://github.com/akelos/akelos/issues
    • CommentAuthorhpatoio
     

    this doesn't work in the console !

    I have a simple Author -> Books with has_many relation.

    When in the console I type

    $a = new Author(1); $booklist = $a->book->load();

    I get "Function load() doesn't exist"

    If I type print_r ($a.books) I get back Array()

    Where am I wrong ?

    -- Simone

    •  
      CommentAuthorbermi
     

    Simone could you open a ticket at trac.akelos.org with the commands in the order you called them?

    Thanks