Version 5.0.6
This commit is contained in:
1 parent
a3a4a9ccbd
commit
b89858b2ff
1214 files changed
+92828
-14859
No files matched your search
@@ -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
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user