Moodle PHP Documentation 4.5
Moodle 4.5dev (Build: 20240606) (d3ae1391abe)
Source Class Reference

Handles <atom:source> More...

Inheritance diagram for Source:
RegistryAware

Public Member Functions

 __construct ($item, $data)
 
 __toString ()
 
 get_author ($key=0)
 
 get_authors ()
 
 get_base ($element=[])
 
 get_categories ()
 
 get_category ($key=0)
 
 get_contributor ($key=0)
 
 get_contributors ()
 
 get_copyright ()
 
 get_description ()
 
 get_image_url ()
 
 get_item ()
 
 get_language ()
 
 get_latitude ()
 
 get_link ($key=0, $rel='alternate')
 
 get_links ($rel='alternate')
 
 get_longitude ()
 
 get_permalink ()
 Added for parity between the parent-level and the item/entry-level.
 
 get_source_tags ($namespace, $tag)
 
 get_title ()
 
 sanitize ($data, $type, $base='')
 
 set_registry (Registry $registry)
 Set the Registry into the class.
 
 set_registry (\SimplePie\Registry $registry)
 

Public Attributes

 $data = []
 
 $item
 

Protected Attributes

 $registry
 

Detailed Description

Handles <atom:source>

Used by {

See also
SimplePie\Item\get_source()}

This class can be overloaded with {

See also
SimplePie\set_source_class()}

@subpackage API

Member Function Documentation

◆ set_registry()

RegistryAware::set_registry ( Registry $registry)
inherited

Set the Registry into the class.

Parameters
Registry$registry
Return values
void

The documentation for this class was generated from the following file: