I have a function of class, I think it is trying to insert data into table:
function insert($values)
{
if( !$this->checkFieldKeys(array_keys($values)) ) {
return false ;
}
$this->dao->from($this->getTableName()) ;
$this->dao->set($values) ;
return $this->dao->insert() ;
}
Please explain what each line is doing and what is mean of each variable used?
Thanks.