File: D:/HostingSpaces/SBogers10/rentman.komma.pro/workbench/komma/kms/src/Komma/Kms/Cases/CaseEntity.php
<?php
/**
* Short description for the file.
*
* @author Komma <info@komma.pro>
* @copyright (c) 2012-2015, Komma Mediadesign
*/
namespace Komma\Kms\Cases;
use Komma\Kms\Core\Entities\KmsTranslatableEntity;
class CaseEntity extends KmsTranslatableEntity
{
public $active = 1;
public $parent_id = null;
public $name = '';
public $location = '';
public $website = '';
public $website_url = '';
public $employees = '';
public $rentman_since = '';
public $images;
/**
* @param null $languageId
* @return int|bool
*/
public function getRoutableId($languageId = null)
{
if ( ! isset($this->translations[$languageId])) return false;
return $this->translations[$languageId]->id;
}
}