Beispiel #1
0
 /**
  * Answer a new object with the value specified
  * 
  * @param mixed $value
  * @param optional string $class The class to instantiate. Do NOT use outside 
  *		of this package.
  * @return object Integer
  * @access public
  * @static
  * @since 7/14/05
  */
 static function withValue($value, $class = 'Integer')
 {
     return parent::withValue($value, $class);
 }
Beispiel #2
0
 /**
  * Answer a new object with the value specified
  * 
  * @param mixed $value
  * @param optional string $class The class to instantiate. Do NOT use outside 
  *		of this package.
  * @return object Float
  * @access public
  * @since 7/14/05
  * @static
  */
 static function withValue($value, $class = 'Float')
 {
     return parent::withValue($value, $class);
 }