Layer: Tests · Source: tests/TablePrefixTest.php:84 (lines 84–102)
class TestDao
No parent, interface or trait. This is a root type.
None.
| Visibility | Type | Name | Default | Line |
|---|---|---|---|---|
protected | (untyped) | $prefix | '''''' | 86 |
| Visibility | Method | Summary | Line |
|---|---|---|---|
| public | __construct() | (undocumented) | 88 |
| protected | table() | (undocumented) | 93 |
| public | testTableMethod() | (undocumented) | 98 |
public function __construct()
lines 88–91 (4)
Takes no parameters.
protected function table($table)
lines 93–96 (4)
| Parameter | Type | Default | Description |
|---|---|---|---|
$table | (untyped) | required | none |
Returns: (none declared)
public function testTableMethod($table)
lines 98–101 (4)
| Parameter | Type | Default | Description |
|---|---|---|---|
$table | (untyped) | required | none |
Returns: (none declared)
| Mode | Target | Line |
|---|---|---|
require | require_once DIR . '/../lib/common.php'; | 14 |
require | require_once DIR . '/../install/include/dbtable.php'; | 16 |
| Alias | Fully-qualified name |
|---|---|
TestCase | PHPUnit\Framework\TestCase |
public function generate_table_prefix($length = 6)
Table Prefix Test
This page is generated from source by 'tools/gendoc'. Edits will be overwritten.