Back to index

php5  5.3.10
Public Member Functions | Private Attributes
gtPreConditionList Class Reference

List of preconditions. More...

List of all members.

Public Member Functions

 check ($clo)
 Create an instance of each pre-condition and run their check methods.

Private Attributes

 $preConditions

Detailed Description

List of preconditions.

Definition at line 7 of file gtPreConditionList.php.


Member Function Documentation

Create an instance of each pre-condition and run their check methods.

Definition at line 23 of file gtPreConditionList.php.

                              {
    foreach ($this->preConditions as $preCon) {
      $checkThis = new $preCon;
      if(!$checkThis->check($clo)) {
        echo $checkThis->getMessage();
        die(gtText::get('help'));
      }
    }
  }

Here is the call graph for this function:


Member Data Documentation

Initial value:
 array(
      'gtIsSpecifiedTestType',
      'gtIsSpecifiedFunctionOrMethod',  
      'gtIfClassHasMethod',
      'gtIsValidClass',
      'gtIsValidFunction',
      'gtIsValidMethod',
  )

Definition at line 9 of file gtPreConditionList.php.


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