Version 5.0.6

This commit is contained in:
Neo committed 2025-12-19 18:55:49 -08:00
1 parent a3a4a9ccbd
commit b89858b2ff
1214 files changed
+92828 -14859

No files matched your search

+21 -4
View File
@@ -152,15 +152,32 @@ abstract class Item
}
/**
* Add custom conditions to the where clause for a content table.
* Modify the where clause for a content table.
* You can change existing where conditions, or add new ones
*
* @note $item will ALWAYS be null.
*
* @param BaseItem|null $item
* @param Content $table
* @return array
* @param array $where
* @return void
*/
public function contentTableWhere( ?BaseItem $item, Content $table ) : array
public function contentTableWhere( ?BaseItem $item, Content $table, array &$where ) : void
{
return [];
}
/**
* Modify the table rows before output
*
* @note $item will always be null
* @param BaseItem|null $item
* @param Content $table
* @param array $rows
* @return void
*/
public function contentTableGetRows( ?BaseItem $item, Content $table, array &$rows ) : void
{
}
}