41 lines
1.0 KiB
PHP
41 lines
1.0 KiB
PHP
<?php
|
|
/**
|
|
* 2012-2025 D1m Group
|
|
*
|
|
* NOTICE OF LICENSE
|
|
*
|
|
* This source file is subject to the Open Software License (OSL 3.0) that is available
|
|
* through the world-wide-web at this URL: http://www.opensource.org/licenses/OSL-3.0
|
|
* If you are unable to obtain it through the world-wide-web, please send an email
|
|
* to sales@d1m.cn so we can send you a copy immediately.
|
|
*
|
|
* @copyright 2012-2025 D1m Group
|
|
* @license http://www.opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
|
|
*/
|
|
|
|
namespace Stemcell\Datacollection\Api;
|
|
|
|
/**
|
|
* Data Collection API Interface
|
|
*/
|
|
interface DataCollectionInterface
|
|
{
|
|
/**
|
|
* Submit data collection
|
|
*
|
|
* @param string $data
|
|
* @param string $formType
|
|
* @return mixed
|
|
*/
|
|
public function submitData($data, $formType = 'default');
|
|
|
|
/**
|
|
* Get current user's inquiry records
|
|
*
|
|
* @param int $pageSize Page size
|
|
* @param int $currentPage Current page number
|
|
* @return array
|
|
*/
|
|
public function getMyInquiryRecords($pageSize = 10, $currentPage = 1);
|
|
}
|