Code comment
This commit is contained in:
parent
4584fa1aa6
commit
75cd7d7e72
@ -54,7 +54,7 @@ abstract class CommonObjectLine extends CommonObject
|
|||||||
* Returns the translation key from units dictionary.
|
* Returns the translation key from units dictionary.
|
||||||
* A langs->trans() must be called on result to get translated value.
|
* A langs->trans() must be called on result to get translated value.
|
||||||
*
|
*
|
||||||
* @param string $type Label type (long or short)
|
* @param string $type Label type (long or short). This can be a translation key.
|
||||||
* @return string|int <0 if ko, label if ok
|
* @return string|int <0 if ko, label if ok
|
||||||
*/
|
*/
|
||||||
public function getLabelOfUnit($type = 'long')
|
public function getLabelOfUnit($type = 'long')
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user