Пример #1
0
 /**
  * 
  * @param type $pk
  * @param type $updateData
  * @return type
  */
 function update($pk, $updateData)
 {
     return $this->db->update($this->tableName(), $updateData, 'pk=?', array($pk));
 }