Back to index

php5  5.3.10
Public Member Functions
gtIfClassHasMethod Class Reference

If use has requested a class check that method is specified. More...

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

List of all members.

Public Member Functions

 check ($clo)
 getMessage ()

Detailed Description

If use has requested a class check that method is specified.

Definition at line 7 of file gtIfClassHasMethod.php.


Member Function Documentation

Reimplemented from gtPreCondition.

Definition at line 9 of file gtIfClassHasMethod.php.

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

Reimplemented from gtPreCondition.

Definition at line 19 of file gtIfClassHasMethod.php.

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

Here is the call graph for this function:


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