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