protected function getIconList() { if ($this->iconList !== null) { return $this->iconList; } $icons = IconList::getList(); $this->iconList = []; foreach ($icons as $iconCode => $iconInfo) { $iconCode = preg_replace('/^oc\\-/', '', $iconCode); $this->iconList[$iconCode] = $iconInfo; } return $this->iconList; }
public function getIconOptions() { return IconList::getList(); }
public function getIconOptions($keyValue = null) { return IconList::getList(); }