X-Git-Url: http://git.inspyration.org/?p=zf2.biz%2Fgalerie.git;a=blobdiff_plain;f=vendor%2Fzf2biz%2FCustom%2FModel%2FPair.php;fp=vendor%2Fzf2biz%2FCustom%2FModel%2FPair.php;h=203fe8fef43be84011f4e1fadb932c102c5401c7;hp=0000000000000000000000000000000000000000;hb=6e6b3a29762f19d038b6c88bf51b0859339a69a2;hpb=394ed57b78faba491284a90a7f509bac3e146c30 diff --git a/vendor/zf2biz/Custom/Model/Pair.php b/vendor/zf2biz/Custom/Model/Pair.php new file mode 100644 index 0000000..203fe8f --- /dev/null +++ b/vendor/zf2biz/Custom/Model/Pair.php @@ -0,0 +1,34 @@ +id = $data[static::$field_id]; + $this->name = $data[static::$field_name]; + } + + public function toArray() { + return array( + 'id' => $this->id, + 'name' => $this->name, + ); + } + + public function getArrayCopy() { + return array( + 'id' => $this->id, + 'name' => $this->name, + ); + } + +}