PATH:
usr
/
local
/
jetapps
/
var
/
lib
/
3rdparty
/
dropbox
/
src
/
Models
<?php namespace Kunnu\Dropbox\Models; class FolderMetadata extends BaseModel { /** * A unique identifier of the folder * * @var string */ protected $id; /** * The last component of the path (including extension). * This never contains a slash. * * @var string */ protected $name; /** * The lowercased full path in the user's Dropbox. * This always starts with a slash. * * @var string */ protected $path_lower; /** * Set if this folder is contained in a shared folder. * * @var \Kunnu\Dropbox\Models\FolderSharingInfo */ protected $sharing_info; /** * The cased path to be used for display purposes only. * * @var string */ protected $path_display; /** * Create a new FolderMetadata instance * * @param array $data */ public function __construct(array $data) { parent::__construct($data); $this->id = $this->getDataProperty('id'); $this->name = $this->getDataProperty('name'); $this->path_lower = $this->getDataProperty('path_lower'); $this->path_display = $this->getDataProperty('path_display'); //Make SharingInfo $sharingInfo = $this->getDataProperty('sharing_info'); if (is_array($sharingInfo)) { $this->sharing_info = new FolderSharingInfo($sharingInfo); } } /** * Get the 'id' property of the folder model. * * @return string */ public function getId() { return $this->id; } /** * Get the 'name' property of the folder model. * * @return string */ public function getName() { return $this->name; } /** * Get the 'path_lower' property of the folder model. * * @return string */ public function getPathLower() { return $this->path_lower; } /** * Get the 'sharing_info' property of the folder model. * * @return \Kunnu\Dropbox\Models\FolderSharingInfo */ public function getSharingInfo() { return $this->sharing_info; } /** * Get the 'path_display' property of the folder model. * * @return string */ public function getPathDisplay() { return $this->path_display; } }
[-] 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]