Created
November 24, 2013 17:12
-
-
Save settermjd/7629594 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
namespace MaltBlue\Model; | |
use Zend\InputFilter\Factory as InputFactory; | |
use Zend\InputFilter\InputFilter; | |
use Zend\InputFilter\InputFilterAwareInterface; | |
use Zend\InputFilter\InputFilterInterface; | |
use MaltBlue\Filter\Float; | |
class CountryDebt implements InputFilterAwareInterface | |
{ | |
public $countryId; | |
public $debtLevel; | |
public $debtId; | |
protected $inputFilter; | |
// Add content to these methods: | |
public function setInputFilter(InputFilterInterface $inputFilter) | |
{ | |
throw new \Exception("Not used"); | |
} | |
public function exchangeArray($data) | |
{ | |
$this->countryId = (isset($data['countryId'])) ? $data['countryId'] : null; | |
$this->debtId = (isset($data['debtId'])) ? $data['debtId'] : null; | |
$this->debtLevel = (isset($data['debtLevel'])) ? $data['debtLevel'] : null; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment