mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-10 19:43:16 +00:00
38 lines
821 B
PHP
38 lines
821 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.
|
|
*/
|
|
|
|
/**
|
|
*
|
|
* @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);
|
|
}
|