Example #1
0
 /**
  * Stores the album place
  *
  * @param string $place text for the place field
  */
 function setLocation($place)
 {
     $this->set('location', zpFunctions::tagURLs($place));
 }
Example #2
0
 /**
  * sets the extra content
  *
  */
 function setExtraContent($ec)
 {
     $this->set("extracontent", zpFunctions::tagURLs($ec));
 }
Example #3
0
 /**
  * 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);
 }
Example #5
0
 /**
  * set the codeblocks as an serialized array
  *
  */
 function setCodeblock($cb)
 {
     $this->set('codeblock', zpFunctions::tagURLs($cb));
 }
Example #6
0
 /**
  * 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));
 }