/** * {@inheritdoc} */ protected function fixIndex($index) { $index = parent::fixIndex($index); // If the ID is a single-field integer identifier, it is used as // index. Replace any leading minus by underscore to make it a valid // form name. if ($this->idAsIndex && $index < 0) { $index = strtr($index, '-', '_'); } return $index; }
/** * {@inheritdoc} */ protected function fixIndex($index) { $index = parent::fixIndex($index); $index = rtrim(base64_encode($index), '='); return $index; }