From 6e7818a967eff5e9a9cc5f62ae7ba04f8368b557 Mon Sep 17 00:00:00 2001 From: Victor Dubiniuk Date: Thu, 26 Sep 2013 22:55:17 +0300 Subject: [PATCH] Add PHP doc --- lib/db.php | 4 ++++ lib/download.php | 7 +++++++ lib/download/range.php | 3 +++ lib/download/simple.php | 3 +++ 4 files changed, 17 insertions(+) diff --git a/lib/db.php b/lib/db.php index 76a229cf..a40168e9 100644 --- a/lib/db.php +++ b/lib/db.php @@ -11,6 +11,10 @@ namespace OCA\Documents; +/** + * Generic DB class + */ + class Db { /** * Build placeholders for the query with variable input data diff --git a/lib/download.php b/lib/download.php index a34482dd..34738932 100644 --- a/lib/download.php +++ b/lib/download.php @@ -11,6 +11,9 @@ namespace OCA\Documents; +/** + * Generic download class + */ class Download { /** @@ -25,6 +28,10 @@ class Download { */ protected $filepath; + /** + * Subclassed object + * @var + */ protected $instance; /** diff --git a/lib/download/range.php b/lib/download/range.php index 9c7dde1c..5947db4b 100644 --- a/lib/download/range.php +++ b/lib/download/range.php @@ -11,6 +11,9 @@ namespace OCA\Documents; +/** + * Class processing range HTTP request (partial download) + */ class Download_Range extends \OCA\Documents\Download { // Start of the range diff --git a/lib/download/simple.php b/lib/download/simple.php index c53e597b..1f35bf52 100644 --- a/lib/download/simple.php +++ b/lib/download/simple.php @@ -11,6 +11,9 @@ namespace OCA\Documents; +/** + * Class processing complete download + */ class Download_Simple extends \OCA\Documents\Download { public function __construct($view, $filepath){