properties[$key] = $value; } public function getProperty($key) { if (isset($this->properties[$key])) { return $this->properties[$key]; } else { return null; } } public function getProperties() { return $this->properties; } public function addHook($hookFile) { $this->uiHooks[] = $hookFile; } abstract public function toArray(); abstract public function init(); }