Browse Source

$this->table() now had parameter for auto-escaping #0

git-svn-id: svn+ssh://code.netmonsters.ru/svn/majestic/branches/evo@119 4cb57b5f-5bbd-dd11-951b-001d605cbbc5
master
aterekhov 15 years ago
parent
commit
00259cfe93
  1. 2
      model/Model.php

2
model/Model.php

@ -131,6 +131,6 @@ abstract class Model
if (!$this->table) {
$this->table = substr(strtolower(get_class($this)), 0, -5/*strlen('Model')*/);
}
return $identify ? $this->identify($this->table) : $this->table;
return $autoescape ? $this->identify($this->table) : $this->table;
}
}
Loading…
Cancel
Save