Scriptlog Docs

Scriptlog Documentation

Code reference for the Scriptlog codebase

User Tools

Site Tools


scriptlog:lib:model:commentmodel

This is an old revision of the document!


CommentModel

Layer: Model · Source: lib/model/CommentModel.php:19 (lines 19–40)


class CommentModel extends BaseModel

Docblock Metadata

^ Tag ^ Value ^
| ''@category'' | Model class |
| ''@author'' | M.Noermoehammad |
| ''@license'' | MIT |
| ''@version'' | 1.0 |

Inheritance

^ Relation ^ Type ^ Meaning ^
| extends | [[scriptlog:lib:core:basemodel|''BaseModel'']] | parent class/interface |

Constants (0)

None.

Properties (0)

None declared.

Methods (1)

^ Visibility ^ Method ^ Summary ^ Line ^
| public | ''addComment()'' | addComment | 27 |

addComment()

public function addComment($bind)

lines 27–39 (13)

addComment

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

Returns: (none declared)

Imports

^ Alias ^ Fully-qualified name ^
| ''BaseModel'' | [[scriptlog:lib:core:basemodel|''Scriptlog\Core\BaseModel'']] |

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

scriptlog/lib/model/commentmodel.1790413761.txt.gz · Last modified: by admin