contributions/jcssmanager/behaviour/commands/jcssmanager/yui/compress.js.cmd.php
Go to the documentation of this file.00001 <?php 00002 Load::commands('jcssmanager/yui/compress.base'); 00003 00004 class JCSSManagerCompressJSYuiCommand extends JCSSManagerCompressBaseYuiCommand { 00005 /** 00006 * Invoke YUICOmpressor 00007 * 00008 * @param string $in_file 00009 * @param string $out_file 00010 * @return Status 00011 */ 00012 protected function invoke_yui($in_file, $out_file) { 00013 return $this->run_yui($in_file, $out_file, 'js'); 00014 } 00015 00016 /** 00017 * Returns type of compressed file 00018 * 00019 * @return string One of TYPE_X constants 00020 */ 00021 protected function get_db_type() { 00022 return JCSSManager::TYPE_JS; 00023 } 00024 }