wCMF Wiki : DashboardExample

HomePage :: Categories :: PageIndex :: RecentChanges :: Login/Register

Revision [391]

Last edited on 2007-11-22 16:37:36 by GiuseppePlatania
Deletions:
lic4trelbo
dronelsit
clirol


Revision [382]

Edited on 2007-11-16 23:09:34 by ZeltaTrtro (unregistered user)
Additions:
lic4trelbo


Revision [381]

Edited on 2007-11-16 22:59:37 by TaletOdron (unregistered user)
Additions:
dronelsit


Revision [376]

Edited on 2007-11-14 22:59:07 by ErliaCchit (unregistered user)
Additions:
clirol


Revision [162]

Edited on 2007-06-01 13:21:18 by GiuseppePlatania
Additions:
=====HOW TO=====
the code uses the ObjectQuery class to load only a part of all the objects.
// tasks attached to worker with status != "completed"
Deletions:
// tasks attached to worker with status != "completed"


Revision [161]

Edited on 2007-06-01 13:20:17 by GiuseppePlatania [created]
Additions:
=====Introduction=====
This is an advanced example of a Dashboard coming from the EuroCom model.
In the model a user has a Worker and a worker has tasks, records and customers assigned.
We want to load all the customers, the Tasks that have a status different from 'completed' and the reports of the last 3 months.
Finally we will pass them to a view.

// tasks attached to worker with status != "completed"
Deletions:
/**
* wCMF - wemove Content Management Framework
* Copyright (C) 2005 wemove digital solutions GmbH
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
* $Id: class.DashboardController.php 295 2007-05-31 11:34:25Z iherwig $
// tasks attached to worker with status != "completed"


Revision [160]

The oldest known version of this page was created on 2007-06-01 13:14:23 by GiuseppePlatania
Valid XHTML 1.0 Transitional :: Valid CSS :: Powered by WikkaWiki
Page was generated in 0.1492 seconds