Deletions:
lic4trelbo
dronelsit
clirol
Additions:
lic4trelbo
Additions:
dronelsit
Additions:
clirol
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"
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"