calendar.php 776 B

1234567891011121314151617181920
  1. <?php
  2. /**
  3. * The model file of calendar module of ZenTaoPMS.
  4. *
  5. * @copyright Copyright 2009-2012 禅道软件(青岛)有限公司(ZenTao Software (Qingdao) Co., Ltd. www.cnezsoft.com)
  6. * @license business(商业软件)
  7. * @author Yangyang Shi <shiyangyang@cnezsoft.com>
  8. * @package calendar
  9. * @version $Id$
  10. * @link http://www.zentao.net
  11. */
  12. public function getTasks4Calendar($executionID, $status = 'all', $orderBy = 'status_asc, id_desc', $pager = null)
  13. {
  14. return $this->loadExtension('calendar')->getTasks4Calendar($executionID, $status, $orderBy, $pager);
  15. }
  16. public function getEfforts4Calendar($executionID, $account = '', $year = '')
  17. {
  18. return $this->loadExtension('calendar')->getEfforts4Calendar($executionID, $account, $year);
  19. }