Skip to content

Commit

Permalink
Rename to AbraFlexi
Browse files Browse the repository at this point in the history
  • Loading branch information
Vitexus committed Nov 29, 2020
1 parent a642c2a commit 440ed0f
Show file tree
Hide file tree
Showing 9 changed files with 122 additions and 69 deletions.
2 changes: 1 addition & 1 deletion Example/flexibeedata.php → Example/abraflexidata.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,6 @@
unset($_REQUEST['class']);
unset($_REQUEST['_']);

$dataRaw = $engine->getColumnsFromFlexiBee('*',$_REQUEST);
$dataRaw = $engine->getColumnsFromAbraFlexi('*',$_REQUEST);

echo json_encode(['data' => $dataRaw, 'recordsTotal' => count($dataRaw)]);
9 changes: 6 additions & 3 deletions Example/index.php
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
<?php

use AbraFlexi\ui\DataTables\DataTable;

require_once __DIR__ . '/init.php';

$engine = new \FlexiPeeHP\Adresar();
$tabler = new FlexiPeeHP\ui\DataTables\DataTable($engine);
$engine = new \AbraFlexi\Adresar();
$tabler = new DataTable($engine);

$oPage->addItem( $tabler );
$oPage->addItem($tabler);

$oPage->draw();

4 changes: 2 additions & 2 deletions Example/init.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php

/**
* FlexiBee datatables
* AbraFlexi datatables
*
* @author Vítězslav Dvořák <info@vitexsofware.cz>
* @copyright (G) 2018-2020 Vitex Software
Expand All @@ -10,5 +10,5 @@
require_once '../vendor/autoload.php';
$shared = \Ease\Shared::instanced();
$shared->loadConfig('./client.json', true);
//$localer = new \Ease\Locale('cs_CZ', '../i18n', 'flexibee-datatables');
//$localer = new \Ease\Locale('cs_CZ', '../i18n', 'abraflexi-datatables');
$oPage = new \Ease\TWB4\WebPage();
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
![Package Logo](https://raw.githubusercontent.com/VitexSoftware/php-flexibee-datatables/ease-core-based/package-logo.png "Project Logo")
![Package Logo](package-logo.png?raw=true "Project Logo")


DataTables filled with FlexiBee by PHP
======================================
DataTables filled with ABRAFLEXI by PHP
=======================================

Show an FlexiBee Evidence in DataTable
Show an ABRAFLEXI Evidence in DataTable

Example
-------

first run **make** to update build autoloader and assets deploy. Then run [Example](Example) to see contents of FlexiBee evidence Adresar as DataTable styled by using Twitter Bootstrap
first run **make** to update build autoloader and assets deploy. Then run [Example](Example) to see contents of ABRAFLEXI evidence Adresar as DataTable styled by using Twitter Bootstrap

![Screenshot](https://raw.githubusercontent.com/VitexSoftware/php-flexibee-datatables/ease-core-based/screnshot.png "Screenshot of Examples")
![Screenshot](screnshot.png?raw=true "Screenshot of Examples")

11 changes: 6 additions & 5 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "vitexsoftware/php-datatables-flexibee",
"name": "vitexsoftware/php-datatables-abraflexi",
"description": "Show FlexiBee evidence data as DataTable",
"license": "MIT",
"authors": [
Expand All @@ -11,14 +11,15 @@
"minimum-stability": "stable",
"autoload": {
"psr-4": {
"FlexiPeeHP\\ui\\DataTables\\": "src/FlexiPeeHP/ui/DataTables/"
"AbraFlexi\\ui\\DataTables\\": "src/AbraFlexi/ui/DataTables/"
}
},
"require": {
"vitexsoftware/flexibee-bricks": "* dev-master"
"spojenet/flexibee": "2.0.x-dev",
"vitexsoftware/flexibee-bricks": "dev-abraflexi"
},
"require-dev": {
"datatables/datatables": "* dev-master",
"vitexsoftware/ease-twbootstrap4": "* dev-master"
"datatables/datatables": "^1.10",
"vitexsoftware/ease-twbootstrap4": ">=1.1"
}
}
Loading

0 comments on commit 440ed0f

Please sign in to comment.