Location: PHPKode > projects > QuickSkin > QuickSkin_v5.0/_lib/qx/qx_codesnippetstart.php
<?php
  /**
  * QuickSkin Extension codesnippetstart
  * required for the start of a code snippet
  *
  * Usage Example:
  * Template: Code Snippet<br />{codesnippetstart:}
  *
  * @author Andy Prevost hide@address.com
  */
  function qx_codesnippetstart ( $param='' ) {
    /*
    nogutter = no line numbers
    nocontrols = no menu at top
    collapse = = display nothing, menu at top will display '+ expand source'
    firstline[value] = starting number to start count
    showcolumns = shows "ruler" at top
    */
    if ( $param = '' ) {
      return '<pre name="code" class="php">';
    } else {
      return '<pre name="code" class="php:' . $param . '">';
    }
  }

?>
Return current item: QuickSkin