public function testBuilder() { $builder = new Builder(); $builder->load_runfile($this->getFixture('Default.php')); $this->assertSame($builder, builder()); // assert there's a single task "default" }
function hide() { builder()->hide(); }
function invoke($task_name) { $application = builder()->get_application(); $application->invoke($task_name); }
function desc($description) { builder()->desc($description); }
builder("3"); } if (strlen($_POST['num4']) > 0) { builder("4"); } if (strlen($_POST['num5']) > 0) { builder("5"); } if (strlen($_POST['num6']) > 0) { builder("6"); } if (strlen($_POST['num7']) > 0) { builder("7"); } if (strlen($_POST['num8']) > 0) { builder("8"); } echo "</textarea>"; } function opt($cmds, $sel) { //adding all the different commands to the dropdown foreach ($cmds as $value) { $value = stripcslashes($value); $line = "<option value='{$value}'"; if ($value == $sel) { $line = $line . " selected "; } $line = $line . ">" . $value . "</option>"; echo $line; }