See Release Notes
Long Term Support Release
(no description)
File Size: | 210 lines (9 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
file_node:: (5 methods):
__construct()
create_node_array()
generate_file_title()
generate_file_export_format()
generate_file_link()
__construct(\stdClass $gdfile) X-Ref |
Constructor. param: \stdClass $gdfile The Google Drive file object |
create_node_array() X-Ref |
Create a repository file array. This method returns an array which structure is compatible to represent a file node in the repository. return: array|null The node array or null if the node could not be created |
generate_file_title(\stdClass $gdfile) X-Ref |
Generates and returns the title for the file node depending on the type of the Google drive file. param: \stdClass $gdfile The Google Drive file object return: string The file title |
generate_file_export_format(\stdClass $gdfile) X-Ref |
Generates and returns the file export format depending on the type of the Google drive file. param: \stdClass $gdfile The Google Drive file object return: string The file export format |
generate_file_link(\stdClass $gdfile) X-Ref |
Generates and returns the external link to the file. param: \stdClass $gdfile The Google Drive file object return: string The link to the file |