1 2 3 4 5 6 7 8 9 10 11 12 13 14 | private $dati = array(); private function set($field, $offset, $value = array()) { if(!isset($this->dati[$field])) return false; if(!$this->isEmpty($value) AND $offset == 0) { array_unshift($this->dati[$field], trim($value)); return true; } else if(is_numeric($offset)) { array_unshift($this->dati[$field], $this->dati[$field][$offset]); return true; } else { return false; } } |
can I undo?


















0 Comments
There are no comments yet...Kick things off by filling out the form below.
Leave a Comment