Back to index

php5  5.3.10
Public Member Functions
gtIsSpecifiedFunctionOrMethod Class Reference

Check that either a method or a function is specified. More...

Inheritance diagram for gtIsSpecifiedFunctionOrMethod:
Inheritance graph
[legend]
Collaboration diagram for gtIsSpecifiedFunctionOrMethod:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 check ($clo)
 getMessage ()

Detailed Description

Check that either a method or a function is specified.

Definition at line 7 of file gtIsSpecifiedFunctionOrMethod.php.


Member Function Documentation

Reimplemented from gtPreCondition.

Definition at line 9 of file gtIsSpecifiedFunctionOrMethod.php.

                               {
    if($clo->hasOption('f') || $clo->hasOption('m')) {
    
        return true;
      }
    return false;
  }

Reimplemented from gtPreCondition.

Definition at line 17 of file gtIsSpecifiedFunctionOrMethod.php.

                               {
    return gtText::get('functionOrMethodNotSpecified');
  }

Here is the call graph for this function:


The documentation for this class was generated from the following file: