Scriptlog Docs

Scriptlog Documentation

Code reference for the Scriptlog codebase

User Tools

Site Tools


scriptlog:lib:core:dbfactory

This is an old revision of the document!


DbFactory

Layer: Core · Source: lib/core/DbFactory.php:18 (lines 18–47)


class DbFactory

DbFactory Class

Docblock Metadata

^ Tag ^ Value ^
| ''@category'' | Core Class |
| ''@author'' | M.Noermoehammad |
| ''@license'' | MIT |
| ''@version'' | 1.0 |
| ''@since'' | Since Release 1.0 |

Inheritance

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

Constants (0)

None.

Properties (0)

None declared.

Methods (1)

^ Visibility ^ Method ^ Summary ^ Line ^
| public static | ''connect()'' | Connect | 28 |

connect()

public static function connect($connection, $options = [])

lines 28–46 (19)

Connect

^ Parameter ^ Type ^ Default ^ Description ^
| ''$connection'' | ''(untyped)'' | //required// | //none// |
| ''$options'' | ''(untyped)'' | ''[]'' | //none// |

Returns: (none declared)

Throws: ''DbException''


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

scriptlog/lib/core/dbfactory.1790413761.txt.gz · Last modified: by admin