Moodle PHP Documentation 4.3
Moodle 4.3.5 (Build: 20240610) (7dcfaa79f78)
cc_resource_location Class Reference

Public Member Functions

 __construct ($rootdir)
 ctor
 
 dirname ($endseparator=false)
 Newly created directory.
 
 fullpath ($endseparator=false)
 Full path to the new directory.
 
 rootdir ($endseparator=false)
 Returns containing dir.
 

Constructor & Destructor Documentation

◆ __construct()

cc_resource_location::__construct ( $rootdir)

ctor

Parameters
string$rootdir- path to the containing directory
Exceptions
InvalidArgumentException
RuntimeException

Member Function Documentation

◆ dirname()

cc_resource_location::dirname ( $endseparator = false)

Newly created directory.

Return values
string

◆ fullpath()

cc_resource_location::fullpath ( $endseparator = false)

Full path to the new directory.

Return values
string

◆ rootdir()

cc_resource_location::rootdir ( $endseparator = false)

Returns containing dir.

Return values
string

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