Public Member Functions | |
setBatchData ($data) | |
getBatchData () | |
getIdCollection ($batchId=null) | |
deleteCollection ($batchId=null) |
Definition at line 35 of file Abstract.php.
deleteCollection | ( | $ | batchId = null |
) |
Definition at line 87 of file Abstract.php.
00088 { 00089 if (!is_null($batchId)) { 00090 $this->setBatchId($batchId); 00091 } 00092 return $this->getResource()->deleteCollection($this); 00093 }
getBatchData | ( | ) |
getIdCollection | ( | $ | batchId = null |
) |
Retrieve id collection
int | $batchId |
Definition at line 79 of file Abstract.php.
00080 { 00081 if (!is_null($batchId)) { 00082 $this->setBatchId($batchId); 00083 } 00084 return $this->getResource()->getIdCollection($this); 00085 }
setBatchData | ( | $ | data | ) |
Set batch data automatic convert to serialize data
mixed | $data |
need prepare valid utf-8 data related with php bug #42588
Definition at line 44 of file Abstract.php.
00045 { 00046 /** 00047 * need prepare valid utf-8 data 00048 * related with php bug #42588 00049 */ 00050 foreach ($data as $key=>$value) { 00051 $str = @iconv("utf-8", "utf-8//IGNORE", $value); 00052 if ($str) { 00053 $data[$key] = $str; 00054 } 00055 } 00056 $this->setData('batch_data', serialize($data)); 00057 return $this; 00058 }