* add printExtendFields method.

This commit is contained in:
wangyidong
2019-07-24 13:44:01 +08:00
parent f1b0faf11b
commit ff55e2267f
62 changed files with 85 additions and 70 deletions

View File

@@ -215,4 +215,19 @@ class control extends baseControl
if($flow && $action) $this->loadModel('workflowhook')->execute($flow, $action, $objectID);
}
}
/**
* Print extend fields.
*
* @param object $object
* @param string $type
* @param string $extras
* @access public
* @return void
*/
public function printExtendFields($object, $type, $extras)
{
if(!isset($this->config->bizVersion)) return false;
$this->loadModel('flow')->printFields($this->moduleName, $this->methodName, $object, $type, $extras);
}
}