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
$Id: 6cdecc53a715fce4601b1ceb64c8ec95d29c1468 $  

\ContainsCondition

Package: phing\tasks\system\condition

Is one string part of another string?

Parent(s)
\Condition
Author
Hans Lellelid (Phing)  
Author
Stefan Bodewig (Ant)  
Version
$Id: 6cdecc53a715fce4601b1ceb64c8ec95d29c1468 $  

Properties

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

Methods

methodpublicevaluate( ) : void

Check whether string contains substring.

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.18.1.