/** * Stores the album place * * @param string $place text for the place field */ function setLocation($place) { $this->set('location', zpFunctions::tagURLs($place)); }
/** * sets the extra content * */ function setExtraContent($ec) { $this->set("extracontent", zpFunctions::tagURLs($ec)); }
/** * Sets the password hint * * @param string $hint the hint text */ function setPasswordHint($hint) { $this->set('password_hint', zpFunctions::tagURLs($hint)); }
/** * set the codeblocks as an serialized array * */ function setCodeblock($cb) { $this->codeblocks = zpFunctions::tagURLs($cb); $sql = 'UPDATE ' . prefix('plugin_storage') . ' SET `data`=' . db_quote($this->codeblocks) . ' WHERE `type`="defaultCodeblocks"'; query($sql); }
/** * set the codeblocks as an serialized array * */ function setCodeblock($cb) { $this->set('codeblock', zpFunctions::tagURLs($cb)); }
/** * Stores the text for the copyright field of the image * * @param string $copyright text for the copyright field */ function setCopyright($copyright) { $this->set('copyright', zpFunctions::tagURLs($copyright)); }