35 lines
967 B
PHP
35 lines
967 B
PHP
<?php
|
|
namespace DynCom\mysyde\common\interfaces;
|
|
/**
|
|
* Created by PhpStorm.
|
|
* User: Micha
|
|
* Date: 15.01.2015
|
|
* Time: 23:16
|
|
*/
|
|
|
|
/**
|
|
* Created by PhpStorm.
|
|
* User: Micha
|
|
* Date: 15.01.2015
|
|
* Time: 21:43
|
|
*/
|
|
interface CriteriaHelperInterface {
|
|
|
|
/**
|
|
* @param ModelDBConfigInterface $modelConfig
|
|
* @param array $criteriaArray
|
|
*
|
|
* @return bool
|
|
*/
|
|
public function validateCriteria( ModelDBConfigInterface $modelConfig, array $criteriaArray );
|
|
|
|
/**
|
|
* @param \DynCom\mysyde\common\interfaces\ModelDBConfigInterface $mapToConfig
|
|
* @param \DynCom\mysyde\common\interfaces\ModelDBConfigInterface $mapFromConfig
|
|
* @param array $criteriaFieldMappings
|
|
*
|
|
* @return bool
|
|
*/
|
|
public function validateCriteriaFieldMappings( ModelDBConfigInterface $mapToConfig, ModelDBConfigInterface $mapFromConfig, array $criteriaFieldMappings );
|
|
|
|
} |