Files
Phraseanet/lib/classes/Feed/Publisher/Interface.class.php
2012-04-26 02:06:29 +02:00

39 lines
840 B
PHP

<?php
/*
* This file is part of Phraseanet
*
* (c) 2005-2012 Alchemy
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
/**
*
* @package Feeds
* @license http://opensource.org/licenses/gpl-3.0 GPLv3
* @link www.phraseanet.com
*/
interface Feed_Publisher_Interface
{
public function __construct(appbox &$appbox, $id);
public function get_user();
public function is_owner();
public function get_created_on();
public function get_added_by();
public function get_id();
public function delete();
public static function create(appbox &$appbox, User_Adapter &$user, Feed_Adapter &$feed, $owner);
public static function getPublisher(appbox &$appbox, Feed_Adapter &$feed, User_Adapter &$user);
}