/**
* @param $value
+ * @return CRM_Core_Resources
*/
public function setCacheCode($value) {
$this->cacheCode = $value;
return $this;
}
+ /**
+ * @return CRM_Core_Resources
+ */
public function resetCacheCode() {
$this->setCacheCode(CRM_Utils_String::createRandom(5, CRM_Utils_String::ALPHANUMERIC));
// Also flush cms resource cache if needed
/**
* Flushes cached translated strings
+ * @return CRM_Core_Resources
*/
public function flushStrings() {
$this->cache->flush();
/**
* Deletes and rebuilds dynamic resource files
+ * @return CRM_Core_Resources
*/
public function rebuildDynamicResources() {
CRM_Utils_File::flushDynamicResources();