Changeset 925
- Timestamp:
- 05/04/08 23:13:03 (3 months ago)
- Files:
-
- branches/1.0.x/lib/jelix/forms/jFormsBase.class.php (modified) (3 diffs)
- branches/1.0.x/lib/jelix/forms/jFormsBase.class.php (modified) (3 diffs)
- branches/1.0.x/lib/jelix/forms/jFormsBase.class.php (modified) (3 diffs)
- branches/1.0.x/lib/jelix/forms/jFormsBase.class.php (modified) (3 diffs)
- trunk/lib/jelix/forms/jFormsBase.class.php (modified) (1 diff)
- trunk/lib/jelix/forms/jFormsBase.class.php (modified) (1 diff)
- trunk/lib/jelix/forms/jFormsBase.class.php (modified) (1 diff)
- trunk/lib/jelix/forms/jFormsBase.class.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/1.0.x/lib/jelix/forms/jFormsBase.class.php
r899 r925 72 72 73 73 /** 74 * says if the form is readonly75 * @var boolean76 */77 protected $_readOnly = false;78 79 /**80 74 * content list of available form builder 81 75 * @var boolean … … 108 102 $req = $GLOBALS['gJCoord']->request; 109 103 foreach($this->_controls as $name=>$ctrl){ 104 if($ctrl->readonly) continue; 110 105 $value = $req->getParam($name); 111 106 //@todo à prevoir un meilleur test, pour les formulaires sur plusieurs pages … … 406 401 407 402 /** 408 * set the form read only or read/write 409 * @param boolean $r true if you want read only 410 */ 411 public function setReadOnly($r = true){ $this->_readOnly = $r; } 403 * method not implemented... 404 * @param boolean $r 405 * @deprecated since 1.0.4 406 */ 407 public function setReadOnly($r = true){ } 412 408 413 409 /** branches/1.0.x/lib/jelix/forms/jFormsBase.class.php
r899 r925 72 72 73 73 /** 74 * says if the form is readonly75 * @var boolean76 */77 protected $_readOnly = false;78 79 /**80 74 * content list of available form builder 81 75 * @var boolean … … 108 102 $req = $GLOBALS['gJCoord']->request; 109 103 foreach($this->_controls as $name=>$ctrl){ 104 if($ctrl->readonly) continue; 110 105 $value = $req->getParam($name); 111 106 //@todo à prevoir un meilleur test, pour les formulaires sur plusieurs pages … … 406 401 407 402 /** 408 * set the form read only or read/write 409 * @param boolean $r true if you want read only 410 */ 411 public function setReadOnly($r = true){ $this->_readOnly = $r; } 403 * method not implemented... 404 * @param boolean $r 405 * @deprecated since 1.0.4 406 */ 407 public function setReadOnly($r = true){ } 412 408 413 409 /** branches/1.0.x/lib/jelix/forms/jFormsBase.class.php
r899 r925 72 72 73 73 /** 74 * says if the form is readonly75 * @var boolean76 */77 protected $_readOnly = false;78 79 /**80 74 * content list of available form builder 81 75 * @var boolean … … 108 102 $req = $GLOBALS['gJCoord']->request; 109 103 foreach($this->_controls as $name=>$ctrl){ 104 if($ctrl->readonly) continue; 110 105 $value = $req->getParam($name); 111 106 //@todo à prevoir un meilleur test, pour les formulaires sur plusieurs pages … … 406 401 407 402 /** 408 * set the form read only or read/write 409 * @param boolean $r true if you want read only 410 */ 411 public function setReadOnly($r = true){ $this->_readOnly = $r; } 403 * method not implemented... 404 * @param boolean $r 405 * @deprecated since 1.0.4 406 */ 407 public function setReadOnly($r = true){ } 412 408 413 409 /** branches/1.0.x/lib/jelix/forms/jFormsBase.class.php
r899 r925 72 72 73 73 /** 74 * says if the form is readonly75 * @var boolean76 */77 protected $_readOnly = false;78 79 /**80 74 * content list of available form builder 81 75 * @var boolean … … 108 102 $req = $GLOBALS['gJCoord']->request; 109 103 foreach($this->_controls as $name=>$ctrl){ 104 if($ctrl->readonly) continue; 110 105 $value = $req->getParam($name); 111 106 //@todo à prevoir un meilleur test, pour les formulaires sur plusieurs pages … … 406 401 407 402 /** 408 * set the form read only or read/write 409 * @param boolean $r true if you want read only 410 */ 411 public function setReadOnly($r = true){ $this->_readOnly = $r; } 403 * method not implemented... 404 * @param boolean $r 405 * @deprecated since 1.0.4 406 */ 407 public function setReadOnly($r = true){ } 412 408 413 409 /** trunk/lib/jelix/forms/jFormsBase.class.php
r906 r925 132 132 $this->_modifiedControls=array(); 133 133 foreach($this->_controls as $name=>$ctrl){ 134 if(!$this->_container->isActivated($name) )134 if(!$this->_container->isActivated($name) || $ctrl->readonly) 135 135 continue; 136 136 $value = $req->getParam($name); trunk/lib/jelix/forms/jFormsBase.class.php
r906 r925 132 132 $this->_modifiedControls=array(); 133 133 foreach($this->_controls as $name=>$ctrl){ 134 if(!$this->_container->isActivated($name) )134 if(!$this->_container->isActivated($name) || $ctrl->readonly) 135 135 continue; 136 136 $value = $req->getParam($name); trunk/lib/jelix/forms/jFormsBase.class.php
r906 r925 132 132 $this->_modifiedControls=array(); 133 133 foreach($this->_controls as $name=>$ctrl){ 134 if(!$this->_container->isActivated($name) )134 if(!$this->_container->isActivated($name) || $ctrl->readonly) 135 135 continue; 136 136 $value = $req->getParam($name); trunk/lib/jelix/forms/jFormsBase.class.php
r906 r925 132 132 $this->_modifiedControls=array(); 133 133 foreach($this->_controls as $name=>$ctrl){ 134 if(!$this->_container->isActivated($name) )134 if(!$this->_container->isActivated($name) || $ctrl->readonly) 135 135 continue; 136 136 $value = $req->getParam($name);
