control.php 789 B

123456789101112131415161718192021222324
  1. <?php
  2. /**
  3. * The control file of dataview module of ZenTaoPMS.
  4. *
  5. * @copyright Copyright 2009-2023 禅道软件(青岛)有限公司(ZenTao Software (Qingdao) Co., Ltd. www.cnezsoft.com)
  6. * @license ZPL (http://zpl.pub/page/zplv12.html)
  7. * @author Chunsheng Wang <chunsheng@cnezsoft.com>
  8. * @package dept
  9. * @version $Id: control.php 4157 2013-01-20 07:09:42Z wwccss $
  10. * @link https://www.zentao.net
  11. */
  12. class dataview extends control
  13. {
  14. /**
  15. * @param string $moduleName
  16. * @param string $methodName
  17. * @param string $appName
  18. */
  19. public function __construct($moduleName = '', $methodName = '', $appName = '')
  20. {
  21. parent::__construct($moduleName, $methodName, $appName);
  22. $this->dao->exec("SET @@sql_mode=''");
  23. }
  24. }