a unit of a PHP file i.e. a name and value, and any comments
associated
|
|
|
|
|
|
|
|
getoutput(self)
convert the unit back into formatted lines for a php file |
source code
|
|
|
|
isblank(self)
Returns whether this is a blank element, containing only comments. |
source code
|
|
|
string
|
|
|
Inherited from base.TranslationUnit:
__eq__,
get_state_id,
get_state_n,
getcontext,
getunits,
hasplural,
infer_state,
isfuzzy,
isheader,
isobsolete,
isreview,
istranslatable,
istranslated,
makeobsolete,
markfuzzy,
markreviewneeded,
merge,
multistring_to_rich,
set_state_n,
setcontext,
setid,
unit_iter
Inherited from object:
__delattr__,
__format__,
__getattribute__,
__hash__,
__new__,
__reduce__,
__reduce_ex__,
__repr__,
__setattr__,
__sizeof__,
__subclasshook__
|
|
|
|
|
|
|
|
Inherited from base.TranslationUnit:
getsourcelanguage
|
|
|
|
|
|
|
|
Inherited from base.TranslationUnit:
gettargetlanguage,
gettargetlen
|
|
|
|
|
|
|
|
|
|
|
|
|
|
List
|
|
|
Inherited from base.TranslationUnit:
addlocations
|
|
Inherited from base.TranslationUnit:
adderror,
geterrors
|