Files
Phraseanet/lib/Alchemy/Phrasea/RouteProcessor/WorkZone/Root.php
Nicolas Le Goff 1f93a6e17f Route processors
2011-12-15 19:50:17 +01:00

41 lines
781 B
PHP

<?php
/*
* This file is part of Phraseanet
*
* (c) 2005-2010 Alchemy
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Alchemy\Phrasea\RouteProcessor\WorkZone;
use Alchemy\Phrasea\RouteProcessor;
use Alchemy\Phrasea\RequestHandler;
/**
*
* @package
* @license http://opensource.org/licenses/gpl-3.0 GPLv3
* @link www.phraseanet.com
*/
class Root extends RouteProcessor\RouteAbstract
{
public function __construct(RequestHandler\WorkZone $workzone)
{
parent::__construct($workzone);
}
public function getAllowedMethods()
{
return array('GET');
}
protected function get()
{
$content = $this->getRequestHandler()->getContent();
}
}