60 $text->category =
"General";
68 $form->unique(
"code",
"Text already exists with that code.");
69 $form->required(
"code");
71 $form->dropdown(
"category")->allowAddEntry();
79 $form->annotate(
"class_name",
"If merge codes are used, identify the class name that can access the values.");
87 $form->annotate(
"code",
"Code field changes will require changes to existing lookups in the code base.");
89 $form->annotate(
"code",
"Please provide the code as all lowercase letters and link words with an underscore (e.g., my_code)");
106 <div
id=
"tab_border">
107 <p>This form allows you
to edit text that appears in the website. The text is retrieved
for display on a web
page using the code name given here.</p>
108 <p><a
class=
"button" href=
"#" onclick=
"new TextLookup().showAdvancedFeatures(); return false">Advanced Features</a></p>
static fireEvent($event, $parameter=null, $mustBeConsumed=false)
Fire an event to all subscribers as detailed in their manifests.
static usingFeature()
Uses the specified framework feature(s).
static using()
Import the datamodels, views and manifest for the specified component(s).
static usingFile()
Uses the specified framework file(s) from the framework directory.
static notify($message, $blocking=false, $button="OK", $onClick="null")
Utility method to display a notification message to the user when the page has finished loading.
static enableVersioning($form)
$method
Pull out a simple reference to the request method.
if($method=="POST") $script