39 protected $tempTableName;
41 public function __toString()
43 return Zurmo::t(
'Core',
'(Unnamed)');
46 public static function getModuleClassName()
48 return 'ImportModule';
51 public static function canSaveMetadata()
56 public static function getDefaultMetadata()
58 $metadata = parent::getDefaultMetadata();
59 $metadata[__CLASS__] = array(
64 array(
'serializedData',
'required'),
65 array(
'serializedData',
'type',
'type' =>
'string'),
74 public static function isTypeDeletable()
90 if ($this->tempTableName != null)
92 return $this->tempTableName;
95 return $this->tempTableName;
103 assert(
'is_string($name)');
104 $this->tempTableName = $name;
107 protected function beforeDelete()
109 if (!parent::beforeDelete())