コード例 #1
0
ファイル: class-album.php プロジェクト: JoniWeiss/JoniWebGirl
 /**
  * Stores the album place
  *
  * @param string $place text for the place field
  */
 function setLocation($place)
 {
     $this->set('location', zpFunctions::tagURLs($place));
 }
コード例 #2
0
ファイル: zenpage-class.php プロジェクト: rb26/zenphoto
 /**
  * sets the extra content
  *
  */
 function setExtraContent($ec)
 {
     $this->set("extracontent", zpFunctions::tagURLs($ec));
 }
コード例 #3
0
ファイル: classes.php プロジェクト: rb26/zenphoto
 /**
  * Sets the password hint
  *
  * @param string $hint the hint text
  */
 function setPasswordHint($hint)
 {
     $this->set('password_hint', zpFunctions::tagURLs($hint));
 }
コード例 #4
0
 /**
  * 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);
 }
コード例 #5
0
 /**
  * set the codeblocks as an serialized array
  *
  */
 function setCodeblock($cb)
 {
     $this->set('codeblock', zpFunctions::tagURLs($cb));
 }
コード例 #6
0
ファイル: class-image.php プロジェクト: ariep/ZenPhoto20-DEV
 /**
  * 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));
 }