src/FreeFW/Storage/PDOStorage.php
protected function renderConditionField(\FreeFW\Interfaces\ConditionInterface $p_field)
    {
        if ($p_field instanceof \FreeFW\Model\ConditionMember) {
            $field = $p_field->getField();
            return $this->renderModelField($field);
        } else {
            if ($p_field instanceof \FreeFW\Model\ConditionValue) {
                $value = $p_field->getField();
                return $this->renderValueField($value);
            } else {
                throw new \FreeFW\Core\FreeFWStorageException(
                    sprintf('Unknown condition objecte !')
                );
            }
        }
    }
protected function renderConditionField(\FreeFW\Interfaces\ConditionInterface $p_field)
    {
        if ($p_field instanceof \FreeFW\Model\ConditionMember) {
            $field = $p_field->getField();
            return $this->renderModelField($field);
        } else {
            if ($p_field instanceof \FreeFW\Model\ConditionValue) {
                $value = $p_field->getField();
                return $this->renderValueField($value);
            } else {
                throw new \FreeFW\Core\FreeFWStorageException(
                    sprintf('Unknown condition objecte !')
                );
            }
        }
    }
protected function renderConditionField ( \ FreeFW \ Interfaces \ ConditionInterface $ p_field ) { if ( $ p_field instanceof \ FreeFW \ Model \ ConditionMember ) { $ field = $ p_field -> getField ( ) ; return $ this -> renderModelField ( $ field ) ; } else { if ( $ p_field instanceof \ FreeFW \ Model \ ConditionValue ) { $ value = $ p_field -> getField ( ) ; return $ this -> renderValueField ( $ value ) ; } else { throw new \ FreeFW \ Core \ FreeFWStorageException ( sprintf ( 'Unknown condition objecte !' ) ) ; } } }
Render a condition

@param \FreeFW\Interfaces\ConditionInterface $p_field

@throws \FreeFW\Core\FreeFWStorageException

@return array
Render a condition