def setter(value): if value.find("%%PASSKEY%%") < 0: raise ValueError("shall contain %%PASSKEY%% string") return datatypes.PhpCode(value)
def validator(value): return datatypes.PhpCode(value)
def setter(value): return datatypes.PhpCode(value)
def validator(value): if value.find("%%BASE64%%") < 0: raise ValueError("shall contain %%BASE64%% string") return datatypes.PhpCode(value)