Contentserv PHP API

CSPortalRightServer
in package

The CSPortalRightServer is the central broker of access rights

Tags
since
5.2

Table of Contents

getMayRubricIDs()  : mixed
mayChangeColumnsTab()  : bool
Check if current User may change the colums of a Tab
mayCopyPortal()  : bool
Check if current User may copy a Portal
mayCopyTab()  : bool
Check if current User may copy a Tab
mayCopyWidget()  : bool
Check if current User may copy a Widget
mayCreatePortal()  : bool
Check if current user may create a Portal
mayCreateTab()  : bool
Check if current User may create a Tab in a Portal
mayCreateWidget()  : bool
Check if current User may create a Widget in a Tab
mayDeletePortal()  : bool
Check if current User may delete a Portal
mayDeleteTab()  : bool
Check if current User may delete a Tab
mayDeleteWidget()  : bool
Check if current User may delete a Widget
mayDuplicatePortal()  : bool
Check if current User may duplicate a Portal
mayDuplicateTab()  : bool
Check if current User may duplicate a Tab
mayDuplicateWidget()  : bool
Check if current User may duplicate a Widget
mayEditPortal()  : bool
Check if current User may edit a Portal
mayEditSecuredWidget()  : bool
Check if current User may edit secured options of a Widget
mayEditTab()  : bool
Check if current User may edit a Tab
mayEditWidget()  : bool
Check if current User may edit a Widget
mayMoveTab()  : bool
Check if current User may move a Tab
mayMoveWidget()  : bool
Check if current User may move a Widget
mayPublishPortal()  : bool
Check if current User may publish a Portal
mayPublishTab()  : bool
Check if current User may publish a Tab
mayPublishWidget()  : bool
Check if current User may publish a Widget
mayRenamePortal()  : bool
Check if current User may rename a Portal
mayRenameTab()  : bool
Check if current User may rename a Tab
mayRenameWidget()  : bool
Check if current User may rename a Widget
mayResizeTab()  : bool
Check if current User may resize a Tab
mayResizeWidget()  : bool
Check if current User may resize a Widget
mayShowControllerPortal()  : bool
Check if current User may manage (duplicate, delete, publish, edit, rename) a Portal
mayShowControllerTab()  : bool
Check if current User may manage (duplicate, delete, change columns, publish, edit, rename) a Tab
mayShowControllerWidget()  : bool
Check if user is allowed to manage (duplicate, delete, edit, resize, publish, rename, edit secured) Widgets
mayViewPortal()  : bool
Check if current User may view Portal
mayViewTab()  : bool
Check if current User may view a Tab
mayViewWidget()  : bool
Check if current User may view a Widget

Methods

getMayRubricIDs()

public static getMayRubricIDs(mixed $action, mixed $scope) : mixed
Parameters
$action : mixed
$scope : mixed
Tags
Return values
mixed

mayChangeColumnsTab()

Check if current User may change the colums of a Tab

public static mayChangeColumnsTab([int $TabID = null ]) : bool
Parameters
$TabID : int = null

id of tab to check

Tags
access

public

Return values
bool

mayCopyPortal()

Check if current User may copy a Portal

public static mayCopyPortal([int $PortalID = null ]) : bool
Parameters
$PortalID : int = null

id of portal to check

Tags
access

public

Return values
bool

mayCopyTab()

Check if current User may copy a Tab

public static mayCopyTab([int $TabID = null ]) : bool
Parameters
$TabID : int = null

id of tab to check

Tags
access

public

Return values
bool

mayCopyWidget()

Check if current User may copy a Widget

public static mayCopyWidget([int $WidgetID = null ]) : bool
Parameters
$WidgetID : int = null

id of Widget to check

Tags
access

public

Return values
bool

mayCreatePortal()

Check if current user may create a Portal

public static mayCreatePortal() : bool
Tags
access

public

Return values
bool

mayCreateTab()

Check if current User may create a Tab in a Portal

public static mayCreateTab([int $PortalID = null ]) : bool
Parameters
$PortalID : int = null

id of portal to check

Tags
access

public

Return values
bool

mayCreateWidget()

Check if current User may create a Widget in a Tab

public static mayCreateWidget([int $TabID = null ]) : bool
Parameters
$TabID : int = null

id of tab to check

Tags
access

public

Return values
bool

mayDeletePortal()

Check if current User may delete a Portal

public static mayDeletePortal([int $PortalID = null ]) : bool
Parameters
$PortalID : int = null

id of portal to check

Tags
access

public

Return values
bool

mayDeleteTab()

Check if current User may delete a Tab

public static mayDeleteTab([int $TabID = null ]) : bool
Parameters
$TabID : int = null

id of tab to check

Tags
access

public

Return values
bool

mayDeleteWidget()

Check if current User may delete a Widget

public static mayDeleteWidget([int $WidgetID = null ]) : bool
Parameters
$WidgetID : int = null

id of Widget to check

Tags
access

public

Return values
bool

mayDuplicatePortal()

Check if current User may duplicate a Portal

public static mayDuplicatePortal([int $PortalID = null ]) : bool
Parameters
$PortalID : int = null

id of portal to check

Tags
access

public

Return values
bool

mayDuplicateTab()

Check if current User may duplicate a Tab

public static mayDuplicateTab([int $TabID = null ]) : bool
Parameters
$TabID : int = null

id of tab to check

Tags
access

public

Return values
bool

mayDuplicateWidget()

Check if current User may duplicate a Widget

public static mayDuplicateWidget([int $WidgetID = null ]) : bool
Parameters
$WidgetID : int = null

id of Widget to check

Tags
access

public

Return values
bool

mayEditPortal()

Check if current User may edit a Portal

public static mayEditPortal([int $PortalID = null ]) : bool
Parameters
$PortalID : int = null

id of portal to check

Tags
access

public

Return values
bool

mayEditSecuredWidget()

Check if current User may edit secured options of a Widget

public static mayEditSecuredWidget([int $WidgetID = null ]) : bool
Parameters
$WidgetID : int = null

id of Widget to check

Tags
access

public

Return values
bool

true if the user may access the secured options

mayEditTab()

Check if current User may edit a Tab

public static mayEditTab([int $TabID = null ]) : bool
Parameters
$TabID : int = null

id of tab to check

Tags
access

public

Return values
bool

mayEditWidget()

Check if current User may edit a Widget

public static mayEditWidget([int $WidgetID = null ]) : bool
Parameters
$WidgetID : int = null

id of Widget to check

Tags
access

public

Return values
bool

mayMoveTab()

Check if current User may move a Tab

public static mayMoveTab([int $TabID = null ]) : bool
Parameters
$TabID : int = null

id of tab to check

Tags
access

public

Return values
bool

mayMoveWidget()

Check if current User may move a Widget

public static mayMoveWidget([int $WidgetID = null ]) : bool
Parameters
$WidgetID : int = null

id of Widget to check

Tags
access

public

Return values
bool

mayPublishPortal()

Check if current User may publish a Portal

public static mayPublishPortal([int $PortalID = null ]) : bool
Parameters
$PortalID : int = null

id of portal to check

Tags
access

public

Return values
bool

mayPublishTab()

Check if current User may publish a Tab

public static mayPublishTab([int $TabID = null ]) : bool
Parameters
$TabID : int = null

id of tab to check

Tags
access

public

Return values
bool

mayPublishWidget()

Check if current User may publish a Widget

public static mayPublishWidget([int $WidgetID = null ]) : bool
Parameters
$WidgetID : int = null

id of Widget to check

Tags
access

public

Return values
bool

mayRenamePortal()

Check if current User may rename a Portal

public static mayRenamePortal([int $PortalID = null ]) : bool
Parameters
$PortalID : int = null

id of portal to check

Tags
access

public

Return values
bool

mayRenameTab()

Check if current User may rename a Tab

public static mayRenameTab([int $TabID = null ]) : bool
Parameters
$TabID : int = null

id of tab to check

Tags
access

public

Return values
bool

mayRenameWidget()

Check if current User may rename a Widget

public static mayRenameWidget([int $WidgetID = null ]) : bool
Parameters
$WidgetID : int = null

id of Widget to check

Tags
access

public

Return values
bool

mayResizeTab()

Check if current User may resize a Tab

public static mayResizeTab([int $TabID = null ]) : bool
Parameters
$TabID : int = null

id of tab to check

Tags
access

public

Return values
bool

mayResizeWidget()

Check if current User may resize a Widget

public static mayResizeWidget([int $WidgetID = null ]) : bool
Parameters
$WidgetID : int = null

id of Widget to check

Tags
access

public

Return values
bool

mayShowControllerPortal()

Check if current User may manage (duplicate, delete, publish, edit, rename) a Portal

public static mayShowControllerPortal([int $PortalID = null ]) : bool
Parameters
$PortalID : int = null

id of portal to check

Tags
access

public

Return values
bool

mayShowControllerTab()

Check if current User may manage (duplicate, delete, change columns, publish, edit, rename) a Tab

public static mayShowControllerTab([int $TabID = null ]) : bool
Parameters
$TabID : int = null

id of tab to check

Tags
access

public

Return values
bool

mayShowControllerWidget()

Check if user is allowed to manage (duplicate, delete, edit, resize, publish, rename, edit secured) Widgets

public static mayShowControllerWidget([int $WidgetID = null ]) : bool
Parameters
$WidgetID : int = null

id of Widget to check

Tags
access

public

Return values
bool

mayViewPortal()

Check if current User may view Portal

public static mayViewPortal([int $PortalID = null ]) : bool
Parameters
$PortalID : int = null

id of portal to check

Tags
access

public

Return values
bool

mayViewTab()

Check if current User may view a Tab

public static mayViewTab([int $TabID = null ]) : bool
Parameters
$TabID : int = null

id of tab to check

Tags
access

public

Return values
bool

mayViewWidget()

Check if current User may view a Widget

public static mayViewWidget([int $WidgetID = null ]) : bool
Parameters
$WidgetID : int = null

id of Widget to check

Tags
access

public

Return values
bool

        

Search results