PHP code example of iartz / jobsheet-ex-components
1. Go to this page and download the library: Download iartz/jobsheet-ex-components 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/ */
iartz / jobsheet-ex-components example snippets
// Import autoload
Type A
use Jobsheet\Ex\Type\A\Containers\A;
// use Jobsheet\Ex\Classes\Abstracts\MotorType;
set_error_handler('Jobsheet\Ex\Core\Error::errorHandler');
set_exception_handler('Jobsheet\Ex\Core\Error::exceptionHandler');
$data = [
'develop' => true,
];
A::setData($data);
A::renderPage();
$data = [
'showAll' => true,
// 'develop' => true,
// 'debug' => true,
// 'motor_type' => MotorType::DC,
];
A::setData($data);
A::renderPage();