kernel/classes/ezcontentobjecttreenode.php
function canEdit( )
    {
        if ( !isset( $this->Permissions["can_edit"] ) )
        {
            $this->Permissions["can_edit"] = $this->checkAccess( 'edit' );
            if ( $this->Permissions["can_edit"] != 1 )
            {
                 $user = eZUser::currentUser();
                 if ( $user->id() == $this->ContentObject->attribute( 'id' ) )
                 {
                     $access = $user->hasAccessTo( 'user', 'selfedit' );
                     if ( $access['accessWord'] == 'yes' )
                     {
                         $this->Permissions["can_edit"] = 1;
                     }
                 }
            }
        }
        return ( $this->Permissions["can_edit"] == 1 );
    }
function canEdit( )
    {
        if ( !isset( $this->Permissions["can_edit"] ) )
        {
            $this->Permissions["can_edit"] = $this->checkAccess( 'edit' );
            if ( $this->Permissions["can_edit"] != 1 )
            {
                 $user = eZUser::currentUser();
                 if ( $user->id() == $this->ContentObject->attribute( 'id' ) )
                 {
                     $access = $user->hasAccessTo( 'user', 'selfedit' );
                     if ( $access['accessWord'] == 'yes' )
                     {
                         $this->Permissions["can_edit"] = 1;
                     }
                 }
            }
        }
        return ( $this->Permissions["can_edit"] == 1 );
    }
function canEdit ( ) { if ( ! isset ( $ this -> Permissions [ "can_edit" ] ) ) { $ this -> Permissions [ "can_edit" ] = $ this -> checkAccess ( 'edit' ) ; if ( $ this -> Permissions [ "can_edit" ] != 1 ) { $ user = eZUser :: currentUser ( ) ; if ( $ user -> id ( ) == $ this -> ContentObject -> attribute ( 'id' ) ) { $ access = $ user -> hasAccessTo ( 'user' , 'selfedit' ) ; if ( $ access [ 'accessWord' ] == 'yes' ) { $ this -> Permissions [ "can_edit" ] = 1 ; } } } } return ( $ this -> Permissions [ "can_edit" ] == 1 ) ; }
Returns true if the node can be edited by the current user.

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