2014-07-08 07:51:25 +02:00
|
|
|
<?php
|
|
|
|
|
|
|
|
namespace Firefly\Helper\Toolkit;
|
|
|
|
|
2014-09-12 17:34:54 +02:00
|
|
|
use Illuminate\Support\Collection;
|
2014-07-29 19:37:52 +02:00
|
|
|
|
2014-07-25 13:02:01 +02:00
|
|
|
/**
|
|
|
|
* Interface ToolkitInterface
|
|
|
|
*
|
|
|
|
* @package Firefly\Helper\Toolkit
|
|
|
|
*/
|
2014-07-15 22:16:29 +02:00
|
|
|
interface ToolkitInterface
|
|
|
|
{
|
2014-07-25 13:02:01 +02:00
|
|
|
/**
|
2014-08-10 15:01:46 +02:00
|
|
|
*
|
2014-09-10 22:22:44 +02:00
|
|
|
* @return null
|
2014-07-25 13:02:01 +02:00
|
|
|
*/
|
2014-09-10 22:22:44 +02:00
|
|
|
public function getDateRange();
|
2014-07-08 07:51:25 +02:00
|
|
|
|
2014-09-12 17:34:54 +02:00
|
|
|
/**
|
|
|
|
* Takes any collection and tries to make a sensible select list compatible array of it.
|
|
|
|
*
|
|
|
|
* @param Collection $set
|
|
|
|
* @param null $titleField
|
|
|
|
*
|
|
|
|
* @return mixed
|
|
|
|
*/
|
|
|
|
public function makeSelectList(Collection $set, $titleField = null);
|
|
|
|
|
2014-09-14 21:09:52 +02:00
|
|
|
public function next();
|
2014-09-22 07:25:23 +02:00
|
|
|
|
2014-09-14 21:09:52 +02:00
|
|
|
public function prev();
|
|
|
|
|
2014-09-22 07:25:23 +02:00
|
|
|
public function checkImportJobs();
|
2014-09-14 21:09:52 +02:00
|
|
|
|
2014-09-10 22:22:44 +02:00
|
|
|
}
|