Moodle PHP Documentation 4.5
Moodle 4.5dev (Build: 20240606) (d3ae1391abe)
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: