Static Public Member Functions | |
| static | isMain ($from) |
| Check if the calling script is included or if it is the main script being run. Comes in handy when you need to determine whether to run tests in a library or not. | |
Definition at line 261 of file tlib.php.
| static TLControlStruct::isMain | ( | $ | from | ) | [static] |
Check if the calling script is included or if it is the main script being run. Comes in handy when you need to determine whether to run tests in a library or not.
| $from | (string) Pass the __FILE__ constant to this variable when you call this method. |
1.4.7