PageRenderTime 32ms CodeModel.GetById 10ms RepoModel.GetById 0ms app.codeStats 0ms

/core/xpdo/om/sqlite/xpdoobject.class.php

http://github.com/modxcms/revolution
PHP | 53 lines | 22 code | 2 blank | 29 comment | 1 complexity | 08ab3298e1010fea0faa738f610deae0 MD5 | raw file
Possible License(s): GPL-2.0, Apache-2.0, BSD-3-Clause, LGPL-2.1
  1. <?php
  2. /*
  3. * Copyright 2010-2015 by MODX, LLC.
  4. *
  5. * This file is part of xPDO.
  6. *
  7. * xPDO is free software; you can redistribute it and/or modify it under the
  8. * terms of the GNU General Public License as published by the Free Software
  9. * Foundation; either version 2 of the License, or (at your option) any later
  10. * version.
  11. *
  12. * xPDO is distributed in the hope that it will be useful, but WITHOUT ANY
  13. * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
  14. * A PARTICULAR PURPOSE. See the GNU General Public License for more details.
  15. *
  16. * You should have received a copy of the GNU General Public License along with
  17. * xPDO; if not, write to the Free Software Foundation, Inc., 59 Temple Place,
  18. * Suite 330, Boston, MA 02111-1307 USA
  19. */
  20. /**
  21. * Contains a derivative of the xPDOObject class for SQLite.
  22. *
  23. * This file contains the base persistent object classes for SQLite, which your
  24. * user-defined classes will extend when implementing an xPDO object model
  25. * targeted at the SQLite platform.
  26. *
  27. * @package xpdo
  28. * @subpackage om.sqlite
  29. */
  30. if (!class_exists('xPDOObject')) {
  31. /** Include the parent {@link xPDOObject} class. */
  32. include_once (strtr(realpath(dirname(__FILE__)), '\\', '/') . '/../xpdoobject.class.php');
  33. }
  34. /**
  35. * Implements extensions to the base xPDOObject class for SQLite.
  36. *
  37. * {@inheritdoc}
  38. *
  39. * @package xpdo
  40. * @subpackage om.sqlite
  41. */
  42. class xPDOObject_sqlite extends xPDOObject {}
  43. /**
  44. * Extend this abstract class to define a class having an integer primary key.
  45. *
  46. * @package xpdo
  47. * @subpackage om.sqlite
  48. */
  49. class xPDOSimpleObject_sqlite extends xPDOSimpleObject {}