This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace frontend\modules\user\controllers; | |
use common\base\MultiModel; | |
use frontend\models\search\OrderSearch; | |
use frontend\modules\user\models\AccountForm; | |
use frontend\modules\user\models\SignupOauthForm; | |
use Yii; | |
use yii\authclient\clients\Facebook; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace frontend\models; | |
use borales\extensions\phoneInput\PhoneInputValidator; | |
use common\components\apex\Apex; | |
use common\models\Client; | |
use common\models\query\ClientQuery; | |
use common\models\Sms; | |
use Yii; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace backend\models; | |
use common\models\User; | |
use common\models\UserProfile; | |
use Yii; | |
use yii\base\Exception; | |
use yii\base\Model; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace Admin\Model; | |
use Rush\Mapper\AbstractMapper; | |
/** | |
* Class Dictionary | |
* | |
* @package Admin\Model | |
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace common\models\query; | |
use common\models\Category; | |
use yii\db\ActiveQuery; | |
/** | |
* This is the ActiveQuery class for [[Category]]. | |
* | |
* @see Category |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace common\widgets; | |
use Yii; | |
use yii\helpers\Html; | |
use yii\helpers\FormatConverter; | |
use yii\base\InvalidParamException; | |
/** | |
* Extended DatePicker, allows to set different formats for sending and displaying value | |
*/ | |
class DatePicker extends \kartik\date\DatePicker |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "trntv/yii2-starter-kit", | |
"description": "Yii2 Starter Kit Application Template", | |
"keywords": [ | |
"yii2", | |
"framework", | |
"start", | |
"cms", | |
"application template", | |
"yii2 advanced" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SELECT | |
product.id AS id, | |
product.image AS image, | |
product_additional_val.count_color AS count_color, | |
product_additional_val.url AS url | |
FROM | |
product | |
INNER JOIN ( | |
SELECT | |
COUNT(product_additional.cid) AS count_color, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* @license http://www.yiiframework.com/license/ | |
*/ | |
namespace frontend\widgets; | |
/** | |
* The ListView widget is used to display data from data | |
* provider. Each data model is rendered using the view |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace backend\controllers; | |
use backend\models\ExcelExportForm; | |
use backend\models\ExcelImportForm; | |
use backend\models\File; | |
use backend\models\search\ProductSearch; | |
use common\models\Product; | |
use moonland\phpexcel\Excel; |
NewerOlder