Location: PHPKode > projects > Rthree > r3-1.9.0/r3/generate/GenerateFacade.php
<?php

/**
 * provides {@link r3_generate_GenerateFacede} class
 *
 *
 * Copyright (c) 2007 Yahoo! Inc.  All rights reserved.
 * The copyrights embodied in the content of this file are licensed under the BSD
 * open source license
 *
 * @package r3
 * @subpackage generate
 */
/**
 */

require_once("r3/util/UTF8.php");
require_once("r3/domain/DomainFacade.php");
require_once("r3/api/Target.php");
require_once("r3/util/Registry.php");
require_once("r3/parse/ParseController.php");
require_once("r3/generate/OutputManager.php");

/**
 * provides {@link r3_generate_GenerateFacede} class
 *
 * @package r3
 * @subpackage generate
 */
class r3_generate_GenerateFacade {

    static function generatePage(r3_util_FilePath $path,
                                 r3_generate_Output $outputter=null ) {
        $location = $path->toLocation();
        $tmgr = new r3_api_TargetManager();
        $target = $tmgr->buildTarget($location);
        $target->generate();
    }
}

?>
Return current item: Rthree