Source for file directories.php
Documentation is available at directories.php
* @package Joomla.Administrator
* @copyright Copyright (C) 2005 - 2013 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE
// Load the base adapter.
require_once JPATH_ADMINISTRATOR .
'/components/com_finder/helpers/indexer/adapter.php';
* Renders a list of directories.
* @package Joomla.Administrator
protected $type =
'Directories';
* Method to get the field options.
* @return array The field option objects.
// Get the base directories.
jimport('joomla.filesystem.folder');
// Iterate through the base directories and find the subdirectories.
// Check if the directory should be excluded.
// Get the child directories.
// Merge the directories.
// Convert the values to options.
foreach ($values as $value)
Documentation generated on Tue, 19 Nov 2013 15:01:29 +0100 by phpDocumentor 1.4.3