src/FlexiPeeHP/FlexiBeeRO.php
public function setPrefix($prefix)
    {
        switch ($prefix) {
            case 'a': //Access
            case 'c': //Company
            case 'u': //User
            case 'g': //License Groups
            case 'admin':
            case 'status':
            case 'login-logout':
                $this->prefix = '/'.$prefix.'/';
                break;
            case null:
            case '':
            case '/':
                $this->prefix = '';
                break;
            default:
                throw new \Exception(sprintf('Unknown prefix %s', $prefix));
        }
    }
public function setPrefix($prefix)
    {
        switch ($prefix) {
            case 'a': //Access
            case 'c': //Company
            case 'u': //User
            case 'g': //License Groups
            case 'admin':
            case 'status':
            case 'login-logout':
                $this->prefix = '/'.$prefix.'/';
                break;
            case null:
            case '':
            case '/':
                $this->prefix = '';
                break;
            default:
                throw new \Exception(sprintf('Unknown prefix %s', $prefix));
        }
    }
public function setPrefix ( $ prefix ) { switch ( $ prefix ) { case 'a' : //Access case 'c' : //Company case 'u' : //User case 'g' : //License Groups case 'admin' : case 'status' : case 'login-logout' : $ this -> prefix = '/' . $ prefix . '/' ; break ; case null : case '' : case '/' : $ this -> prefix = '' ; break ; default : throw new \ Exception ( sprintf ( 'Unknown prefix %s' , $ prefix ) ) ; } }
Set URL prefix

@param string $prefix
Set URL prefix