Contribute

* added option to hide contribute tabs depending on subject (screenshots for sounds .. yeah, right)
This commit is contained in:
Sarjuuk
2017-03-29 03:16:28 +02:00
parent 5082a6155d
commit 0fc006d2d4
9 changed files with 58 additions and 17 deletions

View File

@@ -17,6 +17,8 @@ abstract class BaseType
protected $queryBase = '';
protected $queryOpts = [];
public static $contribute = CONTRIBUTE_ANY;
/*
* condition as array [expression, value, operator]
* expression: str - must match fieldname;