示例#1
0
文件: tags.php 项目: ecerta/webcomic
 /**
  * Render a formatted crossover collection description.
  * 
  * <code class="php">
  * // render the description of a crossover collection
  * webcomic_crossover_description();
  * 
  * // assign the description of a crossover collection to a variable for later use
  * $description = WebcomicTag::webcomic_crossover_description( 'webcomic42' );
  * </code>
  * 
  * <code class="bbcode">
  * // render the description of a crossover collection
  * [webcomic_crossover_description]
  * </code>
  * 
  * @package Webcomic
  * @param string $collection The collection to retrieve a description for.
  * @uses WebcomicTag::webcomic_crossover_description()
  */
 function webcomic_crossover_description()
 {
     echo WebcomicTag::webcomic_crossover_description();
 }
示例#2
0
 /**
  * Handle webcomic_collection_description shortcode.
  * 
  * @return string
  * @uses WebcomicTag::webcomic_crossover_description()
  */
 public function webcomic_crossover_description($atts, $content, $name)
 {
     return WebcomicTag::webcomic_crossover_description();
 }