classes/phing/tasks/system/condition/ContainsCondition.php

Is one string part of another string?

author
Hans Lellelid (Phing)
author
Stefan Bodewig (Ant)
package
phing.tasks.system.condition
version
$Revision: 526 $

\ContainsCondition

Is one string part of another string?

Implements
\Condition
author
Hans Lellelid (Phing)
author
Stefan Bodewig (Ant)
package
phing.tasks.system.condition
version
$Revision: 526 $

Properties

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

Methods

methodpublic  evaluate( ) :
Check whether string contains substring.
Details
throws
methodpublic  setCaseSensitive(  $b ) :
Whether to search ignoring case or not.
Parameters
Name Type Description
$b
methodpublic  setString( string $a1 ) :
The string to search in.
Parameters
Name Type Description
$a1 string
methodpublic  setSubstring( string $a2 ) :
The string to search for.
Parameters
Name Type Description
$a2 string
Documentation was generated by DocBlox 0.13.1.