Adds hidden form control used to store a non-displayed value.
public addHidden ( $name, $default = NULL ) : |
||
Résultat |
public function addIdentifiers() { $components = []; foreach ($this->metadata->getIdentifierFieldNames() as $name) { if (!isset($this->containerPrototype[$name])) { $components[$name] = $this->containerPrototype->addHidden($name); } } return $components; }