资 源 简 介
Flaxis is an object-oriented access control library based on php and java.
```
$flaxis = new Flaxis();
$flaxis->add(
array(
“HR Group” => array(
“Account”, “Personal”, “Approval”
),
“Administrator” => array(
“System”, “BlahBlah”
),
)
);
$flaxis->add( array( “Jane doe” => “HR Group” ) );
if( true === $flaxis->find( “Jane doe”, “Approval” ) )
{
echo( “Access granted.” );
}
```