i want to add dinamically configureFileUploadColumn like this, where and how must to call that method.
fORM::defineActiveRecordClass($options[0] . "_media");
fORM::mapClassToTable($options[0] . "_media", $options[0] . "_media");
$class = $options[0] . "_media";
$media = new $class;
for ($index = 1; $index <= $value["max_length"]; $index++) {
//$file = $_FILES[$key . '_' . $index];
$this->addElement(new Zend_Form_Element_File($key . '_' . $index, array(
"label" => fGrammar::humanize($key . $index)
)));
//if($file['size'] > 0) {
//$media->{"setPdf".$index}(1);
fORMFile::configureFileUploadColumn($options[0] . "_media", 'pdf_' . $index, $_SERVER['DOCUMENT_ROOT'] . '/PhpProject1/public/uploads/');