WICOM
 All Data Structures Namespaces Files Functions Variables Pages
Variables
save_model.php File Reference

Variables

if(!array_key_exists('username',
$_SESSION) and($_SESSION['username']!=null))
if((!array_key_exists('model_name',
$_REQUEST)) and(!array_key_exists('json',
$_REQUEST))) 
$model = Model::retrieve($_REQUEST['model_name'], $_SESSION['username'])
 
 if (!$model->save())
 

Variable Documentation

if (!array_key_exists('username', $_SESSION) and($_SESSION['username']!=null)) if ((!array_key_exists('model_name', $_REQUEST)) and(!array_key_exists('json', $_REQUEST))) $model = Model::retrieve($_REQUEST['model_name'], $_SESSION['username'])
if(!$model->save())