private function processInsert() { $params = array('uid' => $this->getUid(), 'remote_ip_address' => Utils::getRealIpAddr(), 'source' => Chunks_ChunkCompletionEventStruct::SOURCE_USER); $event = Chunks_ChunkCompletionEventDao::createFromChunk($this->chunk, $params); $this->result['data'] = $this->chunk->toArray(); }
public function isMarkedComplete() { return Chunks_ChunkCompletionEventDao::isCompleted($this); }