38 lines
595 B
PHP

<?php
// No direct access.
defined('_JEXEC') or die;
abstract class AbstractCommonClubsModel
{
protected $id; // TODO private possible?
public function getId()
{
return $this->id;
}
public function setId($id)
{
$this->id = $id;
}
private $values = null;
protected function getValues()
{
if(is_null($this->values))
// FIXME fetch cache
return;
return $this->values;
}
public function setValues($values)
{
$this->values = $values;
}
}