@extends('docs.layout.main') @section('title', 'Документация проекта User.Edus') @section('head', 'Документация проекта User.Edus') @section('small_head', 'Список всех возможных апи') @section('content')
Дерево функции
@php $root = $action->tree() @endphp @php $s = $root['stat'] @endphp total: {{ $s['total']['folders'] }} | files: {{ $s['total']['files'] }}
    @foreach($root['files'] as $fileData)
  • {{ $fileData['name'] }}
  • @endforeach @include('docs.api_list_folder', ['folders' => $root['folders']])
{{-- --}}
@endsection @section('document.ready') $('#action-tree').jstree({ 'core' : { 'check_callback' : true }, 'plugins' : [ 'types', 'dnd' ], 'types' : { 'default' : { 'icon' : 'fa fa-folder' }, 'php' : { 'icon' : 'fa fa-file-code-o' }, } }); @endsection