extension/ezjscore/classes/ajaxuploader/ezprelationlistajaxuploader.php
public function getDefaultParentNodeId( eZContentClass $class )
    {
        $parentNodes = array();
        $parentMainNode = null;
        $upload = new eZContentUpload();
        $upload->detectLocations(
            $class->attribute( 'identifier' ), $class, 'auto',
            $parentNodes, $parentMainNode
        );
        return $parentMainNode;
    }
public function getDefaultParentNodeId( eZContentClass $class )
    {
        $parentNodes = array();
        $parentMainNode = null;
        $upload = new eZContentUpload();
        $upload->detectLocations(
            $class->attribute( 'identifier' ), $class, 'auto',
            $parentNodes, $parentMainNode
        );
        return $parentMainNode;
    }
public function getDefaultParentNodeId ( eZContentClass $ class ) { $ parentNodes = array ( ) ; $ parentMainNode = null ; $ upload = new eZContentUpload ( ) ; $ upload -> detectLocations ( $ class -> attribute ( 'identifier' ) , $ class , 'auto' , $ parentNodes , $ parentMainNode ) ; return $ parentMainNode ; }
Returns the node id of the default location of the future object

@param eZContentClass $class
@return int
Returns the node id of the default location of the future object