1
0
Fork 0
oldhaven/php/core/classes/files/Cloud.class.php

16 lines
287 B
PHP

<?php
class Cloud {
private $_wrapper;
public function __construct() {
$params = Config::get('app:CloudApp');
$this->_wrapper = new Cloud_API($params['login'], $params['pass']);
}
public function getFiles() {
$files = $this->_wrapper->getItems();
var_dump($files);
}
}