kernel/classes/ezcontentobjecttrashnode.php
static function createFromNode( $node )
    {
        $row = array( 'node_id' => $node->attribute( 'node_id' ),
                      'parent_node_id' => $node->attribute( 'parent_node_id' ),
                      'main_node_id' => $node->attribute( 'main_node_id' ),
                      'contentobject_id' => $node->attribute( 'contentobject_id' ),
                      'contentobject_version' => $node->attribute( 'contentobject_version' ),
                      'contentobject_is_published' => $node->attribute( 'contentobject_is_published' ),
                      'depth' => $node->attribute( 'depth' ),
                      'sort_field' => $node->attribute( 'sort_field' ),
                      'sort_order' => $node->attribute( 'sort_order' ),
                      'priority' => $node->attribute( 'priority' ),
                      'modified_subnode' => $node->attribute( 'modified_subnode' ),
                      'path_string' => $node->attribute( 'path_string' ),
                      'path_identification_string' => $node->attribute( 'path_identification_string' ),
                      'remote_id' => $node->attribute( 'remote_id' ),
                      'is_hidden' => $node->attribute( 'is_hidden' ),
                      'is_invisible' => $node->attribute( 'is_invisible' ),
                      'trashed' => time() );

        $trashNode = new eZContentObjectTrashNode( $row );
        return $trashNode;
    }
static function createFromNode( $node )
    {
        $row = array( 'node_id' => $node->attribute( 'node_id' ),
                      'parent_node_id' => $node->attribute( 'parent_node_id' ),
                      'main_node_id' => $node->attribute( 'main_node_id' ),
                      'contentobject_id' => $node->attribute( 'contentobject_id' ),
                      'contentobject_version' => $node->attribute( 'contentobject_version' ),
                      'contentobject_is_published' => $node->attribute( 'contentobject_is_published' ),
                      'depth' => $node->attribute( 'depth' ),
                      'sort_field' => $node->attribute( 'sort_field' ),
                      'sort_order' => $node->attribute( 'sort_order' ),
                      'priority' => $node->attribute( 'priority' ),
                      'modified_subnode' => $node->attribute( 'modified_subnode' ),
                      'path_string' => $node->attribute( 'path_string' ),
                      'path_identification_string' => $node->attribute( 'path_identification_string' ),
                      'remote_id' => $node->attribute( 'remote_id' ),
                      'is_hidden' => $node->attribute( 'is_hidden' ),
                      'is_invisible' => $node->attribute( 'is_invisible' ),
                      'trashed' => time() );

        $trashNode = new eZContentObjectTrashNode( $row );
        return $trashNode;
    }
static function createFromNode ( $ node ) { $ row = array ( 'node_id' => $ node -> attribute ( 'node_id' ) , 'parent_node_id' => $ node -> attribute ( 'parent_node_id' ) , 'main_node_id' => $ node -> attribute ( 'main_node_id' ) , 'contentobject_id' => $ node -> attribute ( 'contentobject_id' ) , 'contentobject_version' => $ node -> attribute ( 'contentobject_version' ) , 'contentobject_is_published' => $ node -> attribute ( 'contentobject_is_published' ) , 'depth' => $ node -> attribute ( 'depth' ) , 'sort_field' => $ node -> attribute ( 'sort_field' ) , 'sort_order' => $ node -> attribute ( 'sort_order' ) , 'priority' => $ node -> attribute ( 'priority' ) , 'modified_subnode' => $ node -> attribute ( 'modified_subnode' ) , 'path_string' => $ node -> attribute ( 'path_string' ) , 'path_identification_string' => $ node -> attribute ( 'path_identification_string' ) , 'remote_id' => $ node -> attribute ( 'remote_id' ) , 'is_hidden' => $ node -> attribute ( 'is_hidden' ) , 'is_invisible' => $ node -> attribute ( 'is_invisible' ) , 'trashed' => time ( ) ) ; $ trashNode = new eZContentObjectTrashNode ( $ row ) ; return $ trashNode ; }
Creates a new eZContentObjectTrashNode based on an eZContentObjectTreeNode

@param eZContentObjectTreeNode $node
@return eZContentObjectTrashNode
Creates a new eZContentObjectTrashNode based on an eZContentObjectTreeNode