Source for file functions.phpinc

Documentation is available at functions.phpinc

  1. <?php
  2. /** ##################################
  3.   *
  4.   *     project:     GNU Portal / CMS
  5.   *     class:       cms/css/functions.phpinc
  6.   *
  7.   *     by Peter Krebs jun. & Landesverlag Unternehmensservice
  8.   *     p.krebs@lvus.at
  9.   *
  10.   * ##################################
  11.   *
  12.   *
  13.   * ###################################
  14.   * #
  15.   * #       This program is released under the GPL version 1 and higher.
  16.   * #       It is and always will be Free Software.
  17.   * #
  18.   * ##################################
  19. **/
  20.  
  21.  
  22. function CMSCSS_clearCache($STY_ID,$STY_NAME,$STY_ALWAYSUSE=1,$PROJ_ID=0{
  23.     if (intval($STY_ALWAYSUSE)) {
  24.         @unlink($GLOBALS['PROJECT']['WEBCACHEPATH']."styles/".intval($PROJ_ID)."-default.css");
  25.     }
  26.     
  27.     @unlink($GLOBALS['PROJECT']['WEBCACHEPATH']."styles/".intval($PROJ_ID)."-id-".$STY_ID.".css");
  28.     @unlink($GLOBALS['PROJECT']['WEBCACHEPATH']."styles/".intval($PROJ_ID)."-".$STY_NAME.".css");
  29. }

Documentation generated on Thu, 08 Jan 2009 17:44:17 +0100 by phpDocumentor 1.4.0a2