EqualsCondition

Implements \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

copyright

2001,2002 THYRELL. All rights reserved

version

$Id: 9827cf0156c85ef453f99b60353c474650b4dc5f $

access

public

package

phing.tasks.system.condition

Methods

setArg1

setArg1($a1) 

Arguments

$a1

setArg2

setArg2($a2) 

Arguments

$a2

Should we want to trim the arguments before comparing them?

setTrim(boolean $b) 

Arguments

$b

boolean

Should the comparison be case sensitive?

setCaseSensitive(boolean $b) 

Arguments

$b

boolean

evaluate

evaluate() 

Properties

arg1

arg1 : 

arg2

arg2 : 

trim

trim : 

caseSensitive

caseSensitive :