1
0
mirror of https://github.com/mrclay/minify.git synced 2025-08-22 13:42:48 +02:00

+ test_HTTP_ConditionalGet.php, phpDoc improvements, moved packer to 3rd-party, test for Minify loading fewer files for 304 responses.

This commit is contained in:
Steve Clay
2008-03-05 22:59:23 +00:00
parent a0d48f16fb
commit c15acc8782
17 changed files with 995 additions and 775 deletions

View File

@@ -1,4 +1,8 @@
<?php
/**
* Class Minify_Controller_Base
* @package Minify
*/
/**
* Base class for Minify controller
@@ -6,6 +10,9 @@
* The controller class validates a request and uses it to create sources
* for minification and set options like contentType. It's also responsible
* for loading minifier code upon request.
*
* @package Minify
* @author Stephen Clay <steve@mrclay.org>
*/
abstract class Minify_Controller_Base {

View File

@@ -1,4 +1,8 @@
<?php
/**
* Class Minify_Controller_Files
* @package Minify
*/
require_once 'Minify/Controller/Base.php';
@@ -17,6 +21,8 @@ require_once 'Minify/Controller/Base.php';
* ));
* </code>
*
* @package Minify
* @author Stephen Clay <steve@mrclay.org>
*/
class Minify_Controller_Files extends Minify_Controller_Base {

View File

@@ -1,4 +1,8 @@
<?php
/**
* Class Minify_Controller_Groups
* @package Minify
*/
require_once 'Minify/Controller/Base.php';
@@ -18,6 +22,9 @@ require_once 'Minify/Controller/Base.php';
*
* If the above code were placed in /serve.php, it would enable the URLs
* /serve.php/js and /serve.php/css
*
* @package Minify
* @author Stephen Clay <steve@mrclay.org>
*/
class Minify_Controller_Groups extends Minify_Controller_Base {

View File

@@ -1,4 +1,8 @@
<?php
/**
* Class Minify_Controller_Page
* @package Minify
*/
require_once 'Minify/Controller/Base.php';
@@ -6,7 +10,8 @@ require_once 'Minify/Controller/Base.php';
* Controller class for serving a single HTML page
*
* @link http://code.google.com/p/minify/source/browse/trunk/web/examples/1/index.php#59
*
* @package Minify
* @author Stephen Clay <steve@mrclay.org>
*/
class Minify_Controller_Page extends Minify_Controller_Base {