classes/BearCMS/Internal/Data2/Addons.php
public function getList()
    {
        $app = App::get();
        $list = $app->data->getList()
                ->filterBy('key', 'bearcms/addons/addon/', 'startWith');
        $result = [];
        foreach ($list as $item) {
            $result[] = $this->makeAddonFromRawData($item->value);
        }
        return new \IvoPetkov\DataList($result);
    }
public function getList()
    {
        $app = App::get();
        $list = $app->data->getList()
                ->filterBy('key', 'bearcms/addons/addon/', 'startWith');
        $result = [];
        foreach ($list as $item) {
            $result[] = $this->makeAddonFromRawData($item->value);
        }
        return new \IvoPetkov\DataList($result);
    }
public function getList ( ) { $ app = App :: get ( ) ; $ list = $ app -> data -> getList ( ) -> filterBy ( 'key' , 'bearcms/addons/addon/' , 'startWith' ) ; $ result = [ ] ; foreach ( $ list as $ item ) { $ result [ ] = $ this -> makeAddonFromRawData ( $ item -> value ) ; } return new \ IvoPetkov \ DataList ( $ result ) ; }
Retrieves a list of all addons

@return \IvoPetkov\DataList List containing all addons data
Retrieves a list of all addons