See also: http://octobercms.com/docs/ui/icon
Author: Alexey Bobkov, Samuel Georges
コード例 #1
0
 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;
 }
コード例 #2
0
 public function getIconOptions()
 {
     return IconList::getList();
 }
コード例 #3
0
 public function getIconOptions($keyValue = null)
 {
     return IconList::getList();
 }