Метод | Описание | |
---|---|---|
callFromInterface ( string $module, string $class, string $method, mixed $parameter = null ) : mixed | Calls a method that has to be implemented though the tags interface | |
get ( string $url, string $language = null ) : array | Get the tag for a given URL | |
getAll ( ) : array | Fetch the list of all tags, ordered by their occurrence | |
getForItem ( string $module, integer $otherId ) : array | Get tags for an item | |
getForMultipleItems ( string $module, array $otherIds ) : array | Get tags for multiple items. | |
getIdByURL ( string $url ) : integer | Get the tag-id for a given URL | |
getModulesForTag ( integer $id ) : array | Get the modules that used a tag. | |
getName ( integer $id ) : string | Fetch a specific tag name | |
getRelatedItemsByTags ( integer $id, integer $module, integer $otherModule, integer $limit = 5 ) : array | Get all related items |
public static callFromInterface ( string $module, string $class, string $method, mixed $parameter = null ) : mixed | ||
$module | string | The module wherein to search. |
$class | string | The class that should contain the method. |
$method | string | The method to call. |
$parameter | mixed | The parameters to pass. |
Результат | mixed |
public static getIdByURL ( string $url ) : integer | ||
$url | string | The URL to get the id for. |
Результат | integer |
public static getModulesForTag ( integer $id ) : array | ||
$id | integer | The id of the tag. |
Результат | array |
public static getRelatedItemsByTags ( integer $id, integer $module, integer $otherModule, integer $limit = 5 ) : array | ||
$id | integer | The id of the item in the source-module. |
$module | integer | The source module. |
$otherModule | integer | The module wherein the related items should appear. |
$limit | integer | The maximum of related items to grab. |
Результат | array |