PHP Classes
elePHPant
Icontem

File: config/jaxon.php

Recommend this page to a friend!
  Classes of Thierry Feuzeu  >  Polr Admin Dashboard  >  config/jaxon.php  >  Download  
File: config/jaxon.php
Role: Auxiliary script
Content type: text/plain
Description: Auxiliary script
Class: Polr Admin Dashboard
Another admin dashboard for the Polr URL shortener
Author: By
Last change: Now using Jaxon functions for session, config and views.
Date: 3 days ago
Size: 1,380 bytes
 

Contents

Class file image Download
<?php

return [
   
'app' => [
       
'views' => [
           
'polr_admin' => [
               
'directory' => realpath(__DIR__ . '/../resources/views'),
               
'extension' => '.blade.php',
               
'renderer' => 'blade',
               
'register' => true,
            ],
        ],
       
'classes' => [
            [
               
'directory' => realpath(__DIR__ . '/../src/Ajax/Classes'),
               
'namespace' => '\\Lagdo\\Polr\\Admin\\App',
               
// 'separator' => '', // '.' or '_'
                // 'protected' => [],
           
],
        ],
       
'options' => [
           
'classes' => [
                \
Lagdo\Polr\Admin\App\Stats::class => [
                   
'*' => [
                       
'callback' => 'polr.stats.requestCallbacks',
                    ]
                ],
                \
Lagdo\Polr\Admin\App\Link::class => [
                   
'getAdminLinks' => [
                       
'datatables' => 'polr.home.jaxon',
                    ],
                   
'getUserLinks' => [
                       
'datatables' => 'polr.home.jaxon',
                    ]
                ],
                \
Lagdo\Polr\Admin\App\User::class => [
                   
'getUsers' => [
                       
'datatables' => 'polr.home.jaxon',
                    ]
                ],
            ],
        ],
    ],
];