Google Drive Children

Figure 1. Instantiate Google Drive Children
$children = eden('google')->drive($_SESSION['token'])->children();
Figure 2. Children Methods
Method Arguments Returns Description
$children->delete($folderId, $childId);
  1. string
  2. string
array Removes a child from a folder
$children->getList($folderId);
  1. string
array Returns list of folder's children
$children->getSpecific($folderId, $childId);
  1. string
  2. string
array Gets a specific child reference
$children->insert($folderId, $childId);
  1. string
  2. string
array Inserts a file into a folder

© 2012 Openovate Labs. All rights reserved.