Moodle PHP Documentation 4.4
Moodle 4.4.1 (Build: 20240610) (db07c09afc5)
Copyright Class Reference

Manages <media:copyright> copyright tags as defined in Media RSS. More...

Public Member Functions

 __construct ($url=null, $label=null)
 Constructor, used to input the data.
 
 __toString ()
 String-ified version.
 
 get_attribution ()
 Get the attribution text.
 
 get_url ()
 Get the copyright URL.
 

Public Attributes

string $label
 Attribution.
 
string $url
 Copyright URL.
 

Detailed Description

Manages <media:copyright> copyright tags as defined in Media RSS.

Used by {

See also
SimplePie\Enclosure\get_copyright()}

This class can be overloaded with {

See also
SimplePie\SimplePie\set_copyright_class()}

@subpackage API

Constructor & Destructor Documentation

◆ __construct()

Copyright::__construct ( $url = null,
$label = null )

Constructor, used to input the data.

For documentation on all the parameters, see the corresponding properties and their accessors

Member Function Documentation

◆ __toString()

Copyright::__toString ( )

String-ified version.

Return values
string

◆ get_attribution()

Copyright::get_attribution ( )

Get the attribution text.

Return values
string|null

◆ get_url()

Copyright::get_url ( )

Get the copyright URL.

Return values
string|nullURL to copyright information

Member Data Documentation

◆ $label

string Copyright::$label

Attribution.

See also
get_attribution()

◆ $url

string Copyright::$url

Copyright URL.

See also
get_url()

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