| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455 |
- <?php
- /**
- * 创建一个迭代。
- * Create a execution.
- *
- * @param object $execution
- * @param array $postMembers
- * @access public
- * @return int|false
- */
- public function create($execution, $postMembers)
- {
- return $this->loadExtension('zentaomax')->create($execution, $postMembers);
- }
- /**
- * 更新一个迭代。
- * Update a execution.
- *
- * @param int $executionID
- * @param object $postData
- * @access public
- * @return array|false
- */
- public function update($executionID, $postData)
- {
- return $this->loadExtension('zentaomax')->update($executionID, $postData);
- }
- /**
- * 关闭迭代。
- * Close execution.
- *
- * @param int $executionID
- * @param object $postData
- * @access public
- * @return int|false
- */
- public function close($executionID, $postData)
- {
- return $this->loadExtension('zentaomax')->close($executionID, $postData);
- }
- /**
- * 检查迭代是否有已上传的交付物。
- * Check if the execution has uploaded deliverable.
- *
- * @param object $execution
- * @access public
- * @return bool
- */
- public function hasUploadedDeliverable($execution)
- {
- return $this->loadExtension('zentaomax')->hasUploadedDeliverable($execution);
- }
|