Scriptlog Docs

Scriptlog Documentation

Code reference for the Scriptlog codebase

User Tools

Site Tools


scriptlog:tests:testdao

TestDao

Layer: Tests · Source: tests/TablePrefixTest.php:84 (lines 84–102)


class TestDao

Inheritance

No parent, interface or trait. This is a root type.

Constants (0)

None.

Properties (1)

Visibility Type Name Default Line
protected (untyped) $prefix '''''' 86

Methods (3)

Visibility Method Summary Line
public __construct() (undocumented) 88
protected table() (undocumented) 93
public testTableMethod() (undocumented) 98

__construct()

public function __construct()

lines 88–91 (4)

Takes no parameters.

table()

protected function table($table)

lines 93–96 (4)

Parameter Type Default Description
$table (untyped) required none

Returns: (none declared)

testTableMethod()

public function testTableMethod($table)

lines 98–101 (4)

Parameter Type Default Description
$table (untyped) required none

Returns: (none declared)

Conditional Includes

Mode Target Line
require require_once DIR . '/../lib/common.php'; 14
require require_once DIR . '/../install/include/dbtable.php'; 16

Imports

Alias Fully-qualified name
TestCase PHPUnit\Framework\TestCase

File-level Functions

public function generate_table_prefix($length = 6)

Table Prefix Test


This page is generated from source by 'tools/gendoc'. Edits will be overwritten.

scriptlog/tests/testdao.txt · Last modified: by admin