[ Index ]

PHP Cross Reference of Limb3

title

Body

[close]

/active_record/src/ -> lmbARNotFoundException.class.php (source)

   1  <?php
   2  /*
   3   * Limb PHP Framework
   4   *
   5   * @link http://limb-project.com 
   6   * @copyright  Copyright &copy; 2004-2007 BIT(http://bit-creative.com)
   7   * @license    LGPL http://www.gnu.org/copyleft/lesser.html 
   8   */
   9  
  10  /**

  11   * class lmbARNotFoundException.

  12   *

  13   * @package active_record

  14   * @version $Id: lmbARNotFoundException.class.php 5945 2007-06-06 08:31:43Z pachanga $

  15   */
  16  class lmbARNotFoundException extends lmbARException
  17  {
  18    protected $id;
  19    protected $class;
  20  
  21    function __construct($class, $id)
  22    {
  23      $this->id = $id;
  24      $this->class = $class;
  25  
  26      parent :: __construct("Can't load ActiveRecord '" . $class . "' with id '$id'");
  27    }
  28  
  29    function getId()
  30    {
  31      return $this->id;
  32    }
  33  
  34    function getClass()
  35    {
  36      return $this->class;
  37    }
  38  }
  39  
  40  ?>


Generated: Tue Oct 7 05:02:03 2008 Cross-referenced by PHPXref 0.7