public function ok() { if ($this->theMessage == "load jamed") { MusicPlayer::stop(); } PHPFIT_Fixture_Action::$actor = $this->caller; }
/** * @param PHPFIT_Parse $cells */ public function doCells($cells) { $start = $this->theTime(); parent::doCells($cells); /* $cells->last()->more = $this->td(date('H:m:s', $start)); $split = $this->theTime() - $start; if ($split < 1.0) { $text = " "; } else { $text = $split; } $cells->last()->more = $this->td($text); */ }
public static function failLoadJam() { PHPFIT_Fixture_Action::$actor = new Dialog("load jamed", PHPFIT_Fixture_Action::$actor); }
/** * Implements start fixture * * Start aClass - Subsequent commands are directed to an instance of * aClass. This is similar to navigating to a particular GUI screen. * */ public function start() { $aClass = $this->cells->more->text(); self::$actor = $this->loadFixture($aClass); }