Scriptlog Docs

Scriptlog Documentation

Code reference for the Scriptlog codebase

User Tools

Site Tools


scriptlog:lib:core:baseapp

This is an old revision of the document!


BaseApp

Layer: Core · Source: lib/core/BaseApp.php:17 (lines 17–111)


abstract class BaseApp implements AppInterface

Abstract Class BaseApp implements AppInterface

Docblock Metadata

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

Inheritance

^ Relation ^ Type ^ Meaning ^
| implements | [[scriptlog:lib:core:appinterface|''AppInterface'']] | contract |

Constants (0)

None.

Properties (0)

None declared.

Methods (8)

^ Visibility ^ Method ^ Summary ^ Line ^
| public | ''setPageTitle()'' | set page title | 40 |
| public | ''getPageTitle()'' | get page title | 51 |
| public | ''setFormAction()'' | set form action | 62 |
| public | ''getFormAction()'' | get form action | 73 |
| protected | ''listItems()'' | abstract method list items | 84 |
| protected | ''insert()'' | abstract method insert | 92 |
| protected | ''update()'' | Abstract method update | 101 |
| protected | ''remove()'' | Abstract method remove | 110 |

setPageTitle()

public function setPageTitle($pageTitle)

lines 40–43 (4)

set page title

^ Parameter ^ Type ^ Default ^ Description ^
| ''$pageTitle'' | ''(untyped)'' | //required// | //none// |

Returns: (none declared)

getPageTitle()

public function getPageTitle()

lines 51–54 (4)

get page title

Takes no parameters.

Returns: (none declared) — string

setFormAction()

public function setFormAction($formAction)

lines 62–65 (4)

set form action

^ Parameter ^ Type ^ Default ^ Description ^
| ''$formAction'' | ''(untyped)'' | //required// | //none// |

Returns: (none declared)

getFormAction()

public function getFormAction()

lines 73–76 (4)

get form action

Takes no parameters.

Returns: (none declared) — string

listItems()

protected function listItems()

line 84

abstract method list items

Takes no parameters.

Returns: (none declared)

insert()

protected function insert()

line 92

abstract method insert

Takes no parameters.

Returns: (none declared)

update()

protected function update($id)

line 101

Abstract method update

^ Parameter ^ Type ^ Default ^ Description ^
| ''$id'' | ''(untyped)'' | //required// | //none// |

Returns: (none declared)

remove()

protected function remove($id)

line 110

Abstract method remove

^ Parameter ^ Type ^ Default ^ Description ^
| ''$id'' | ''(untyped)'' | //required// | //none// |

Returns: (none declared)


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

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