tasks/system/condition/ContainsCondition.php

Show: inherited
Table of Contents

Is one string part of another string?

Author
Hans Lellelid (Phing)  
Author
Stefan Bodewig (Ant)  
Package
phing.tasks.system.condition  
Version
$Revision: 526 $  

\ContainsCondition

Package: phing\tasks\system\condition

Is one string part of another string?

Implements
\Condition
Author
Hans Lellelid (Phing)  
Author
Stefan Bodewig (Ant)  
Version
$Revision: 526 $  

Properties

Propertyprivate  $caseSensitive= 'true'
Default valuetrueDetails
Type
Propertyprivate  $string= ''
Details
Type
Propertyprivate  $subString= ''
Details
Type

Methods

methodpublicevaluate( ) : boolean

Check whether string contains substring.

Returns
Type Description
boolean
Throws
Exception Description
\BuildException
methodpublicsetCaseSensitive(  $b ) : void

Whether to search ignoring case or not.

Parameters
Name Type Description
$b
methodpublicsetString( string $a1 ) : void

The string to search in.

Parameters
Name Type Description
$a1 string
methodpublicsetSubstring( string $a2 ) : void

The string to search for.

Parameters
Name Type Description
$a2 string
Documentation was generated by DocBlox 0.15.1.