BxDolStudioDesignerQuery.php 600 B

123456789101112131415161718192021222324252627
  1. <?php defined('BX_DOL') or die('hack attempt');
  2. /**
  3. * Copyright (c) BoonEx Pty Limited - http://www.boonex.com/
  4. * CC-BY License - http://creativecommons.org/licenses/by/3.0/
  5. *
  6. * @defgroup TridentStudio Trident Studio
  7. * @{
  8. */
  9. class BxDolStudioDesignerQuery extends BxDolStudioPageQuery
  10. {
  11. function __construct()
  12. {
  13. parent::__construct();
  14. }
  15. public function updateInjection($sName, $sValue)
  16. {
  17. return (int)$this->query("UPDATE `sys_injections` SET `data`=:data WHERE `name`=:name", array(
  18. 'name' => $sName,
  19. 'data' => $sValue
  20. )) > 0;
  21. }
  22. }
  23. /** @} */