aboutsummaryrefslogtreecommitdiffstats
path: root/lib/public/template.php
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2015-04-19 01:04:59 +0200
committerMorris Jobke <hey@morrisjobke.de>2015-04-19 01:04:59 +0200
commitc056c5201061670b0a51d4bd242e704e00050d4b (patch)
treedf3a2f62582ce22f0ea28e3a62b0d0457cdc1cd4 /lib/public/template.php
parentcdf82909b8225a885fbf92b78208fb1fe258853e (diff)
downloadnextcloud-server-c056c5201061670b0a51d4bd242e704e00050d4b.tar.gz
nextcloud-server-c056c5201061670b0a51d4bd242e704e00050d4b.zip
Add version to @deprecated tags
Diffstat (limited to 'lib/public/template.php')
-rw-r--r--lib/public/template.php16
1 files changed, 8 insertions, 8 deletions
diff --git a/lib/public/template.php b/lib/public/template.php
index be891369869..63079c0fc30 100644
--- a/lib/public/template.php
+++ b/lib/public/template.php
@@ -47,7 +47,7 @@ namespace OCP;
* @return string to the image
*
* @see OC_Helper::imagePath
- * @deprecated Use \OCP\Template::image_path() instead
+ * @deprecated 8.0.0 Use \OCP\Template::image_path() instead
*/
function image_path( $app, $image ) {
return(\image_path( $app, $image ));
@@ -58,7 +58,7 @@ function image_path( $app, $image ) {
* Make OC_Helper::mimetypeIcon available as a simple function
* @param string $mimetype
* @return string to the image of this file type.
- * @deprecated Use \OCP\Template::mimetype_icon() instead
+ * @deprecated 8.0.0 Use \OCP\Template::mimetype_icon() instead
*/
function mimetype_icon( $mimetype ) {
return(\mimetype_icon( $mimetype ));
@@ -68,7 +68,7 @@ function mimetype_icon( $mimetype ) {
* Make preview_icon available as a simple function
* @param string $path path to file
* @return string to the preview of the image
- * @deprecated Use \OCP\Template::preview_icon() instead
+ * @deprecated 8.0.0 Use \OCP\Template::preview_icon() instead
*/
function preview_icon( $path ) {
return(\preview_icon( $path ));
@@ -80,7 +80,7 @@ function preview_icon( $path ) {
* @param string $path of file
* @param string $token
* @return string link to the preview
- * @deprecated Use \OCP\Template::publicPreview_icon() instead
+ * @deprecated 8.0.0 Use \OCP\Template::publicPreview_icon() instead
*/
function publicPreview_icon ( $path, $token ) {
return(\publicPreview_icon( $path, $token ));
@@ -91,7 +91,7 @@ function publicPreview_icon ( $path, $token ) {
* Example: 2048 to 2 kB.
* @param int $bytes in bytes
* @return string size as string
- * @deprecated Use \OCP\Template::human_file_size() instead
+ * @deprecated 8.0.0 Use \OCP\Template::human_file_size() instead
*/
function human_file_size( $bytes ) {
return(\human_file_size( $bytes ));
@@ -104,7 +104,7 @@ function human_file_size( $bytes ) {
* @param boolean $dateOnly
* @return \OC_L10N_String human readable interpretation of the timestamp
*
- * @deprecated Use \OCP\Template::relative_modified_date() instead
+ * @deprecated 8.0.0 Use \OCP\Template::relative_modified_date() instead
*/
function relative_modified_date( $timestamp, $dateOnly = false ) {
return(\relative_modified_date($timestamp, null, $dateOnly));
@@ -115,7 +115,7 @@ function relative_modified_date( $timestamp, $dateOnly = false ) {
* Return a human readable outout for a file size.
* @param integer $bytes size of a file in byte
* @return string human readable interpretation of a file size
- * @deprecated Use \OCP\Template::human_file_size() instead
+ * @deprecated 8.0.0 Use \OCP\Template::human_file_size() instead
*/
function simple_file_size($bytes) {
return(\human_file_size($bytes));
@@ -128,7 +128,7 @@ function simple_file_size($bytes) {
* @param mixed $selected which one is selected?
* @param array $params the parameters
* @return string html options
- * @deprecated Use \OCP\Template::html_select_options() instead
+ * @deprecated 8.0.0 Use \OCP\Template::html_select_options() instead
*/
function html_select_options($options, $selected, $params=array()) {
return(\html_select_options($options, $selected, $params));