page level doc blocks and class descriptions

This commit is contained in:
Morris Jobke 2013-11-25 16:39:01 +01:00
parent bc8cc9142e
commit 4e0fa85307
15 changed files with 95 additions and 0 deletions

View File

@ -20,6 +20,11 @@
*
*/
/**
* Public interface of ownCloud for apps to use.
* Activity/IConsumer interface
*/
// use OCP namespace for all classes that are considered public.
// This means that they should be used by apps instead of the internal ownCloud classes
namespace OCP\Activity;

View File

@ -20,6 +20,11 @@
*
*/
/**
* Public interface of ownCloud for apps to use.
* Activity/IManager interface
*/
// use OCP namespace for all classes that are considered public.
// This means that they should be used by apps instead of the internal ownCloud classes
namespace OCP\Activity;

View File

@ -20,6 +20,11 @@
*
*/
/**
* Public interface of ownCloud for apps to use.
* AppFramework/App class
*/
namespace OCP\AppFramework;

View File

@ -20,6 +20,10 @@
*
*/
/**
* Public interface of ownCloud for apps to use.
* AppFramework/IApi interface
*/
namespace OCP\AppFramework;

View File

@ -20,6 +20,11 @@
*
*/
/**
* Public interface of ownCloud for apps to use.
* Authentication/IApacheBackend interface
*/
// use OCP namespace for all classes that are considered public.
// This means that they should be used by apps instead of the internal ownCloud classes
namespace OCP\Authentication;

View File

@ -20,8 +20,16 @@
*
*/
/**
* Public interface of ownCloud for apps to use.
* Files/AlreadyExistsException class
*/
// use OCP namespace for all classes that are considered public.
// This means that they should be used by apps instead of the internal ownCloud classes
namespace OCP\Files;
/**
* Exception for already existing files/folders
*/
class AlreadyExistsException extends \Exception {}

View File

@ -20,8 +20,16 @@
*
*/
/**
* Public interface of ownCloud for apps to use.
* Files/EntityTooLargeException class
*/
// use OCP namespace for all classes that are considered public.
// This means that they should be used by apps instead of the internal ownCloud classes
namespace OCP\Files;
/**
* Exception for too large entity
*/
class EntityTooLargeException extends \Exception {}

View File

@ -20,6 +20,11 @@
*
*/
/**
* Public interface of ownCloud for apps to use.
* Files/File interface
*/
// use OCP namespace for all classes that are considered public.
// This means that they should be used by apps instead of the internal ownCloud classes
namespace OCP\Files;

View File

@ -20,8 +20,16 @@
*
*/
/**
* Public interface of ownCloud for apps to use.
* Files/InvalidContentException class
*/
// use OCP namespace for all classes that are considered public.
// This means that they should be used by apps instead of the internal ownCloud classes
namespace OCP\Files;
/**
* Exception for invalid content
*/
class InvalidContentException extends \Exception {}

View File

@ -20,8 +20,16 @@
*
*/
/**
* Public interface of ownCloud for apps to use.
* Files/InvalidPathException class
*/
// use OCP namespace for all classes that are considered public.
// This means that they should be used by apps instead of the internal ownCloud classes
namespace OCP\Files;
/**
* Exception for invalid path
*/
class InvalidPathException extends \Exception {}

View File

@ -20,8 +20,16 @@
*
*/
/**
* Public interface of ownCloud for apps to use.
* Files/NotEnoughSpaceException class
*/
// use OCP namespace for all classes that are considered public.
// This means that they should be used by apps instead of the internal ownCloud classes
namespace OCP\Files;
/**
* Exception for not enough space
*/
class NotEnoughSpaceException extends \Exception {}

View File

@ -20,8 +20,16 @@
*
*/
/**
* Public interface of ownCloud for apps to use.
* Files/NotFoundException class
*/
// use OCP namespace for all classes that are considered public.
// This means that they should be used by apps instead of the internal ownCloud classes
namespace OCP\Files;
/**
* Exception for not found entity
*/
class NotFoundException extends \Exception {}

View File

@ -20,8 +20,16 @@
*
*/
/**
* Public interface of ownCloud for apps to use.
* Files/NotPermittedException class
*/
// use OCP namespace for all classes that are considered public.
// This means that they should be used by apps instead of the internal ownCloud classes
namespace OCP\Files;
/**
* Exception for not permitted action
*/
class NotPermittedException extends \Exception {}

View File

@ -20,6 +20,11 @@
*
*/
/**
* Public interface of ownCloud for apps to use.
* Files/Storage interface
*/
// use OCP namespace for all classes that are considered public.
// This means that they should be used by apps instead of the internal ownCloud classes
namespace OCP\Files;

View File

@ -20,6 +20,11 @@
*
*/
/**
* Public interface of ownCloud for apps to use.
* IAddressBook interface
*/
// use OCP namespace for all classes that are considered public.
// This means that they should be used by apps instead of the internal ownCloud classes
namespace OCP {