Proyectos de Subversion LeadersLinked - Services

Rev

Rev 335 | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 335 Rev 336
Línea 109... Línea 109...
109
                $items = [];
109
                $items = [];
110
                $records = $paginator->getCurrentItems();
110
                $records = $paginator->getCurrentItems();
111
                foreach($records as $record)
111
                foreach($records as $record)
112
                {
112
                {
113
                    $item = [
113
                    $item = [
114
                        'id' => $record->id,
114
                        'id' => $record->uuid,
115
                        'name' => $record->name,
115
                        'name' => $record->name,
116
                        'description' => $record->description,
116
                        'description' => $record->description,
117
                        'intelligence' => $record->intelligence,
117
                        'intelligence' => $record->intelligence,
118
                        'actions' => [
118
                        'actions' => [
119
                            'link_edit' => $allowEdit ? $this->url()->fromRoute('habits/skills/edit', ['id' => $record->uuid ], ['force_canonical' => true]) : '',
119
                            'link_edit' => $allowEdit ? $this->url()->fromRoute('habits/skills/edit', ['id' => $record->uuid ], ['force_canonical' => true]) : '',