Scriptlog Docs

Scriptlog Documentation

Code reference for the Scriptlog codebase

User Tools

Site Tools


scriptlog:lib:handler:newpostcmd

This is an old revision of the document!


NewPostCmd

Layer: Handler · Source: lib/handler/admin/post/NewPostCmd.php:13 (lines 13–34)


class NewPostCmd implements AdminActionCommand

Command for creating a new post.

Inheritance

^ Relation ^ Type ^ Meaning ^
| implements | [[scriptlog:lib:handler:adminactioncommand|''AdminActionCommand'']] | contract |

Constants (0)

None.

Properties (0)

None declared.

Methods (1)

^ Visibility ^ Method ^ Summary ^ Line ^
| public | ''execute()'' | {@inheritdoc} | 18 |

execute()

public function execute(array $context): void

lines 18–33 (16)

{@inheritdoc}

^ Parameter ^ Type ^ Default ^ Description ^
| ''$context'' | ''array'' | //required// | //none// |

Returns: void

Imports

^ Alias ^ Fully-qualified name ^
| ''ActionConst'' | [[scriptlog:lib:core:actionconst|''Scriptlog\Core\ActionConst'']] |
| ''AdminActionCommand'' | [[scriptlog:lib:handler:adminactioncommand|''Scriptlog\Handler\AdminActionCommand'']] |

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

scriptlog/lib/handler/newpostcmd.1790413761.txt.gz · Last modified: by admin