Esempio n. 1
0
 /**
  *	Get the css last write date for the style -- needed to build the correct filename for the css files
  *
  *	@param vB5_Template_Options $options
  *	@param int $styleid
  */
 private function getCssFileDate($options, $styleid)
 {
     $cssfiledate = $options->get('miscoptions.cssfiledate');
     //temporary, we're changing from a single value to an array with a value for
     //each individual style;
     if (!is_array($cssfiledate)) {
         return intval($cssfiledate);
     }
     return intval($cssfiledate[$styleid]);
 }