kernel/classes/ezcontentobjecttreenode.php
function canSwap()
    {
        if ( !isset( $this->Permissions['can_swap'] ) )
        {
            $this->Permissions['can_swap'] = $this->checkAccess( 'edit' );
        }
        return ( $this->Permissions['can_swap'] == 1 );
    }
function canSwap()
    {
        if ( !isset( $this->Permissions['can_swap'] ) )
        {
            $this->Permissions['can_swap'] = $this->checkAccess( 'edit' );
        }
        return ( $this->Permissions['can_swap'] == 1 );
    }
function canSwap ( ) { if ( ! isset ( $ this -> Permissions [ 'can_swap' ] ) ) { $ this -> Permissions [ 'can_swap' ] = $ this -> checkAccess ( 'edit' ) ; } return ( $ this -> Permissions [ 'can_swap' ] == 1 ) ; }
Returns true if a node can be swaped by the current user.

@return bool
Returns true if a node can be swaped by the current user .