/**
  * 	method:	forgetExtended
  *
  * 	todo: write documentation
  */
 public function forgetExtended($n, $i, $l = NULL)
 {
     if (!$l) {
         $l = $this->language;
     }
     $f = parent::forgetExtended($n, $i, $l);
     $i = intval($i);
     $l = $this->getIdLang($l);
     $n = $this->database->escape($n);
     $d = $this->database->delete("{$this->table} where name='{$n}' and id_object={$i} and id_lang='{$l}'");
     return $f && $d;
 }
Example #2
0
 /**
  * 	method:	forgetExtended
  *
  * 	todo: write documentation
  *	TODO: do the physical remove the key from the xml database
  *	TODO: do I remove from just a single language, or all of them?
  *	TODO: perhaps remove all by default, or specify the language to single a particular xml database out.
  */
 public function forgetExtended($n, $i, $l = NULL)
 {
     $cache = parent::forgetExtended($n, $i, $l);
     $xml = false;
     return $cache && $xml;
 }