@@ -80,7 +80,7 @@ |
||
80 | 80 | * Adds a custom field using a field object |
81 | 81 | * |
82 | 82 | * @param Field Object $field |
83 | - * @return boolean |
|
83 | + * @return false|null |
|
84 | 84 | */ |
85 | 85 | function addFieldObject(&$field){ |
86 | 86 | global $dictionary, $beanList; |
@@ -159,6 +159,10 @@ |
||
159 | 159 | } |
160 | 160 | |
161 | 161 | |
162 | + /** |
|
163 | + * @param string $filename |
|
164 | + * @param string $view |
|
165 | + */ |
|
162 | 166 | protected function _loadFromPopupFile ($filename, $mod, $view, $forSave = false) |
163 | 167 | { |
164 | 168 | // BEGIN ASSERTIONS |
@@ -361,6 +361,9 @@ |
||
361 | 361 | return $this->recursiveVariableReplace($defs, $module, $var_values); |
362 | 362 | } |
363 | 363 | |
364 | + /** |
|
365 | + * @return string |
|
366 | + */ |
|
364 | 367 | public function getModuleDir(){ |
365 | 368 | return $this->module_dir; |
366 | 369 | } |
@@ -849,6 +849,9 @@ discard block |
||
849 | 849 | return false; |
850 | 850 | } |
851 | 851 | |
852 | + /** |
|
853 | + * @param boolean $useTabs |
|
854 | + */ |
|
852 | 855 | public function setUseTabs($useTabs){ |
853 | 856 | $this->_viewdefs [ 'templateMeta' ]['useTabs'] = $useTabs; |
854 | 857 | } |
@@ -865,7 +868,7 @@ discard block |
||
865 | 868 | |
866 | 869 | /** |
867 | 870 | * Sync DetailView & EditView. This should only be set on the EditView |
868 | - * @param bool $syncViews |
|
871 | + * @param boolean $syncDetailEditViews |
|
869 | 872 | */ |
870 | 873 | public function setSyncDetailEditViews($syncDetailEditViews){ |
871 | 874 | $this->_viewdefs [ 'templateMeta' ]['syncDetailEditViews'] = $syncDetailEditViews; |
@@ -148,6 +148,10 @@ |
||
148 | 148 | * Add an item to the history |
149 | 149 | * @return String A GMT Unix timestamp for this newly added item |
150 | 150 | */ |
151 | + |
|
152 | + /** |
|
153 | + * @param string $path |
|
154 | + */ |
|
151 | 155 | public function append ($path) |
152 | 156 | { |
153 | 157 | // make sure we don't have a duplicate filename - highly unusual as two people should not be using Studio/MB concurrently, but when testing quite possible to do two appends within one second... |
@@ -72,6 +72,10 @@ |
||
72 | 72 | * @param string moduleName The name of the module to which this listview belongs |
73 | 73 | * @param string packageName If not empty, the name of the package to which this listview belongs |
74 | 74 | */ |
75 | + |
|
76 | + /** |
|
77 | + * @param string $view |
|
78 | + */ |
|
75 | 79 | function __construct ($view , $moduleName , $packageName = '') |
76 | 80 | { |
77 | 81 | $GLOBALS [ 'log' ]->debug ( get_class ( $this ) . ": __construct()" ) ; |
@@ -42,6 +42,9 @@ |
||
42 | 42 | interface MetaDataParserInterface |
43 | 43 | { |
44 | 44 | |
45 | + /** |
|
46 | + * @return void |
|
47 | + */ |
|
45 | 48 | public function handleSave () ; |
46 | 49 | |
47 | 50 | public function getLayout () ; |
@@ -61,6 +61,11 @@ |
||
61 | 61 | * @param string moduleName The name of the module to which this listview belongs |
62 | 62 | * @param string packageName If not empty, the name of the package to which this listview belongs |
63 | 63 | */ |
64 | + |
|
65 | + /** |
|
66 | + * @param string $view |
|
67 | + * @param string $moduleName |
|
68 | + */ |
|
64 | 69 | function __construct ($view, $moduleName , $packageName = '') |
65 | 70 | { |
66 | 71 | $this->search = ($view == MB_POPUPSEARCH) ? true : false; |
@@ -59,6 +59,10 @@ |
||
59 | 59 | * @param string moduleName The name of the module to which this subpanel belongs |
60 | 60 | * @param string packageName If not empty, the name of the package to which this subpanel belongs |
61 | 61 | */ |
62 | + |
|
63 | + /** |
|
64 | + * @param string $moduleName |
|
65 | + */ |
|
62 | 66 | function __construct ($subpanelName , $moduleName , $packageName = '') |
63 | 67 | { |
64 | 68 | $GLOBALS [ 'log' ]->debug ( get_class ( $this ) . ": __construct()" ) ; |