Moodle PHP Documentation 4.2
Moodle 4.2.8 (Build: 20240610) (2d41ac46f45)
repository_googledocs\local\node\folder_node Class Reference
Inheritance diagram for repository_googledocs\local\node\folder_node:
repository_googledocs\local\node\node

Public Member Functions

 __construct (\stdClass $gdfolder, string $path)
 Constructor.
 
 create_node_array ()
 Create a repository folder array.
 

Constructor & Destructor Documentation

◆ __construct()

repository_googledocs\local\node\folder_node::__construct ( \stdClass $gdfolder,
string $path )

Constructor.

Parameters
stdClass$gdfolderThe Google Drive folder object
string$pathThe path of the folder node

Member Function Documentation

◆ create_node_array()

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.

Return values
array|nullThe node array or null if the node could not be created

Implements repository_googledocs\local\node\node.


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