function setById() { $orm = new ORM(); $sql = new MysqlConnect($orm->getDatabase()); $fields = array("id", "ok", "test"); $condition = array('where' => array('id =' => 2)); $sql->select($fields, $orm); $sql->where($condition); $sql->setById('1'); $orm->setKo('15'); $orm->setTest("Applaudir ' ' '"); $sql->persist($orm); }