public function findStructureManifest($directory = null)
    {
        $returnValue = null;

        
        if ($directory == null) {
        	$actionsDir = $this->options['input'] . '/actions';	
        } else {
        	$actionsDir = $directory . '/actions';
        }
        
        $dirEntries = scandir($actionsDir);
        
        if ($dirEntries === false) {
        	$returnValue = false;	
        } else {
        	$structureFile = null;
        	foreach ($dirEntries as $f) {
				if (preg_match("/(.*)structure\.xml$/", $f)) {
					$structureFile = $f;
					break;
				}
        	}
        	
        	if ($structureFile === null) {
        		$returnValue = false;
        	} else {
        		$returnValue = $structureFile;
        	}
        }
        

        return $returnValue;
    }
public function findStructureManifest($directory = null)
    {
        $returnValue = null;

        
        if ($directory == null) {
        	$actionsDir = $this->options['input'] . '/actions';	
        } else {
        	$actionsDir = $directory . '/actions';
        }
        
        $dirEntries = scandir($actionsDir);
        
        if ($dirEntries === false) {
        	$returnValue = false;	
        } else {
        	$structureFile = null;
        	foreach ($dirEntries as $f) {
				if (preg_match("/(.*)structure\.xml$/", $f)) {
					$structureFile = $f;
					break;
				}
        	}
        	
        	if ($structureFile === null) {
        		$returnValue = false;
        	} else {
        		$returnValue = $structureFile;
        	}
        }
        

        return $returnValue;
    }
public function findStructureManifest ( $ directory = null ) { $ returnValue = null ; if ( $ directory == null ) { $ actionsDir = $ this -> options [ 'input' ] . '/actions' ; } else { $ actionsDir = $ directory . '/actions' ; } $ dirEntries = scandir ( $ actionsDir ) ; if ( $ dirEntries === false ) { $ returnValue = false ; } else { $ structureFile = null ; foreach ( $ dirEntries as $ f ) { if ( preg_match ( "/(.*)structure\.xml$/" , $ f ) ) { $ structureFile = $ f ; break ; } } if ( $ structureFile === null ) { $ returnValue = false ; } else { $ returnValue = $ structureFile ; } } return $ returnValue ; }
Find a structure.xml manifest in a given directory.

@access public
@author Joel Bout, <joel.bout@tudor.lu>
@param  string directory
@return mixed
Find a structure . xml manifest in a given directory .