foreach($all_links as $tbl => $links) {
foreach($links as $col => $totbl_col) {
$to = explode(':', $totbl_col);
foreach($all_links as $tbl => $links) {
foreach($links as $col => $totbl_col) {
$to = explode(':', $totbl_col);
function update($x, $req, $with_perm_check = true)
{
if ( $with_perm_check && !$this->checkPerm($x,'E', $req) ) {
function update($x, $req, $with_perm_check = true)
{
if ( $with_perm_check && !$this->checkPerm($x,'E', $req) ) {
$this->permitError = false;
if (is_a($lock,'DB_DataObject') && $this->authUser) {
$this->permitError = false;
if (is_a($lock,'DB_DataObject') && $this->authUser) {
$lock->on_id = $x->{$this->key};
$lock->on_table= strtolower($x->tableName());
$lock->person_id = $this->authUser->id;
$lock->on_id = $x->{$this->key};
$lock->on_table= strtolower($x->tableName());
$lock->person_id = $this->authUser->id;
$p->get($x->modified_by);
$this->jerr($p->name . " saved the record since you started editing,\nDo you really want to update it?", array('needs_confirm' => true));
$p->get($x->modified_by);
$this->jerr($p->name . " saved the record since you started editing,\nDo you really want to update it?", array('needs_confirm' => true));