private static function validateRequiredData($id, $module, $category)
    {

        if(! is_string($id) || empty($id)) {
            throw new common_exception_InconsistentData('The module needs an id');
        }
        if(! is_string($module) || empty($module)) {
            throw new common_exception_InconsistentData('The module needs a path');
        }
        if(! is_string($category) || empty($category)) {
            throw new common_exception_InconsistentData('The module needs a category');
        }

        return true;
    }
private static function validateRequiredData($id, $module, $category)
    {

        if(! is_string($id) || empty($id)) {
            throw new common_exception_InconsistentData('The module needs an id');
        }
        if(! is_string($module) || empty($module)) {
            throw new common_exception_InconsistentData('The module needs a path');
        }
        if(! is_string($category) || empty($category)) {
            throw new common_exception_InconsistentData('The module needs a category');
        }

        return true;
    }
private static function validateRequiredData ( $ id , $ module , $ category ) { if ( ! is_string ( $ id ) || empty ( $ id ) ) { throw new common_exception_InconsistentData ( 'The module needs an id' ) ; } if ( ! is_string ( $ module ) || empty ( $ module ) ) { throw new common_exception_InconsistentData ( 'The module needs a path' ) ; } if ( ! is_string ( $ category ) || empty ( $ category ) ) { throw new common_exception_InconsistentData ( 'The module needs a category' ) ; } return true ; }
Validate required data to construct a module
@param mixed $id
@param mixed $module
@param mixed $category
@return boolean true
@throws common_exception_InconsistentData
Validate required data to construct a module