You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
641 B
23 lines
641 B
<?php
|
|
|
|
/* For licensing terms, see /license.txt */
|
|
|
|
namespace Chamilo\CoreBundle\Entity;
|
|
|
|
/**
|
|
* Interface ResourceInterface.
|
|
*/
|
|
interface ResourceInterface
|
|
{
|
|
public function __toString(): string;
|
|
|
|
/** Returns the resource id identifier. Example for CDocument it will be the value of the field iid. */
|
|
public function getResourceIdentifier(): int;
|
|
|
|
/** Returns the resource name. Example for CDocument it will be the field "title". */
|
|
public function getResourceName(): string;
|
|
|
|
public function getResourceNode(): ResourceNode;
|
|
|
|
public function setResourceNode(ResourceNode $resourceNode): AbstractResource;
|
|
}
|
|
|