/** * Convert all definitions used by this object from human format to Automne format. * This method is usually used at end of module import process, when all objects are imported * * @param CMS_module $module The current object module * @return boolean : true on success, false on failure * @access public */ function convertDefinitions($module) { $GLOBALS['moduleCodename'] = $module->getCodename(); $params = $this->getValue("params"); if ($params) { $fieldObject = $this->getTypeObject(); $params = $fieldObject->treatParams($params, ''); $this->setValue("params", $params); } return $this->writeToPersistence(); }