Bug #34646 ยป form-fix.patch
../../../../Desktop/form/Classes/Domain/Factory/Typoscript.php 2012-03-07 22:52:00.000000000 +0800 | ||
---|---|---|
/** @var $object tx_form_Domain_Model_Element_Abstract */
|
||
$object = t3lib_div::makeInstance($className);
|
||
|
||
$object->setValidateClass($this->rulesClass);
|
||
if ($object->getElementType() === tx_form_Domain_Model_Element_Abstract::ELEMENT_TYPE_CONTENT) {
|
||
$object->setData($arguments['cObj'], $arguments['cObj.']);
|
||
... | ... | |
}
|
||
}
|
||
$this->rulesClass = $rulesClass;
|
||
return $rulesClass;
|
||
}
|
||
../../../../Desktop/form/Classes/Domain/Model/Element/Abstract.php 2012-03-07 22:54:00.000000000 +0800 | ||
---|---|---|
public function __construct() {
|
||
$this->localCobj = t3lib_div::makeInstance('tslib_cObj');
|
||
$this->requestHandler = t3lib_div::makeInstance('tx_form_System_Request');
|
||
$this->validateClass = t3lib_div::makeInstance('tx_form_System_Validate');
|
||
$this->elementCounter = t3lib_div::makeInstance('tx_form_System_Elementcounter');
|
||
$this->setElementId();
|
||
$this->createAttributes();
|
||
... | ... | |
$this->createFilter();
|
||
}
|
||
public function setValidateClass(tx_form_System_Validate $validateClass){
|
||
$this->validateClass = $validateClass;
|
||
}
|
||
/**
|
||
* Set the internal ID of the element
|
||
*
|
../../../../Desktop/form/Classes/System/Validate/Validate.php 2012-03-07 22:44:00.000000000 +0800 | ||
---|---|---|
* @package TYPO3
|
||
* @subpackage form
|
||
*/
|
||
class tx_form_System_Validate implements t3lib_Singleton {
|
||
class tx_form_System_Validate /* implements t3lib_Singleton */ {
|
||
/**
|
||
* Validation objects to use
|