Function copyRightsForElement
Duplicate rights for any element.
Package: Core\Backend
Copyright: four for business AG <www.4fb.de>
License: http://www.contenido.org/license/LIZENZ.txt
Author: Martin Horwath
Author: Murat Purc murat@purc.de
Located at includes/functions.rights.php
Copyright: four for business AG <www.4fb.de>
License: http://www.contenido.org/license/LIZENZ.txt
Author: Martin Horwath
Author: Murat Purc murat@purc.de
Located at includes/functions.rights.php
string |
$area |
Main area name (e. g. 'lay', 'mod', 'str', 'tpl', etc.) |
integer |
$iditem |
ID of element to copy |
integer |
$newiditem |
ID of the new element |
integer |
$idlang = false |
<p>ID of language, if passed only rights for this language will be created, otherwhise for all existing languages</p> |
boolean
|
True on success otherwhise false |