From cd230aefd78797219cb3814cda29fc8178520a22 Mon Sep 17 00:00:00 2001 From: Simon Date: Fri, 1 Apr 2011 16:34:13 +0200 Subject: Pagination in ettlichen Controllern + aufgerÀumt --- application/modules/user/forms/Client.php | 25 +++++++++++-------------- 1 file changed, 11 insertions(+), 14 deletions(-) (limited to 'application/modules/user/forms/Client.php') diff --git a/application/modules/user/forms/Client.php b/application/modules/user/forms/Client.php index aa8d478..9814583 100644 --- a/application/modules/user/forms/Client.php +++ b/application/modules/user/forms/Client.php @@ -3,6 +3,17 @@ class user_Form_Client extends Zend_Form { + private $buttontext = 'Save'; + private $groups; + private $page; + + public function setButtontext($v){ + $this->buttontext = $v; + } + public function setPage($page){ + $this->page = $page; + } + public function init() { $this->setName("pool"); @@ -48,20 +59,6 @@ class user_Form_Client extends Zend_Form 'onclick' => 'self.location="/user/client/index/page/'.$this->page.'"' )); - $this->addElement('hidden','page', array( - 'value' => $this->page - )); } - private $buttontext = 'Save'; - private $groups; - function setButtontext($v){ - $this->buttontext = $v; - } - private $page; - function setPage($page){ - $this->page = $page; - } - - } -- cgit v1.2.3-55-g7522