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=624ee4b92cbbcdfaf2fbedf742c5732f1eb05902;hpb=fb4b054068ef44c4031b88313636619641c8ee60 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, + ); + } + +}