56 foreach ($this->mChildList as $table) {
57 $this->_mIsLoaded[$table] =
false;
58 $this->mTable[$table] = [];
60 foreach ($this->mParentList as $table) {
61 $this->_mIsLoaded[$table] =
false;
62 $this->mTable[$table] =
null;
76 if (
true === $this->_mIsLoaded[$table]) {
83 if (in_array($table, $this->mChildList)) {
85 } elseif (in_array($table, $this->mParentList)) {
86 $this->mTable[$table] = $handler->get($this->
get($handler->mPrimary));
88 die(
'invalid load table');
91 $this->_mIsLoaded[$table] =
true;
166 if (count($this->mImage)>0) {
179 XCube_DelegateUtils::call(
'Legacy_Image.CreateImageObject',
new XCube_Ref($originalImage));
180 $originalImage->set(
'title', $this->
get($handler->getClientField(
'title')));
182 $originalImage->set(
'dirname', $this->
getDirname());
183 $originalImage->set(
'dataname', $this->
getDataname());
184 $originalImage->set(
'data_id', $this->
get($this->
getPrimary()));
186 for ($i=1;$i<=$n;$i++) {
187 if (! isset($this->mImage[$i])) {
188 $this->mImage[$i] = clone $originalImage;
189 $this->mImage[$i]->set(
'num', $i);
191 if (
true === $isPost) {
192 $this->mImage[$i]->setupPostData($i);