Moodle APIs 4.3
Moodle 4.3.6 (Build: 20240812)
|
Class used to represent a folder node in the googledocs repository. More...
Public Member Functions | |
__construct (\stdClass $gdfolder, string $path) | |
Constructor. | |
create_node_array () | |
Create a repository folder array. | |
Class used to represent a folder node in the googledocs repository.
repository_googledocs\local\node\folder_node::__construct | ( | \stdClass | $gdfolder, |
string | $path ) |
Constructor.
stdClass | $gdfolder | The Google Drive folder object |
string | $path | The path of the folder node |
repository_googledocs\local\node\folder_node::create_node_array | ( | ) |
Create a repository folder array.
This method returns an array which structure is compatible to represent a folder node in the repository.
array|null | The node array or null if the node could not be created |
Implements repository_googledocs\local\node\node.