Back to index

php5  5.3.10
gtIsSpecifiedFunctionOrMethod.php
Go to the documentation of this file.
00001 <?php
00002 
00007 class gtIsSpecifiedFunctionOrMethod extends gtPreCondition {
00008   
00009   public function check( $clo) {
00010     if($clo->hasOption('f') || $clo->hasOption('m')) {
00011     
00012         return true;
00013       }
00014     return false;
00015   }
00016   
00017   public function getMessage() {
00018     return gtText::get('functionOrMethodNotSpecified');
00019   }
00020 }
00021 ?>