PATH:
usr
/
local
/
jetapps
/
var
/
lib
/
3rdparty
/
dropbox
/
src
/
Models
<?php namespace Kunnu\Dropbox\Models; class AccountList extends ModelCollection { /** * Create a new Metadata Collection * * @param array $data Collection Data */ public function __construct(array $data) { $processedItems = $this->processItems($data); parent::__construct($processedItems); } /** * Process items and cast them * to Account Model * * @param array $items Unprocessed Items * * @return array Array of Account models */ protected function processItems(array $items) { $processedItems = []; foreach ($items as $entry) { $processedItems[] = new Account($entry); } return $processedItems; } }
[-] FolderMetadata.php
[edit]
[-] MediaMetadata.php
[edit]
[-] File.php
[edit]
[-] ModelInterface.php
[edit]
[+]
..
[-] ModelCollection.php
[edit]
[-] VideoMetadata.php
[edit]
[-] DeletedMetadata.php
[edit]
[-] MediaInfo.php
[edit]
[-] Thumbnail.php
[edit]
[-] Account.php
[edit]
[-] AccountList.php
[edit]
[-] AccessToken.php
[edit]
[-] FolderSharingInfo.php
[edit]
[-] CopyReference.php
[edit]
[-] BaseModel.php
[edit]
[-] SearchResult.php
[edit]
[-] SearchResults.php
[edit]
[-] FileSharingInfo.php
[edit]
[-] ModelFactory.php
[edit]
[-] TemporaryLink.php
[edit]
[-] MetadataCollection.php
[edit]
[-] PhotoMetadata.php
[edit]
[-] FileMetadata.php
[edit]