PHP Classes

File: aksara/Helpers/widget_helper.php

Recommend this page to a friend!
  Classes of Aby Dahana   Aksara   aksara/Helpers/widget_helper.php   Download  
File: aksara/Helpers/widget_helper.php
Role: Auxiliary script
Content type: text/plain
Description: Auxiliary script
Class: Aksara
A CodeIgniter based API and CRUD generator
Author: By
Last change:
Date: 10 months ago
Size: 796 bytes
 

Contents

Class file image Download
<?php

/**
 * This file is part of Aksara CMS, both framework and publishing
 * platform.
 *
 * @author Aby Dahana <abydahana@gmail.com>
 * @copyright (c) Aksara Laboratory <https://aksaracms.com>
 * @license MIT License
 *
 * This source file is subject to the MIT license that is bundled
 * with this source code in the LICENSE.txt file.
 *
 * When the signs is coming, those who don't believe at "that time"
 * have only two choices, commit suicide or become brutal.
 */

if (! function_exists('comment_widget')) {
   
/**
     * Load comment widget
     *
     * @param array $params
     */
   
function comment_widget($params = [])
    {
        return
'<div role="widget" data-source="' . base_url('xhr/widget/comment', $params) . '"></div>';
    }
}