Moodle PHP Documentation 4.2
Moodle 4.2.8 (Build: 20240610) (2d41ac46f45)
core_course\local\entity\string_title Class Reference

The string_title class of value object, which provides access to a simple string. More...

Inheritance diagram for core_course\local\entity\string_title:
core_course\local\entity\title

Public Member Functions

 __construct (string $title)
 The string_title constructor.
 
 get_value ()
 Return the value of the wrapped string.
 

Detailed Description

The string_title class of value object, which provides access to a simple string.

License
http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later

Constructor & Destructor Documentation

◆ __construct()

core_course\local\entity\string_title::__construct ( string $title)

The string_title constructor.

Parameters
string$titlea string.

Member Function Documentation

◆ get_value()

core_course\local\entity\string_title::get_value ( )

Return the value of the wrapped string.

Return values
string

Implements core_course\local\entity\title.


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