public unpivotPermissions ( $Permissions, boolean $IncludeRole = false ) : array | ||
$Permissions | ||
$IncludeRole | boolean | |
return | array |
public function unpivotPermissions($Permissions, $IncludeRole = false)
{
$Result = array();
foreach ($Permissions as $Row) {
$this->_UnpivotPermissionsRow($Row, $Result, $IncludeRole);
}
return $Result;
}