Source for file model.php

Documentation is available at model.php

  1. <?php
  2. /**
  3.  * @package     Joomla.Platform
  4.  * @subpackage  Model
  5.  *
  6.  * @copyright   Copyright (C) 2005 - 2013 Open Source Matters, Inc. All rights reserved.
  7.  * @license     GNU General Public License version 2 or later; see LICENSE
  8.  */
  9.  
  10. defined('JPATH_PLATFORM'or die;
  11.  
  12. /**
  13.  * Joomla Platform Model Interface
  14.  *
  15.  * @package     Joomla.Platform
  16.  * @subpackage  Model
  17.  * @since       12.1
  18.  */
  19. interface JModel
  20. {
  21.     /**
  22.      * Get the model state.
  23.      *
  24.      * @return  JRegistry  The state object.
  25.      *
  26.      * @since   12.1
  27.      */
  28.     public function getState();
  29.  
  30.     /**
  31.      * Set the model state.
  32.      *
  33.      * @param   JRegistry  $state  The state object.
  34.      *
  35.      * @return  void 
  36.      *
  37.      * @since   12.1
  38.      */
  39.     public function setState(JRegistry $state);
  40. }

Documentation generated on Tue, 19 Nov 2013 15:08:37 +0100 by phpDocumentor 1.4.3