ContainsCondition

Implements \Condition

Is one string part of another string?

author

Hans Lellelid hans@xmpl.org (Phing)

author

Stefan Bodewig stefan.bodewig@epost.de (Ant)

version

$Id: 6cdecc53a715fce4601b1ceb64c8ec95d29c1468 $

package

phing.tasks.system.condition

Methods

The string to search in.

setString(string $a1) 

Arguments

$a1

string

The string to search for.

setSubstring(string $a2) 

Arguments

$a2

string

Whether to search ignoring case or not.

setCaseSensitive($b) 

Arguments

$b

Check whether string contains substring.

evaluate() 
throws

Properties

string

string : 

subString

subString : 

caseSensitive

caseSensitive :