Moodle PHP Documentation 4.4
Moodle 4.4.1 (Build: 20240610) (db07c09afc5)
repository_googledocs\local\node\file_node Class Reference
Inheritance diagram for repository_googledocs\local\node\file_node:
repository_googledocs\local\node\node

Public Member Functions

 __construct (\stdClass $gdfile)
 Constructor.
 
 create_node_array ()
 Create a repository file array.
 

Constructor & Destructor Documentation

◆ __construct()

repository_googledocs\local\node\file_node::__construct ( \stdClass $gdfile)

Constructor.

Parameters
stdClass$gdfileThe Google Drive file object

Member Function Documentation

◆ create_node_array()

repository_googledocs\local\node\file_node::create_node_array ( )

Create a repository file array.

This method returns an array which structure is compatible to represent a file 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: