Example #1
0
 /**
  * Method to get the field options.
  *
  * @return	array	The field option objects.
  * @since	1.6
  */
 protected function getInput()
 {
     $cat_dir = $this->form->getValue('cat_dir', '', '');
     $cat_dir_path = JDownloadsHelper::getSplittedCategoryDirectoryPath($cat_dir);
     if ($cat_dir_path->current) {
         return $cat_dir_path->current;
     }
     return;
 }