diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2013-09-25 13:36:30 +0200 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2013-09-30 16:36:59 +0200 |
commit | 9c9dc276b7a1d2592c4fb0a887888632dc1f1e29 (patch) | |
tree | bbe3aed3e09c31c68806bdb8acffef70ba08f51c /lib/private/search/result.php | |
parent | a711399e62d5a9f14d4b748efe4354ee37e61f13 (diff) | |
download | nextcloud-server-9c9dc276b7a1d2592c4fb0a887888632dc1f1e29.tar.gz nextcloud-server-9c9dc276b7a1d2592c4fb0a887888632dc1f1e29.zip |
move the private namespace OC into lib/private - OCP will stay in lib/public
Conflicts:
lib/private/vcategories.php
Diffstat (limited to 'lib/private/search/result.php')
-rw-r--r-- | lib/private/search/result.php | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/lib/private/search/result.php b/lib/private/search/result.php new file mode 100644 index 00000000000..42275c2df11 --- /dev/null +++ b/lib/private/search/result.php @@ -0,0 +1,26 @@ +<?php +/** + * a result of a search + */ +class OC_Search_Result{ + public $name; + public $text; + public $link; + public $type; + public $container; + + /** + * create a new search result + * @param string $name short name for the result + * @param string $text some more information about the result + * @param string $link link for the result + * @param string $type the type of result as human readable string ('File', 'Music', etc) + */ + public function __construct($name, $text, $link, $type, $container) { + $this->name=$name; + $this->text=$text; + $this->link=$link; + $this->type=$type; + $this->container=$container; + } +} |