*/ public function menuItems( BaseComment $comment ): array { return []; } /** * Add elements to the comment form * * @param BaseComment|null $comment * @param BaseItem $item * @return array */ public function formElements( ?BaseComment $comment, BaseItem $item ): array { return []; } /** * Triggered after the comment form is saved * * @param BaseComment $comment * @param array $values * @return void */ public function formPostSave( BaseComment $comment, array $values ): void { } /** * Add custom sort options to the content table for this class * @note $comment will ALWAYS be null. * * @param BaseItem|null $comment * @param Content $table * @return array */ public function contentTableSortOptions( ?BaseItem $comment, Content $table ) : array { return []; } /** * Return the sort direction for the selected sort option, * or NULL to use the default parent method. * * @note $comment will ALWAYS be null. * * @param BaseItem|null $comment * @param Content $table * @param string $sortBy * @return string|null */ public function contentTableSortDirection( ?BaseItem $comment, Content $table, string $sortBy ) : string|null { return null; } /** * Add custom filters to the content table for this class * @note $comment will ALWAYS be null. * * @param BaseItem|null $comment * @param Content $table * @return array */ public function contentTableFilters( ?BaseItem $comment, Content $table ) : array { return []; } /** * Add custom conditions to the where clause for a content table. * @note $comment will ALWAYS be null. * * @param BaseItem|null $comment * @param Content $table * @return array */ public function contentTableWhere( ?BaseItem $comment, Content $table ) : array { return []; } }