PHP Classes

File: aksara/Modules/Blogs/Config/Routes.php

Recommend this page to a friend!
  Classes of Aby Dahana  >  Aksara  >  aksara/Modules/Blogs/Config/Routes.php  >  Download  
File: aksara/Modules/Blogs/Config/Routes.php
Role: Example script
Content type: text/plain
Description: Example script
Class: Aksara
A CodeIgniter based API and CRUD generator
Author: By
Last change: Initial commit for update 4.2.8

This commit includes many update such like:
1. Capability to install the modules and auto generate the menus and permission (sets from module properties) from module package;
2. Capability to remove junk menus and permission when the related module is uninstalled;
3. Verification during uninstall the active theme, that will throw a notification;
4. Refine the blog module;
5. Restructure the coding style;
6. Correcting the PostgreSQL syntax support.
Date: 5 days ago
Size: 624 bytes
 

Contents

Class file image Download
<?php
/**
 * Extra route of current module
 *
 * @author Aby Dahana
 * @profile abydahana.github.io
 * @website www.aksaracms.com
 * @since version 4.0.0
 * @copyright (c) 2021 - Aksara Laboratory
 */

$routes->add('blogs/read', '\Aksara\Modules\Blogs\Controllers\Read::index');
$routes->add('blogs/search', '\Aksara\Modules\Blogs\Controllers\Search::index');
$routes->add('blogs/tags', '\Aksara\Modules\Blogs\Controllers\Tags::index');
$routes->add('blogs/(:any)/(:any)', '\Aksara\Modules\Blogs\Controllers\Read::index/$1/$2');
$routes->add('blogs/(:any)', '\Aksara\Modules\Blogs\Controllers\Category::index/$1');

For more information send a message to info at phpclasses dot org.