[ Index ]

PHP Cross Reference of MantisBT

title

Body

[close]

/library/ezc/Graph/src/exceptions/ -> date_parsing.php (source)

   1  <?php
   2  /**
   3   * File containing the ezcGraphErrorParsingDateException class
   4   *
   5   * @package Graph
   6   * @version 1.5
   7   * @copyright Copyright (C) 2005-2009 eZ Systems AS. All rights reserved.
   8   * @license http://ez.no/licenses/new_bsd New BSD License
   9   */
  10  /**
  11   * Exception thrown when a date assigned to the 
  12   * {@link ezcGraphChartElementDateAxis} could not be parsed.
  13   *
  14   * @package Graph
  15   * @version 1.5
  16   */
  17  class ezcGraphErrorParsingDateException extends ezcGraphException
  18  {
  19      /**
  20       * Constructor
  21       * 
  22       * @param mixed $value
  23       * @return void
  24       * @ignore
  25       */
  26      public function __construct( $value )
  27      {
  28          $type = gettype( $value );
  29          parent::__construct( "Could not parse date '{$value}' of type '{$type}'." );
  30      }
  31  }
  32  
  33  ?>


Generated: Thu Jul 28 15:48:31 2011 Cross-referenced by PHPXref 0.7