Skip to content

Instantly share code, notes, and snippets.

View mirahtadi's full-sized avatar

Admin RCSOS mirahtadi

View GitHub Profile
@mirahtadi
mirahtadi / Applicant.php
Last active January 10, 2017 09:05
Jobs Yii
<?php
/**
* This is the model class for table "applicant".
*
* The followings are the available columns in table 'applicant':
* @property string $position
* @property integer $id
* @property string $fullName
* @property string $nickName
application/x-httpd-php JobController.php
C++ source, ASCII text
<?php
class JobController extends Controller {
public function filters() {
return array(
'accessControl - login',
@mirahtadi
mirahtadi / test-email.php
Last active March 28, 2016 07:04
Email Template
<html>
<head><b>New Incident Report has been created</b></head>
<body>
<p>Id : 2103</p>
<p><b>Summary</b></p>
<table>
<tr>
<td>Type</td>
<td>:</td>
<td>Reservation</td>
@mirahtadi
mirahtadi / TransactionManager.php
Last active March 25, 2016 02:41
Transaction Split
<?php
namespace App\Bundle\TransactionBundle\Manager;
use App\Bundle\ProductBundle\Filter\ProductCategoryFilter;
use App\Bundle\ProductBundle\Repository\ProductCategoryRepository;
use App\Bundle\ProductBundle\Repository\ProductRepository;
use App\Bundle\ReportBundle\Filter\ReportFilter;
use App\Bundle\TransactionBundle\Entity\PaymentType;
use App\Bundle\TransactionBundle\Filter\TransactionFilter;
<?php
namespace App\Bundle\TransactionBundle\Subscriber;
use App\Bundle\TransactionBundle\Entity\TransactionHistory;
use App\Bundle\TransactionBundle\Event\TransactionHistoryEvent;
use App\Bundle\TransactionBundle\Manager\TransactionHistoryManager;
use App\Bundle\TransactionBundle\TransactionHistoryEvents;
use Symfony\Component\EventDispatcher\EventSubscriberInterface;