@@ -65,7 +65,7 @@ |
||
| 65 | 65 | * @param bool $addEmptyOption Set TRUE to add an empty option with value "0" at the top of the hierarchy |
| 66 | 66 | * @param integer $key ID of the object to display as the root of select options |
| 67 | 67 | * |
| 68 | - * @return array $optionsArray Associative array of value->name pairs, useful for {@link XoopsFormSelect}->addOptionArray method |
|
| 68 | + * @return string $optionsArray Associative array of value->name pairs, useful for {@link XoopsFormSelect}->addOptionArray method |
|
| 69 | 69 | */ |
| 70 | 70 | public function makeSelBox($fieldName, $prefix = '-', $addEmptyOption = false, $key = 0) |
| 71 | 71 | { |
@@ -60,13 +60,13 @@ |
||
| 60 | 60 | * |
| 61 | 61 | * @param string $name |
| 62 | 62 | * @param string $fieldName Name of the member variable from the node objects that should be used as the title for the options. |
| 63 | - * @param string $prefix String to indent deeper levels |
|
| 64 | - * @param string $selected |
|
| 63 | + * @param boolean $prefix String to indent deeper levels |
|
| 64 | + * @param integer $selected |
|
| 65 | 65 | * @param bool $addEmptyOption Set TRUE to add an empty option with value "0" at the top of the hierarchy |
| 66 | 66 | * @param integer $key ID of the object to display as the root of select options |
| 67 | 67 | * |
| 68 | 68 | * @param string $extra |
| 69 | - * @return array $optionsArray Associative array of value->name pairs, useful for <a href='psi_element://XoopsFormSelect'>XoopsFormSelect</a>->addOptionArray method |
|
| 69 | + * @return string $optionsArray Associative array of value->name pairs, useful for <a href='psi_element://XoopsFormSelect'>XoopsFormSelect</a>->addOptionArray method |
|
| 70 | 70 | * addOptionArray method |
| 71 | 71 | */ |
| 72 | 72 | |