diff options
author | Simon | 2011-03-07 13:57:04 +0100 |
---|---|---|
committer | Simon | 2011-03-07 13:57:04 +0100 |
commit | 5688b750744f8568414dc745961747e5629bd194 (patch) | |
tree | d8821314ada6f422d3d362666e7060af502709a3 /application/models/PoolMapper.php | |
parent | view variable in application.ini hinzugefügt (diff) | |
download | pbs2-5688b750744f8568414dc745961747e5629bd194.tar.gz pbs2-5688b750744f8568414dc745961747e5629bd194.tar.xz pbs2-5688b750744f8568414dc745961747e5629bd194.zip |
Pool actions zum bearbeiten von Pools hinzugefügt
Diffstat (limited to 'application/models/PoolMapper.php')
-rw-r--r-- | application/models/PoolMapper.php | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/application/models/PoolMapper.php b/application/models/PoolMapper.php index e2d351a..be096b7 100644 --- a/application/models/PoolMapper.php +++ b/application/models/PoolMapper.php @@ -31,7 +31,7 @@ class Application_Model_PoolMapper public function save(Application_Model_Pool $pol) { - + print_a($pol); $data = array('poolID'=> $pol->getID() , 'title'=> $pol->getTitle() , 'description'=> $pol->getDescription() , @@ -63,7 +63,10 @@ class Application_Model_PoolMapper $row = $result->current(); - $pol->setID($row->poolID)->setTitle($row->title)->setDescription($row->description)->setLocation($row->location); + $pol->setID($row->poolID) + ->setTitle($row->title) + ->setDescription($row->description) + ->setLocation($row->location); } public function fetchAll() |