diff options
Diffstat (limited to 'app/Controller/AdvancedSearchController.php')
| -rw-r--r-- | app/Controller/AdvancedSearchController.php | 24 |
1 files changed, 19 insertions, 5 deletions
diff --git a/app/Controller/AdvancedSearchController.php b/app/Controller/AdvancedSearchController.php index 51911f08d1..a3fbd6db3b 100644 --- a/app/Controller/AdvancedSearchController.php +++ b/app/Controller/AdvancedSearchController.php @@ -1,6 +1,4 @@ <?php -namespace Fisharebest\Webtrees\Controller; - /** * webtrees: online genealogy * Copyright (C) 2015 webtrees development team @@ -15,6 +13,8 @@ namespace Fisharebest\Webtrees\Controller; * You should have received a copy of the GNU General Public License * along with this program. If not, see <http://www.gnu.org/licenses/>. */ +namespace Fisharebest\Webtrees\Controller; + use Fisharebest\Webtrees\Database; use Fisharebest\Webtrees\Date; use Fisharebest\Webtrees\Functions\FunctionsPrintLists; @@ -24,13 +24,17 @@ use Fisharebest\Webtrees\Individual; use Fisharebest\Webtrees\Soundex; /** - * Class AdvancedSearchController - Controller for the advanced search page + * Controller for the advanced search page */ class AdvancedSearchController extends SearchController { + /** @var string[] Fields to search */ public $fields = array(); + + /** @var string[] Field values to search */ public $values = array(); + + /** @var int[] Range of days either side of target date */ public $plusminus = array(); - public $errors = array(); /** * Startup activity @@ -167,6 +171,8 @@ class AdvancedSearchController extends SearchController { } /** + * Get the value. + * * @param int $i * * @return string @@ -181,6 +187,8 @@ class AdvancedSearchController extends SearchController { } /** + * Get the field. + * * @param int $i * * @return string @@ -195,6 +203,8 @@ class AdvancedSearchController extends SearchController { } /** + * Get the index. + * * @param string $field * * @return int @@ -204,6 +214,8 @@ class AdvancedSearchController extends SearchController { } /** + * Get the label. + * * @param string $tag * * @return string @@ -635,7 +647,9 @@ class AdvancedSearchController extends SearchController { } } - /** {@inheritdoc} */ + /** + * Display the search results + */ public function printResults() { if ($this->myindilist) { uasort($this->myindilist, '\Fisharebest\Webtrees\GedcomRecord::compare'); |
