Added an optionsSettable flag to form types that have an options property

This commit is contained in:
Yung Han Khoe 2008-03-27 11:16:55 +00:00
parent 3ea9420479
commit e862cb8303
15 changed files with 131 additions and 25 deletions

View file

@ -68,6 +68,11 @@ If set to 1 then a "None" option will appear in the list of workflows, which wil
Most workflow triggers can't handle realtime workflows, so we leave out realtime workflows unless they should
specifically be included.
=head4 optionsSettable
A boolean indicating whether the options are settable using an options hashref or not settable because this form
type generates its own options.
=cut
sub definition {
@ -96,9 +101,12 @@ sub definition {
},
dbDataType => {
defaultValue => "VARCHAR(22) BINARY",
},
});
return $class->SUPER::definition($session, $definition);
},
optionsSettable=>{
defaultValue=>0
},
});
return $class->SUPER::definition($session, $definition);
}
#-------------------------------------------------------------------