216 $this->
id = $data->id;
217 $this->identifier = $data->identifier;
218 $this->name = $data->name;
219 $this->fieldFormat = SAGU::NVL($data->fieldFormat, $data->fieldformat);
220 $this->possibleValues = SAGU::NVL($data->possibleValues, $data->possiblevalues);
221 $this->regexp = $data->regexp;
222 $this->minLength = SAGU::NVL($data->minLength, $data->minlength);
223 $this->maxLength = SAGU::NVL($data->maxLength, $data->maxlength);
224 $this->required = $data->required;
225 $this->position = $data->position;
226 $this->defaultValue = SAGU::NVL($data->defaultValue, $data->defaultvalue);
227 $this->editable = $data->editable;
228 $this->visible = $data->visible;
229 $this->filtroFormularioBusca = $data->filtroFormularioBusca;
230 $this->visivel = $data->visivel;
231 $this->objetoreferencia = $data->objetoreferencia;
232 $this->largura = $data->largura;
233 $this->altura = $data->altura;
234 $this->label = $data->label;
235 $this->possibleParameters = $data->possibleparameters;
236 $this->hint = $data->hint;
237 $this->jshint = $data->jshint;
400 'id, identifier, name, label, field_format, possible_values, regexp, min_length, max_length, required, position, default_value, editable, visible, possible_parameters, filtroFormularioBusca, visivel, objetoreferencia, largura, altura, hint, jshint',
401 'miolo_custom_field',
406 $sql->addEqualCondition(
'identifier',
$identifier);
410 $sql->addEqualCondition(
'passo', $step);
413 if( strlen($actionURL) > 0 )
415 $sql->addEqualCondition(
'actionURL', $actionURL);
419 $sql->setWhereAnd(
'actionURL IS NULL');
422 $query = self::getBusiness()->query($sql);
426 if ( $query->result )
428 foreach ( $query->result as $row )
447 $cf->possibleParameters,
448 $cf->filtroFormularioBusca,
450 $cf->objetoreferencia,
500 self::FORMAT_TEXT => _M(
'Text'),
501 self::FORMAT_LONG_TEXT => _M(
'Long text'),
502 self::FORMAT_INTEGER => _M(
'Integer'),
503 self::FORMAT_DECIMAL => _M(
'Decimal'),
504 self::FORMAT_LIST => _M(
'List'),
505 self::FORMAT_LISTSQL => _M(
'Lista (SQL)'),
506 self::FORMAT_MTAG => _M(
'MTagSelection (SQL)'),
507 self::FORMAT_MULTI_LIST => _M(
'Multi-seleção'),
508 self::FORMAT_MULTI_LISTSQL => _M(
'Multi-seleção (SQL)'),
509 self::FORMAT_DATE => _M(
'Date'),
510 self::FORMAT_BOOLEAN => _M(
'Boolean'),
511 self::FORMAT_SESCOLHA => _M(
'SEscolha'),
512 self::FORMAT_SESCOLHA_LIST => _M(
'SEscolha (Lista)'),
513 self::FORMAT_SESCOLHA_LISTSQL => _M(
'SEscolha (Sql)'),
514 self::FORMAT_JAVASCRIPT => _M(
'JavaScript'),
515 self::FORMAT_FILE => _M(
'Arquivo'),
516 self::FORMAT_EDITOR => _M(
'Editor'),
566 if ( strlen($requestValue) == 0 )
568 $data = array_change_key_case($_REQUEST, CASE_LOWER);
570 $requestValue = $data[strtolower($parameter)];
574 if ( strlen($requestValue) == 0 )
576 $isFromSAGU =
$MIOLO->getConf(
'temp.is.from.sagu');
580 $data = (array) sstepbystepform::getAllStepDataStatic();
581 $data = array_change_key_case($data, CASE_LOWER);
583 $requestValue = $data[strtolower($parameter)];
587 if ( strlen($requestValue) == 0 && strlen($this->paramNotFound) == 0 )
589 $this->paramNotFound = $parameter;
592 $args[] = $requestValue;