how does this code work missing actionStore function in cont

Discuss about Group-Office development here

Moderator: Developers

dotskeshav
Posts: 2
Joined: Wed Jul 02, 2014 6:18 am

how does this code work missing actionStore function in cont

Postby dotskeshav » Mon Jul 14, 2014 9:49 am

I was working with a group office CRM.

on book.js where below code was written

Code: Select all

store: new GO.data.JsonStore({
               url: GO.url('mymodule/mybook/store'),
               fields: ['id', 'name'],
               remote: true,
               paging: true
            }), 


so there must be a actionStore function would exist in mybook controller but i found no such function on mybookController.php and code was working fine.

there is only one function called formatColumns.

How does this CRM works? there is no clear guide except one single page on wiki.
richarddodd
Posts: 66
Joined: Fri Jun 21, 2013 2:55 pm

Re: how does this code work missing actionStore function in

Postby richarddodd » Mon Jul 14, 2014 1:54 pm

checkout \GO\Base\Controller\AbstractModelController. It implements a lot of stuff for you. :)

Return to “Development Chats”

Who is online

Users browsing this forum: No registered users and 3 guests

cron