public function can($action)
{
if (isset($this->_access_details[$action])) {
return $this->_access_details[$action];
}
$index = array_search($action, $this->_access_arr);
if ($index === FALSE) {
return $this->_access_details[$action] = FALSE;
}
return $this->_access_details[$action] = (bool) ($this->_access_val & pow(2, $index));
}