[ Index ]
 

Code source de Symfony 1.0.0

Accédez au Source d'autres logiciels libresSoutenez Angelica Josefina !

title

Body

[fermer]

/lib/vendor/pake/ -> pakeNumberCompare.class.php (sommaire)

(pas de description)

Author: Fabien Potencier <fabien.potencier@symfony-project.com> php port
Author: Richard Clamp <richardc@unixbeard.net> perl version
Copyright: 2004-2005 Fabien Potencier <fabien.potencier@symfony-project.com>
Copyright: 2002 Richard Clamp <richardc@unixbeard.net>
License: see the LICENSE file included in the distribution
Version: SVN: $Id: pakeNumberCompare.class.php 1791 2006-08-23 21:17:06Z fabien $
Poids: 120 lignes (4 kb)
Inclus ou requis:0 fois
Référencé: 0 fois
Nécessite: 0 fichiers

Définit 1 class

pakeNumberCompare:: (2 méthodes):
  __construct()
  test()


Classe: pakeNumberCompare  - X-Ref

Numeric comparisons.

sfNumberCompare compiles a simple comparison to an anonymous
subroutine, which you can call with a value to be tested again.
Now this would be very pointless, if sfNumberCompare didn't understand
magnitudes.
The target value may use magnitudes of kilobytes (C<k>, C<ki>),
megabytes (C<m>, C<mi>), or gigabytes (C<g>, C<gi>).  Those suffixed
with an C<i> use the appropriate 2**n version in accordance with the
IEC standard: http://physics.nist.gov/cuu/Units/binary.html

based on perl Number::Compare module.

__construct($test)   X-Ref
Pas de description

test($number)   X-Ref
Pas de description



Généré le : Fri Mar 16 22:42:14 2007 par Balluche grâce à PHPXref 0.7