Current File : /home/inlingua/www/crm/ninexb/wp-content/plugins/tablesome/workflow-library/integrations/files.php |
<?php
namespace Tablesome\Workflow_Library\Integrations;
if (!defined('ABSPATH')) {
exit;
} // Exit if accessed directly
if (!class_exists('\Tablesome\Workflow_Library\Integrations\Files')) {
class Files
{
public $gdrive;
public function __construct()
{
$this->gdrive = new \Tablesome\Workflow_Library\External_Apis\GDrive();
}
public function get_config()
{
return array(
'integration' => 'files',
'integration_label' => __('Files', 'tablesome'),
'is_active' => true,
'is_premium' => true,
'actions' => array(),
);
}
public function get_folders()
{
return $this->gdrive->get_folders();
}
public function get_sub_folders($parent_folder_id)
{
return $this->gdrive->get_sub_folders($parent_folder_id);
}
}
}