/** * Constructor. * * @param KConfig $config An optional KConfig object with configuration options. */ public function __construct(KConfig $config) { parent::__construct($config); if ($this->locatable_id) { $this->registerCallback(array('before.browse', 'before.read'), array($this, 'fetchLocatable')); } }