oxmodulemetadatavalidator.php

Go to the documentation of this file.
00001 <?php
00002 
00010 class oxModuleMetadataValidator implements oxIModuleValidator
00011 {
00012 
00022     public function validate(oxModule $oModule)
00023     {
00024         $sMetadataPath = $oModule->getMetadataPath();
00025 
00026         return file_exists($sMetadataPath);
00027     }
00028 }