public function codeDigest($content) { $formula = $this->getAndCheckFolder(com_wiris_plugin_api_ConfigurationKeys::$FORMULA_FOLDER); $digest = com_wiris_system_Md5Tools::encodeString($content); $store = com_wiris_util_sys_Store::newStoreWithParent(com_wiris_util_sys_Store::newStore($formula), $digest . ".ini"); $store->write($content); return $digest; }
public function codeDigest($content) { $digest = com_wiris_system_Md5Tools::encodeString($content); $parent = $this->getFolderStore($this->getAndCheckFolder(com_wiris_plugin_api_ConfigurationKeys::$FORMULA_FOLDER), $digest); $parent->mkdirs(); $store = $this->getFileStoreWithParent($parent, $digest, "ini"); $store->write($content); return $digest; }