Moodle APIs  3.8
Moodle 3.8.6 (Build: 20201109)
Public Member Functions | List of all members
cc_resource_location Class Reference

Public Member Functions

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

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: