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();
 }
Exemplo n.º 2
0
 public function isMarkedComplete()
 {
     return Chunks_ChunkCompletionEventDao::isCompleted($this);
 }