public function getEditUrl($backend = false)
    {
        $url = [
            'action'     => 'edit',
            'controller' => 'Users',
            'plugin'     => 'Community'
        ];

        if ($backend) {
            $url['prefix'] = 'admin';
            $url[] = $this->id;
        }

        return Router::url($url);
    }
public function getEditUrl($backend = false)
    {
        $url = [
            'action'     => 'edit',
            'controller' => 'Users',
            'plugin'     => 'Community'
        ];

        if ($backend) {
            $url['prefix'] = 'admin';
            $url[] = $this->id;
        }

        return Router::url($url);
    }
public function getEditUrl ( $ backend = false ) { $ url = [ 'action' => 'edit' , 'controller' => 'Users' , 'plugin' => 'Community' ] ; if ( $ backend ) { $ url [ 'prefix' ] = 'admin' ; $ url [ ] = $ this -> id ; } return Router :: url ( $ url ) ; }
Get current user edit profile url.

@param   bool $backend   Backend or frontend point.
@return  string
Get current user edit profile url .