public function roleId(array $condition)
    {
        $role_id = $this->user->getRoleId();
        return $this->compare($role_id, $condition['value'], $condition['operator']);
    }
public function roleId(array $condition)
    {
        $role_id = $this->user->getRoleId();
        return $this->compare($role_id, $condition['value'], $condition['operator']);
    }
public function roleId ( array $ condition ) { $ role_id = $ this -> user -> getRoleId ( ) ; return $ this -> compare ( $ role_id , $ condition [ 'value' ] , $ condition [ 'operator' ] ) ; }
Whether the user role condition is met
@param array $condition
@return boolean
Whether the user role condition is met