5 list($sourceClass, $sourceID) = explode(
":", $_GET[
"from"]);
6 checkIdentifier($sourceClass);
7 checkNumeric($sourceID);
9 $to = checkIdentifier($_GET[
"to"]);
20 $form =
new AutoForm(
$source,
"POST",
"/action/connectable/select_related?from={$_GET['from']}&to=$to",
"ConnectableSelect");
22 $form->ajaxSubmit(
"function(result) { ConnectableNavigator.selectResult(result);}",
"function() {document.id('{$form->id}_error').set('text','Failed to communicate with server'); }");
32 if (method_exists(
$target, getConnectableCreateHandler))
34 $createHandler =
$target->getConnectableCreateHandler();
35 $createURL =
"{$createHandler}('{$createURL}'); return false;";
FakoliException is the base exception class for all Fakoli errors.
static usingFeature()
Uses the specified framework feature(s).
static using()
Import the datamodels, views and manifest for the specified component(s).
static end($message="")
Use this method to terminate execution of a script instead of using the php keywords exit() or die().
$method
Pull out a simple reference to the request method.