PHP code example of onericcomputing / mmanager-module-builder
1. Go to this page and download the library: Download onericcomputing/mmanager-module-builder library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
onericcomputing / mmanager-module-builder example snippets
public function test()
{
// Create a new instance of CI Query Builder
$driver = new QueryBuilder();
// Pass CI Query Builder to Customer Repository
$customerRepo = new CustomerRepository($driver);
$results = $customerRepo->findAll(1);
echo var_dump($results->result_array());
}