Class

RolesAuthorizations

Package: PHPBoost\Member\authorization Copyright: © 2005-2019 PHPBoost License: GNU/GPL-3.0 Author: Benoit SAUTEL ben.popeye@phpboost.com Version: PHPBoost 5.2 - last update: 2016 10 28 Since: PHPBoost 3.0 - 2010 03 01 Contributor: Julien BRISWALTER j1.seth@phpboost.com Contributor: Arnaud GENET elenwii@phpboost.com Located at: phpboost/member/authorization/RolesAuthorizations.class.php

This class stores different roles which are authorized for a given action.

Methods summary
public
# __construct( array $auth_array = array() )
public mixed[]
# build_auth_array( )

Returns the array authorization formatted at the legacy format in which all authorizations are on the first bit.

public
# build_from_auth_array( array $auth_array )

Sets the authorizations from the legacy style formatted array.

Annonces