Login +

Documentation

SLS_BoRights::isAuthorized

Since SillySmart 1.0

Description

Check if the current admin is authorized to access on this back-office action
static int isAuthorized ( string $type);

Parameters

  • string $type
    the type of action ('List'|'Add'|'Modify'|'Delete')

Return

int $authorized
-1 if not logged, 0 is not authorized, 1 if ok
No exemples.

Comments

No comment on this function, be the first !

Add your comment

You must login/register to post a reply.