50 lines
1.1 KiB
PHP
50 lines
1.1 KiB
PHP
<?php
|
|
/**
|
|
* Append data from flow.
|
|
*
|
|
* @param array $fields
|
|
* @param array $objects
|
|
* @param string $module
|
|
* @access public
|
|
* @return array
|
|
*/
|
|
public function appendDataFromFlow($fields, $objects, $module = '')
|
|
{
|
|
return $this->loadExtension('flow')->appendDataFromFlow($fields, $objects, $module);
|
|
}
|
|
|
|
/**
|
|
* Process sub status of a record.
|
|
*
|
|
* @param string $module
|
|
* @param object $record
|
|
* @access public
|
|
* @return string
|
|
*/
|
|
public function processSubStatus($module, $record)
|
|
{
|
|
return $this->loadExtension('flow')->processSubStatus($module, $record);
|
|
}
|
|
|
|
public function setFlowListValue($module)
|
|
{
|
|
return $this->loadExtension('flow')->setFlowListValue($module);
|
|
}
|
|
|
|
public function getFieldOptions($field, $emptyOption = true, $keys = '', $search = '', $limit = 0, $importData = false)
|
|
{
|
|
return $this->loadExtension('flow')->getFieldOptions($field, $emptyOption, $keys, $search, $limit, $importData);
|
|
}
|
|
|
|
/**
|
|
* Get datasource pairs of field.
|
|
*
|
|
* @param string $type
|
|
* @access public
|
|
* @return array
|
|
*/
|
|
public function getDatasourcePairs($type)
|
|
{
|
|
return $this->loadExtension('flow')->getDatasourcePairs($type);
|
|
}
|