/plugin/PBAPI/PBAPI/Methods/album.php
https://bitbucket.org/chamilo/chamilo-ext-repo-photobucket-dev/ · PHP · 62 lines · 20 code · 6 blank · 36 comment · 0 complexity · b41c98bea1a8145a08325eb885fda635 MD5 · raw file
- <?php
- /**
- * Photobucket API
- * Fluent interface for PHP5
- * Album methods
- *
- * @author Photobucket
- * @package PBAPI
- * @subpackage Methods
- *
- * @copyright Copyright Copyright (c) 2008, Photobucket, Inc.
- * @license http://www.opensource.org/licenses/mit-license.php The MIT License
- */
-
- /**
- * Load Methods parent
- */
- require_once dirname(__FILE__) . '/../Methods.php';
-
- /**
- * Album submethods
- *
- * @package PBAPI
- * @subpackage Methods
- */
- class PBAPI_Methods_album extends PBAPI_Methods
- {
-
- /**
- * Upload File
- *
- * @param array $params
- */
- public function upload($params)
- {
- $this->core->_setParamList($params);
- $this->core->_appendUri('/upload');
- }
-
- /**
- * Privacy
- *
- * @param array $params
- */
- public function privacy($params = null)
- {
- $this->core->_setParamList($params);
- $this->core->_appendUri('/privacy');
- }
-
- /**
- * Vanity
- *
- * @param array $params
- */
- public function vanity($params = null)
- {
- $this->core->_setParamList($params);
- $this->core->_appendUri('/vanity');
- }
-
- }