20
edits
mNo edit summary Tag: 2017 source edit |
(Update code example) Tag: 2017 source edit |
||
| Line 61: | Line 61: | ||
$this->tabs = array( | $this->tabs = array( | ||
'product:+tabname1:Title1:@mymodule:$user->hasRight(\'mymodule\', \'read\'):/mymodule/mynewtab1.php?id=__ID__', // To add a new tab identified by code tabname1 in objecttype product (Products/Services) | 'product:+tabname1:Title1:@mymodule:$user->hasRight(\'mymodule\', \'read\'):/mymodule/mynewtab1.php?id=__ID__', // To add a new tab identified by code tabname1 in objecttype product (Products/Services) | ||
'product:+tabname2:Title2:@mymodule:$user-> | 'product:+tabname2:Title2:@mymodule:$user->hasRight(\'othermodule\', \'read\'):/mymodule/mynewtab2.php?id=__ID__', // To add another new tab identified by code tabname2 in objecttype product (Products/Services) | ||
); | ); | ||
</source> | </source> | ||
edits