Version 5.0.6
This commit is contained in:
1 parent
a3a4a9ccbd
commit
b89858b2ff
1214 files changed
+92828
-14859
No files matched your search
@@ -99,11 +99,11 @@ abstract class Comment
|
||||
* Add custom sort options to the content table for this class
|
||||
* @note $comment will ALWAYS be null.
|
||||
*
|
||||
* @param BaseItem|null $comment
|
||||
* @param BaseComment|null $comment
|
||||
* @param Content $table
|
||||
* @return array
|
||||
*/
|
||||
public function contentTableSortOptions( ?BaseItem $comment, Content $table ) : array
|
||||
public function contentTableSortOptions( ?BaseComment $comment, Content $table ) : array
|
||||
{
|
||||
return [];
|
||||
}
|
||||
@@ -114,12 +114,12 @@ abstract class Comment
|
||||
*
|
||||
* @note $comment will ALWAYS be null.
|
||||
*
|
||||
* @param BaseItem|null $comment
|
||||
* @param BaseComment|null $comment
|
||||
* @param Content $table
|
||||
* @param string $sortBy
|
||||
* @return string|null
|
||||
*/
|
||||
public function contentTableSortDirection( ?BaseItem $comment, Content $table, string $sortBy ) : string|null
|
||||
public function contentTableSortDirection( ?BaseComment $comment, Content $table, string $sortBy ) : string|null
|
||||
{
|
||||
return null;
|
||||
}
|
||||
@@ -128,11 +128,11 @@ abstract class Comment
|
||||
* Add custom filters to the content table for this class
|
||||
* @note $comment will ALWAYS be null.
|
||||
*
|
||||
* @param BaseItem|null $comment
|
||||
* @param BaseComment|null $comment
|
||||
* @param Content $table
|
||||
* @return array
|
||||
*/
|
||||
public function contentTableFilters( ?BaseItem $comment, Content $table ) : array
|
||||
public function contentTableFilters( ?BaseComment $comment, Content $table ) : array
|
||||
{
|
||||
return [];
|
||||
}
|
||||
@@ -141,12 +141,26 @@ abstract class Comment
|
||||
* Add custom conditions to the where clause for a content table.
|
||||
* @note $comment will ALWAYS be null.
|
||||
*
|
||||
* @param BaseItem|null $comment
|
||||
* @param BaseComment|null $comment
|
||||
* @param Content $table
|
||||
* @return array
|
||||
*/
|
||||
public function contentTableWhere( ?BaseItem $comment, Content $table ) : array
|
||||
public function contentTableWhere( ?BaseComment $comment, Content $table ) : array
|
||||
{
|
||||
return [];
|
||||
}
|
||||
|
||||
/**
|
||||
* Modify the table rows before output
|
||||
*
|
||||
* @note $comment will always be null
|
||||
* @param BaseComment|null $comment
|
||||
* @param Content $table
|
||||
* @param array $rows
|
||||
* @return void
|
||||
*/
|
||||
public function contentTableGetRows( ?BaseComment $comment, Content $table, array &$rows ) : void
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user