mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-06 03:02:34 +01:00
92 lines
1.0 KiB
PHP
92 lines
1.0 KiB
PHP
<?php
|
|
|
|
namespace App\Models\Presenters;
|
|
|
|
use App\Utils\Traits\MakesHash;
|
|
use Hashids\Hashids;
|
|
use Laracasts\Presenter\Presenter;
|
|
use URL;
|
|
use Utils;
|
|
use stdClass;
|
|
|
|
/**
|
|
* Class EntityPresenter
|
|
* @package App\Models\Presenters
|
|
*/
|
|
class EntityPresenter extends Presenter
|
|
{
|
|
use MakesHash;
|
|
|
|
/**
|
|
* @return string
|
|
*/
|
|
public function id()
|
|
{
|
|
return $this->encodePrimaryKey($this->entity->id);
|
|
}
|
|
|
|
/**
|
|
*
|
|
*/
|
|
public function url()
|
|
{
|
|
|
|
}
|
|
|
|
/**
|
|
*
|
|
*/
|
|
public function path()
|
|
{
|
|
|
|
}
|
|
|
|
/**
|
|
*
|
|
*/
|
|
public function editUrl()
|
|
{
|
|
}
|
|
|
|
/**
|
|
* @param bool $label
|
|
*/
|
|
public function statusLabel($label = false)
|
|
{
|
|
|
|
}
|
|
|
|
/**
|
|
*
|
|
*/
|
|
public function statusColor()
|
|
{
|
|
|
|
}
|
|
|
|
/**
|
|
*
|
|
*/
|
|
public function link()
|
|
{
|
|
|
|
}
|
|
|
|
/**
|
|
*
|
|
*/
|
|
public function titledName()
|
|
{
|
|
|
|
}
|
|
|
|
/**
|
|
* @param bool $subColors
|
|
*/
|
|
public function calendarEvent($subColors = false)
|
|
{
|
|
|
|
}
|
|
|
|
}
|