tasks/system/condition/EqualsCondition.php

Show: inherited
Table of Contents

A simple string comparator. Compares two strings for eqiality in a binary safe manner. Implements the condition interface specification.

@author Andreas Aderhold andi@binarycloud.com

Access
public  
Copyright
2001,2002 THYRELL. All rights reserved  
Package
phing.tasks.system.condition  
Version
$Id: faec716501a00cdeb84b8c893b5bbe5c76064dec $  

\EqualsCondition

Package: phing\tasks\system\condition

A simple string comparator. Compares two strings for eqiality in a binary safe manner. Implements the condition interface specification.

@author Andreas Aderhold andi@binarycloud.com

Parent(s)
\Condition
Access
public  
Copyright
2001,2002 THYRELL. All rights reserved  
Version
$Id: faec716501a00cdeb84b8c893b5bbe5c76064dec $  

Properties

Propertyprivate  $arg1= ''
Details
Type
n/a
Propertyprivate  $arg2= ''
Details
Type
n/a
Propertyprivate  $caseSensitive= 'true'
Default valuetrueDetails
Type
n/a
Propertyprivate  $trim= 'false'
Default valuefalseDetails
Type
n/a

Methods

methodpublicevaluate( ) : void

methodpublicsetArg1(  $a1 ) : void

Parameters
Name Type Description
$a1
methodpublicsetArg2(  $a2 ) : void

Parameters
Name Type Description
$a2
methodpublicsetCaseSensitive( boolean $b ) : void

Should the comparison be case sensitive?

Parameters
Name Type Description
$b boolean
methodpublicsetTrim( boolean $b ) : void

Should we want to trim the arguments before comparing them?

Parameters
Name Type Description
$b boolean
Documentation was generated by DocBlox 0.18.1.