repo
stringlengths
7
63
file_url
stringlengths
81
284
file_path
stringlengths
5
200
content
stringlengths
0
32.8k
language
stringclasses
1 value
license
stringclasses
7 values
commit_sha
stringlengths
40
40
retrieved_at
stringdate
2026-01-04 15:02:33
2026-01-05 05:24:06
truncated
bool
2 classes
jianyan74/rageframe3
https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/common/assets/AdminLteAsset.php
common/assets/AdminLteAsset.php
<?php namespace common\assets; use yii\web\AssetBundle; /** * Class AdminLteAsset * @package common\assets * @author jianyan74 <751393839@qq.com> */ class AdminLteAsset extends AssetBundle { public $sourcePath = '@vendor/almasaeed2010/adminlte/dist'; public $css = [ 'css/adminlte.min.css', ]...
php
Apache-2.0
847c0dee0d01b0994305b978c87cbe94c4179f30
2026-01-05T04:21:36.457503Z
false
jianyan74/rageframe3
https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/common/assets/AdminLtePluginAsset.php
common/assets/AdminLtePluginAsset.php
<?php namespace common\assets; use yii\web\AssetBundle; /** * Class AdminLtePluginAsset * @package common\assets * @author jianyan74 <751393839@qq.com> */ class AdminLtePluginAsset extends AssetBundle { public $sourcePath = '@vendor/almasaeed2010/adminlte/plugins'; public $css = [ 'fontawesome-f...
php
Apache-2.0
847c0dee0d01b0994305b978c87cbe94c4179f30
2026-01-05T04:21:36.457503Z
false
jianyan74/rageframe3
https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/common/assets/AdminLteDemoAsset.php
common/assets/AdminLteDemoAsset.php
<?php namespace common\assets; use yii\web\AssetBundle; /** * Class AdminLteDemoAsset * @package common\assets * @author jianyan74 <751393839@qq.com> */ class AdminLteDemoAsset extends AssetBundle { public $sourcePath = '@vendor/almasaeed2010/adminlte/dist'; /** * @var string[] */ public $...
php
Apache-2.0
847c0dee0d01b0994305b978c87cbe94c4179f30
2026-01-05T04:21:36.457503Z
false
jianyan74/rageframe3
https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/common/config/main.php
common/config/main.php
<?php return [ 'aliases' => [ '@bower' => '@vendor/bower-asset', '@npm' => '@vendor/npm-asset', ], 'vendorPath' => dirname(dirname(__DIR__)).'/vendor', 'language' => 'zh-CN', 'sourceLanguage' => 'zh-cn', 'timeZone' => 'Asia/Shanghai', 'bootstrap' => [ 'queue', // 队列系统...
php
Apache-2.0
847c0dee0d01b0994305b978c87cbe94c4179f30
2026-01-05T04:21:36.457503Z
false
jianyan74/rageframe3
https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/common/config/params.php
common/config/params.php
<?php return [ 'adminEmail' => 'admin@example.com', 'supportEmail' => 'support@example.com', 'senderEmail' => 'noreply@example.com', 'senderName' => 'Example.com mailer', 'user.passwordResetTokenExpire' => 3600, 'user.passwordMinLength' => 8, /** ------ 系统授权秘钥 ------ **/ 'secret_key' =...
php
Apache-2.0
847c0dee0d01b0994305b978c87cbe94c4179f30
2026-01-05T04:21:36.457503Z
false
jianyan74/rageframe3
https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/common/config/test.php
common/config/test.php
<?php return [ 'id' => 'app-common-tests', 'basePath' => dirname(__DIR__), 'components' => [ 'user' => [ 'class' => 'yii\web\User', 'identityClass' => 'common\models\User', ], ], ];
php
Apache-2.0
847c0dee0d01b0994305b978c87cbe94c4179f30
2026-01-05T04:21:36.457503Z
false
jianyan74/rageframe3
https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/common/config/bootstrap.php
common/config/bootstrap.php
<?php use common\enums\AppEnum; Yii::setAlias('@root', dirname(dirname(__DIR__)) . '/'); Yii::setAlias('@common', dirname(__DIR__)); Yii::setAlias('@api', dirname(dirname(__DIR__)) . '/api'); Yii::setAlias('@frontend', dirname(dirname(__DIR__)) . '/frontend'); Yii::setAlias('@backend', dirname(dirname(__DIR__)) . '/b...
php
Apache-2.0
847c0dee0d01b0994305b978c87cbe94c4179f30
2026-01-05T04:21:36.457503Z
false
jianyan74/rageframe3
https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/common/traits/AuthRoleTrait.php
common/traits/AuthRoleTrait.php
<?php namespace common\traits; use Yii; use yii\base\InvalidConfigException; use yii\data\ActiveDataProvider; use yii\web\UnprocessableEntityHttpException; use common\enums\StatusEnum; use common\enums\WhetherEnum; use common\helpers\ResultHelper; use common\models\rbac\AuthRole; use common\helpers\ArrayHelper; /** ...
php
Apache-2.0
847c0dee0d01b0994305b978c87cbe94c4179f30
2026-01-05T04:21:36.457503Z
false
jianyan74/rageframe3
https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/common/traits/Curd.php
common/traits/Curd.php
<?php namespace common\traits; use Yii; use yii\data\Pagination; use yii\base\InvalidConfigException; use common\helpers\ResultHelper; use common\enums\StatusEnum; use common\helpers\ArrayHelper; /** * Trait Curd * @property \yii\db\ActiveRecord|\yii\base\Model $modelClass * @package common\traits */ trait Curd ...
php
Apache-2.0
847c0dee0d01b0994305b978c87cbe94c4179f30
2026-01-05T04:21:36.457503Z
false
jianyan74/rageframe3
https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/common/traits/HasOneMember.php
common/traits/HasOneMember.php
<?php namespace common\traits; use common\enums\StatusEnum; use common\models\member\Member; /** * Trait HasOneMember * @package common\traits */ trait HasOneMember { /** * 用户信息 * * @return \yii\db\ActiveQuery */ public function getMember() { return $this->hasOne(Member::cl...
php
Apache-2.0
847c0dee0d01b0994305b978c87cbe94c4179f30
2026-01-05T04:21:36.457503Z
false
jianyan74/rageframe3
https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/common/traits/MemberMobileSelect.php
common/traits/MemberMobileSelect.php
<?php namespace common\traits; use Yii; use yii\web\Response; use common\enums\StatusEnum; use common\models\member\Member; use common\enums\MemberTypeEnum; /** * Trait MemberMobileSelect * @package common\traits */ trait MemberMobileSelect { /** * select2 查询 * * @param null $q * @param nu...
php
Apache-2.0
847c0dee0d01b0994305b978c87cbe94c4179f30
2026-01-05T04:21:36.457503Z
false
jianyan74/rageframe3
https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/common/traits/NotifyConfigTrait.php
common/traits/NotifyConfigTrait.php
<?php namespace common\traits; use Yii; use yii\helpers\Json; use yii\base\InvalidConfigException; use common\enums\StatusEnum; use common\helpers\ArrayHelper; use common\enums\NotifyConfigTypeEnum; /** * Trait NotifyConfigTrait * @package common\traits */ trait NotifyConfigTrait { /** * @throws InvalidC...
php
Apache-2.0
847c0dee0d01b0994305b978c87cbe94c4179f30
2026-01-05T04:21:36.457503Z
false
jianyan74/rageframe3
https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/common/traits/AuthItemTrait.php
common/traits/AuthItemTrait.php
<?php namespace common\traits; use Yii; use yii\base\InvalidConfigException; use yii\data\ActiveDataProvider; use common\enums\StatusEnum; use common\enums\WhetherEnum; use common\models\rbac\AuthItem; use common\helpers\ArrayHelper; use common\helpers\ResultHelper; /** * Trait AuthItemTrait * @package common\trai...
php
Apache-2.0
847c0dee0d01b0994305b978c87cbe94c4179f30
2026-01-05T04:21:36.457503Z
false
jianyan74/rageframe3
https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/common/traits/Tree.php
common/traits/Tree.php
<?php namespace common\traits; use common\helpers\ArrayHelper; use common\helpers\TreeHelper; /** * Trait Tree * * 注意:必须带有 * * id、pid、level、tree 字段 * * 选择使用 * * '''php * * public function getParent() * { * return $this->hasOne(self::class, ['id' => 'pid']); * } * * ''' * * @pac...
php
Apache-2.0
847c0dee0d01b0994305b978c87cbe94c4179f30
2026-01-05T04:21:36.457503Z
false
jianyan74/rageframe3
https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/common/traits/PayNotify.php
common/traits/PayNotify.php
<?php namespace common\traits; use Yii; use yii\helpers\Json; use yii\web\NotFoundHttpException; use yii\web\UnprocessableEntityHttpException; use common\enums\StatusEnum; use common\helpers\ArrayHelper; use common\helpers\FileHelper; use common\helpers\WechatHelper; use common\models\extend\PayLog; use common\enums\...
php
Apache-2.0
847c0dee0d01b0994305b978c87cbe94c4179f30
2026-01-05T04:21:36.457503Z
false
jianyan74/rageframe3
https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/common/traits/ExtendConfigTrait.php
common/traits/ExtendConfigTrait.php
<?php namespace common\traits; use Yii; use common\enums\StatusEnum; use common\enums\ExtendConfigNameEnum; use common\enums\ExtendConfigTypeEnum; use common\models\base\SearchModel; use common\models\extend\Config; use common\helpers\ArrayHelper; use common\helpers\ResultHelper; /** * 扩展配置 * * Trait ExtendConfig...
php
Apache-2.0
847c0dee0d01b0994305b978c87cbe94c4179f30
2026-01-05T04:21:36.457503Z
false
jianyan74/rageframe3
https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/common/traits/MerchantCurd.php
common/traits/MerchantCurd.php
<?php namespace common\traits; use Yii; use yii\data\Pagination; use yii\base\InvalidConfigException; use common\helpers\ResultHelper; use common\enums\StatusEnum; use common\helpers\ArrayHelper; /** * Trait Curd * @property \yii\db\ActiveRecord|\yii\base\Model $modelClass * @package common\traits */ trait Merch...
php
Apache-2.0
847c0dee0d01b0994305b978c87cbe94c4179f30
2026-01-05T04:21:36.457503Z
false
jianyan74/rageframe3
https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/common/traits/WechatLogin.php
common/traits/WechatLogin.php
<?php namespace common\traits; use Yii; use yii\helpers\Json; use common\enums\AccessTokenGroupEnum; /** * WechatLogin * * Trait WechatLogin * @package common\traits */ trait WechatLogin { /** * 是否获取微信用户信息 * * @var bool */ protected $openGetWechatUser = true; /** * 用户id ...
php
Apache-2.0
847c0dee0d01b0994305b978c87cbe94c4179f30
2026-01-05T04:21:36.457503Z
false
jianyan74/rageframe3
https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/common/traits/HasOneMerchant.php
common/traits/HasOneMerchant.php
<?php namespace common\traits; use common\models\merchant\Merchant; /** * Trait HasOneMerchant * @package common\traits * @author jianyan74 <751393839@qq.com> */ trait HasOneMerchant { /** * 关联商户 * * @return mixed */ public function getMerchant() { return $this->hasOne(Mer...
php
Apache-2.0
847c0dee0d01b0994305b978c87cbe94c4179f30
2026-01-05T04:21:36.457503Z
false
jianyan74/rageframe3
https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/common/traits/FileAction.php
common/traits/FileAction.php
<?php namespace common\traits; use Yii; use yii\web\Response; use common\forms\UploadForm; use common\helpers\ResultHelper; use common\helpers\UploadHelper; use common\enums\AttachmentUploadTypeEnum; /** * Trait FileAction * @package common\traits * @author jianyan74 <751393839@qq.com> */ trait FileAction { ...
php
Apache-2.0
847c0dee0d01b0994305b978c87cbe94c4179f30
2026-01-05T04:21:36.457503Z
false
jianyan74/rageframe3
https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/common/traits/MerchantSelect.php
common/traits/MerchantSelect.php
<?php namespace common\traits; use Yii; use yii\web\Response; use common\enums\StatusEnum; use common\models\merchant\Merchant; /** * Trait MerchantSelectAction * @package common\traits */ trait MerchantSelect { /** * select2 查询 * * @param null $q * @param null $id * @return array ...
php
Apache-2.0
847c0dee0d01b0994305b978c87cbe94c4179f30
2026-01-05T04:21:36.457503Z
false
jianyan74/rageframe3
https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/common/traits/BaseAction.php
common/traits/BaseAction.php
<?php namespace common\traits; use Yii; use yii\base\Model; use yii\web\Response; use yii\web\UnprocessableEntityHttpException; use common\enums\AppEnum; /** * trait BaseAction * @package common\traits * @author jianyan74 <751393839@qq.com> */ trait BaseAction { /** * 默认分页 * * @var int */...
php
Apache-2.0
847c0dee0d01b0994305b978c87cbe94c4179f30
2026-01-05T04:21:36.457503Z
false
jianyan74/rageframe3
https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/common/enums/AttachmentUploadTypeEnum.php
common/enums/AttachmentUploadTypeEnum.php
<?php namespace common\enums; /** * Class AttachmentUploadTypeEnum * @package common\enums */ class AttachmentUploadTypeEnum extends BaseEnum { const IMAGES = 'images'; const FILES = 'files'; const VIDEOS = 'videos'; const VOICES = 'voices'; /** * @return string[] */ public stati...
php
Apache-2.0
847c0dee0d01b0994305b978c87cbe94c4179f30
2026-01-05T04:21:36.457503Z
false
jianyan74/rageframe3
https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/common/enums/UseStateEnum.php
common/enums/UseStateEnum.php
<?php namespace common\enums; /** * Class UseStateEnum * @package common\enums */ class UseStateEnum extends BaseEnum { const UNCLAIMED = 0; const GET = 1; const USE = 2; const PAST_DUE = 3; /** * @return string[] */ public static function getMap(): array { return [ ...
php
Apache-2.0
847c0dee0d01b0994305b978c87cbe94c4179f30
2026-01-05T04:21:36.457503Z
false
jianyan74/rageframe3
https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/common/enums/MessageLevelEnum.php
common/enums/MessageLevelEnum.php
<?php namespace common\enums; /** * Class MessageLevelEnum * @package common\enums * @author jianyan74 <751393839@qq.com> */ class MessageLevelEnum extends BaseEnum { const SUCCESS = 'success'; const INFO = 'info'; const WARNING = 'warning'; const ERROR = 'error'; /** * @return array ...
php
Apache-2.0
847c0dee0d01b0994305b978c87cbe94c4179f30
2026-01-05T04:21:36.457503Z
false
jianyan74/rageframe3
https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/common/enums/AppEnum.php
common/enums/AppEnum.php
<?php namespace common\enums; /** * Class AppEnum * @package common\enums * @author jianyan74 <751393839@qq.com> */ class AppEnum extends BaseEnum { const BACKEND = 'backend'; const FRONTEND = 'frontend'; const API = 'api'; const HTML5 = 'html5'; const MERCHANT = 'merchant'; const OAUTH2 =...
php
Apache-2.0
847c0dee0d01b0994305b978c87cbe94c4179f30
2026-01-05T04:21:36.457503Z
false
jianyan74/rageframe3
https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/common/enums/AddonTypeEnum.php
common/enums/AddonTypeEnum.php
<?php namespace common\enums; /** * Class AddonTypeEnum * @package common\enums * @author jianyan74 <751393839@qq.com> */ class AddonTypeEnum extends BaseEnum { const DEFAULT = 'default'; const ADDONS = 'addons'; /** * @return string[] */ public static function getMap(): array { ...
php
Apache-2.0
847c0dee0d01b0994305b978c87cbe94c4179f30
2026-01-05T04:21:36.457503Z
false
jianyan74/rageframe3
https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/common/enums/SortEnum.php
common/enums/SortEnum.php
<?php namespace common\enums; /** * Class SortEnum * @package common\enums * @author jianyan74 <751393839@qq.com> */ class SortEnum extends BaseEnum { const DESC = 'desc'; const ASC = 'asc'; /** * @return array */ public static function getMap(): array { return [ ...
php
Apache-2.0
847c0dee0d01b0994305b978c87cbe94c4179f30
2026-01-05T04:21:36.457503Z
false
jianyan74/rageframe3
https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/common/enums/AuditStatusEnum.php
common/enums/AuditStatusEnum.php
<?php namespace common\enums; use yii\helpers\Html; /** * Class AuditStatusEnum * @package common\enums * @author jianyan74 <751393839@qq.com> */ class AuditStatusEnum extends BaseEnum { const ENABLED = 1; const DISABLED = 0; const DELETE = -1; /** * @return array */ public static ...
php
Apache-2.0
847c0dee0d01b0994305b978c87cbe94c4179f30
2026-01-05T04:21:36.457503Z
false
jianyan74/rageframe3
https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/common/enums/OperatingTypeEnum.php
common/enums/OperatingTypeEnum.php
<?php namespace common\enums; use yii\helpers\Html; /** * 运营类型 * * Class OperatingTypeEnum * @package common\enums */ class OperatingTypeEnum extends BaseEnum { const SELF_SUPPORT = 1; const ENTER = 2; /** * @return string[] */ public static function getMap(): array { retu...
php
Apache-2.0
847c0dee0d01b0994305b978c87cbe94c4179f30
2026-01-05T04:21:36.457503Z
false
jianyan74/rageframe3
https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/common/enums/WeekEnum.php
common/enums/WeekEnum.php
<?php namespace common\enums; /** * Class WeekEnum * @package common\enums */ class WeekEnum extends BaseEnum { const MONDAY = 1; const TUESDAY = 2; const WEDNESDAY = 3; const THURSDAY = 4; const FRIDAY = 5; const SATURDAY = 6; const SUNDAY = 0; /** * @return string[] */ ...
php
Apache-2.0
847c0dee0d01b0994305b978c87cbe94c4179f30
2026-01-05T04:21:36.457503Z
false
jianyan74/rageframe3
https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/common/enums/MemberTypeEnum.php
common/enums/MemberTypeEnum.php
<?php namespace common\enums; /** * Class MemberTypeEnum * @package common\enums */ class MemberTypeEnum extends BaseEnum { const MEMBER = 1; const MANAGER = 2; const MERCHANT = 3; const SHOP = 4; const STORE = 5; const ROBOT = 100; /** * @return string[] */ public static...
php
Apache-2.0
847c0dee0d01b0994305b978c87cbe94c4179f30
2026-01-05T04:21:36.457503Z
false
jianyan74/rageframe3
https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/common/enums/SubscriptionActionEnum.php
common/enums/SubscriptionActionEnum.php
<?php namespace common\enums; use common\models\member\Member; /** * Class SubscriptionActionEnum * @package common\enums * @author jianyan74 <751393839@qq.com> */ class SubscriptionActionEnum extends BaseEnum { /** @var string 提醒 */ const ABNORMAL_LOGIN = 'abnormal_login'; const ERROR = 'error'; ...
php
Apache-2.0
847c0dee0d01b0994305b978c87cbe94c4179f30
2026-01-05T04:21:36.457503Z
false
jianyan74/rageframe3
https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/common/enums/NotifyConfigTypeEnum.php
common/enums/NotifyConfigTypeEnum.php
<?php namespace common\enums; /** * Class NotifyConfigTypeEnum * @package common\enums * @author jianyan74 <751393839@qq.com> */ class NotifyConfigTypeEnum extends BaseEnum { const SYS = 'sys'; const DING_TALK = 'dingTalk'; const WECHAT_MP = 'wechatMp'; const WECHAT_MINI = 'wechatMini'; const ...
php
Apache-2.0
847c0dee0d01b0994305b978c87cbe94c4179f30
2026-01-05T04:21:36.457503Z
false
jianyan74/rageframe3
https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/common/enums/AppPushEnum.php
common/enums/AppPushEnum.php
<?php namespace common\enums; /** * Class AppPushEnum * @package common\enums */ class AppPushEnum extends BaseEnum { const J_PUSH = 'jPush'; const GE_TUI = 'geTui'; /** * @return string[] */ public static function getMap(): array { return [ self::J_PUSH => '极光推送'...
php
Apache-2.0
847c0dee0d01b0994305b978c87cbe94c4179f30
2026-01-05T04:21:36.457503Z
false
jianyan74/rageframe3
https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/common/enums/ThemeLayoutEnum.php
common/enums/ThemeLayoutEnum.php
<?php namespace common\enums; /** * 主题布局 * * Class ThemeLayoutEnum * @package common\enums * @author jianyan74 <751393839@qq.com> */ class ThemeLayoutEnum extends BaseEnum { const DEFAULT = 'default'; const SUBFIELD = 'subfield'; /** * @return string[] */ public static function getMap...
php
Apache-2.0
847c0dee0d01b0994305b978c87cbe94c4179f30
2026-01-05T04:21:36.457503Z
false
jianyan74/rageframe3
https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/common/enums/NotifyTypeEnum.php
common/enums/NotifyTypeEnum.php
<?php namespace common\enums; /** * Class NotifyTypeEnum * @package common\enums * @author jianyan74 <751393839@qq.com> */ class NotifyTypeEnum extends BaseEnum { // 消息类型 const ANNOUNCE = 1; //公告 const REMIND = 2; // 提醒 const MESSAGE = 3; // 私信 /** * @return string[] */ public s...
php
Apache-2.0
847c0dee0d01b0994305b978c87cbe94c4179f30
2026-01-05T04:21:36.457503Z
false
jianyan74/rageframe3
https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/common/enums/StatusEnum.php
common/enums/StatusEnum.php
<?php namespace common\enums; use common\helpers\Html; /** * 状态枚举 * * Class StatusEnum * @package common\enums * @author jianyan74 <751393839@qq.com> */ class StatusEnum extends BaseEnum { const ENABLED = 1; const DISABLED = 0; const DELETE = -1; /** * @return array */ public sta...
php
Apache-2.0
847c0dee0d01b0994305b978c87cbe94c4179f30
2026-01-05T04:21:36.457503Z
false
jianyan74/rageframe3
https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/common/enums/BaseEnum.php
common/enums/BaseEnum.php
<?php namespace common\enums; use common\helpers\ArrayHelper; /** * Class BaseEnum * @package common\enums * @author jianyan74 <751393839@qq.com> */ abstract class BaseEnum { /** * @return array */ abstract public static function getMap(): array; /** * @param $key * @return strin...
php
Apache-2.0
847c0dee0d01b0994305b978c87cbe94c4179f30
2026-01-05T04:21:36.457503Z
false
jianyan74/rageframe3
https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/common/enums/MemberLevelBuyTypeEnum.php
common/enums/MemberLevelBuyTypeEnum.php
<?php namespace common\enums; /** * Class MemberLevelBuyTypeEnum * @package common\enums */ class MemberLevelBuyTypeEnum extends BaseEnum { const GIVE = 1; const BUY = 2; /** * @return string[] */ public static function getMap(): array { return [ self::GIVE => '赠送...
php
Apache-2.0
847c0dee0d01b0994305b978c87cbe94c4179f30
2026-01-05T04:21:36.457503Z
false
jianyan74/rageframe3
https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/common/enums/CertificationTypeEnum.php
common/enums/CertificationTypeEnum.php
<?php namespace common\enums; use yii\helpers\Html; /** * Class CertificationTypeEnum * @package common\enums * @author jianyan74 <751393839@qq.com> */ class CertificationTypeEnum extends BaseEnum { const UNVERIFIED = 0; const COMPANY = 1; const INDIVIDUAL = 2; const GOVERNMENT = 3; const OTH...
php
Apache-2.0
847c0dee0d01b0994305b978c87cbe94c4179f30
2026-01-05T04:21:36.457503Z
false
jianyan74/rageframe3
https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/common/enums/MeetTheConditionsTypeEnum.php
common/enums/MeetTheConditionsTypeEnum.php
<?php namespace common\enums; /** * 满足条件 * * Class MeetTheConditionsTypeEnum * @package common\enums * @author jianyan74 <751393839@qq.com> */ class MeetTheConditionsTypeEnum extends BaseEnum { const OR = 1; const AND = 2; /** * @return string[] */ public static function getMap(): arr...
php
Apache-2.0
847c0dee0d01b0994305b978c87cbe94c4179f30
2026-01-05T04:21:36.457503Z
false
jianyan74/rageframe3
https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/common/enums/MemberStatusEnum.php
common/enums/MemberStatusEnum.php
<?php namespace common\enums; use common\helpers\Html; /** * Class MemberStatusEnum * @package common\enums * @author jianyan74 <751393839@qq.com> */ class MemberStatusEnum extends BaseEnum { const ENABLED = 1; const DISABLED = 0; const DELETE = -1; /** * @return array */ public st...
php
Apache-2.0
847c0dee0d01b0994305b978c87cbe94c4179f30
2026-01-05T04:21:36.457503Z
false
jianyan74/rageframe3
https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/common/enums/ExtendConfigNameEnum.php
common/enums/ExtendConfigNameEnum.php
<?php namespace common\enums; use yii\base\Model; use common\models\extend\printer\FeiE; use common\models\extend\printer\YiLianYun; use common\models\extend\printer\XpYun; /** * 扩展配置标识 * * Class ExtendConfigNameEnum * @package common\enums * @author jianyan74 <751393839@qq.com> */ class ExtendConfigNameEnum e...
php
Apache-2.0
847c0dee0d01b0994305b978c87cbe94c4179f30
2026-01-05T04:21:36.457503Z
false
jianyan74/rageframe3
https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/common/enums/OfficialEnum.php
common/enums/OfficialEnum.php
<?php namespace common\enums; /** * Class OfficialEnum * @package common\enums */ class OfficialEnum extends BaseEnum { const AUTHORITY = 'Authority'; /** * @return string[] */ public static function getMap(): array { return [ self::AUTHORITY => '官方插件', ]; ...
php
Apache-2.0
847c0dee0d01b0994305b978c87cbe94c4179f30
2026-01-05T04:21:36.457503Z
false
jianyan74/rageframe3
https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/common/enums/WithdrawTransferStatusEnum.php
common/enums/WithdrawTransferStatusEnum.php
<?php namespace common\enums; /** * 提现状态枚举 * * Class WithdrawTransferStatusEnum * @package common\enums * @author jianyan74 <751393839@qq.com> */ class WithdrawTransferStatusEnum extends BaseEnum { const APPLY = 0; const APPLY_AGREE = 1; const TRANSFER_IN_PROGRESS = 2; const TRANSFER_SUCCESS = 3...
php
Apache-2.0
847c0dee0d01b0994305b978c87cbe94c4179f30
2026-01-05T04:21:36.457503Z
false
jianyan74/rageframe3
https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/common/enums/PayTradeTypeEnum.php
common/enums/PayTradeTypeEnum.php
<?php namespace common\enums; /** * 支付场景类型 * * Class PayTradeTypeEnum * @package common\enums */ class PayTradeTypeEnum extends BaseEnum { const DEFAULT = 'default'; /****************** 微信 *****************/ const WECHAT_MP = 'mp'; const WECHAT_WAP = 'wap'; const WECHAT_APP = 'app'; cons...
php
Apache-2.0
847c0dee0d01b0994305b978c87cbe94c4179f30
2026-01-05T04:21:36.457503Z
false
jianyan74/rageframe3
https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/common/enums/GenderEnum.php
common/enums/GenderEnum.php
<?php namespace common\enums; /** * 性别枚举 * * Class GenderEnum * @package common\enums * @author jianyan74 <751393839@qq.com> */ class GenderEnum extends BaseEnum { const UNKNOWN = 0; const MAN = 1; const WOMAN = 2; /** * @return array */ public static function getMap(): array ...
php
Apache-2.0
847c0dee0d01b0994305b978c87cbe94c4179f30
2026-01-05T04:21:36.457503Z
false
jianyan74/rageframe3
https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/common/enums/AccessTokenGroupEnum.php
common/enums/AccessTokenGroupEnum.php
<?php namespace common\enums; /** * Class AccessTokenGroupEnum * @package common\enums * @author jianyan74 <751393839@qq.com> */ class AccessTokenGroupEnum extends BaseEnum { const DEFAULT = 'default'; const PC = 'pc'; const H5 = 'h5'; // app + 推送 const APP = 'app'; const IOS = 'iOS'; ...
php
Apache-2.0
847c0dee0d01b0994305b978c87cbe94c4179f30
2026-01-05T04:21:36.457503Z
false
jianyan74/rageframe3
https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/common/enums/AccountTypeEnum.php
common/enums/AccountTypeEnum.php
<?php namespace common\enums; use yii\helpers\Html; /** * 提现账号类别 * * Class AccountTypeEnum * @package common\enums * @author jianyan74 <751393839@qq.com> */ class AccountTypeEnum extends BaseEnum { const BALANCE = 1; const UNION = 10; const WECHAT = 20; const WECHAT_MINI = 21; const ALI = 3...
php
Apache-2.0
847c0dee0d01b0994305b978c87cbe94c4179f30
2026-01-05T04:21:36.457503Z
false
jianyan74/rageframe3
https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/common/enums/TransferTypeEnum.php
common/enums/TransferTypeEnum.php
<?php namespace common\enums; /** * 转账类型 * * Class TransferTypeEnum * @package common\enums * @author jianyan74 <751393839@qq.com> */ class TransferTypeEnum extends BaseEnum { const OFFLINE = 1; const BALANCE = 2; const WECHAT_BANK_CARD = 10; const WECHAT_BALANCE = 11; const ALI_BANK_CARD = ...
php
Apache-2.0
847c0dee0d01b0994305b978c87cbe94c4179f30
2026-01-05T04:21:36.457503Z
false
jianyan74/rageframe3
https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/common/enums/WhetherEnum.php
common/enums/WhetherEnum.php
<?php namespace common\enums; use common\helpers\Html; /** * Class WhetherEnum * @package common\enums * @author jianyan74 <751393839@qq.com> */ class WhetherEnum extends BaseEnum { const ENABLED = 1; const DISABLED = 0; /** * @return array */ public static function getMap(): array ...
php
Apache-2.0
847c0dee0d01b0994305b978c87cbe94c4179f30
2026-01-05T04:21:36.457503Z
false
jianyan74/rageframe3
https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/common/enums/AttachmentDriveEnum.php
common/enums/AttachmentDriveEnum.php
<?php namespace common\enums; /** * Class AttachmentDriveEnum * @package common\enums */ class AttachmentDriveEnum extends BaseEnum { const LOCAL = 'local'; const QINIU = 'qiniu'; const OSS = 'oss'; const OSS_DIRECT_PASSING = 'oss-direct-passing'; const COS = 'cos'; /** * @return stri...
php
Apache-2.0
847c0dee0d01b0994305b978c87cbe94c4179f30
2026-01-05T04:21:36.457503Z
false
jianyan74/rageframe3
https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/common/enums/CreditsLogTypeEnum.php
common/enums/CreditsLogTypeEnum.php
<?php namespace common\enums; /** * Class CreditsLogType * @package common\enums * @author jianyan74 <751393839@qq.com> */ class CreditsLogTypeEnum extends BaseEnum { // 金额类型 const USER_MONEY = 'user_money'; const CONSUME_MONEY = 'consume_money'; // 积分类型 const USER_INTEGRAL = 'user_integral';...
php
Apache-2.0
847c0dee0d01b0994305b978c87cbe94c4179f30
2026-01-05T04:21:36.457503Z
false
jianyan74/rageframe3
https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/common/enums/ExtendConfigTypeEnum.php
common/enums/ExtendConfigTypeEnum.php
<?php namespace common\enums; /** * 扩展配置类型 * * Class ExtendConfigTypeEnum * @package common\enums * @author jianyan74 <751393839@qq.com> */ class ExtendConfigTypeEnum extends BaseEnum { const RECEIPT_PRINTER = 'receipt-printer'; /** * @return array|string[] */ public static function getMa...
php
Apache-2.0
847c0dee0d01b0994305b978c87cbe94c4179f30
2026-01-05T04:21:36.457503Z
false
jianyan74/rageframe3
https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/common/enums/LogisticsTypeEnum.php
common/enums/LogisticsTypeEnum.php
<?php namespace common\enums; /** * Class LogisticsTypeEnum * @package addons\TinyShop\common\enums * @author jianyan74 <751393839@qq.com> */ class LogisticsTypeEnum extends BaseEnum { const ALIYUN = 'aliyun'; const JUHE = 'juhe'; const KDNIAO = 'kdniao'; const KD100 = 'kd100'; /** * @re...
php
Apache-2.0
847c0dee0d01b0994305b978c87cbe94c4179f30
2026-01-05T04:21:36.457503Z
false
jianyan74/rageframe3
https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/common/enums/ConfigTypeEnum.php
common/enums/ConfigTypeEnum.php
<?php namespace common\enums; /** * Class ConfigTypeEnum * @package common\enums * @author jianyan74 <751393839@qq.com> */ class ConfigTypeEnum extends BaseEnum { /** * @return array */ public static function getMap(): array { return [ 'text' => "文本框", 'passwo...
php
Apache-2.0
847c0dee0d01b0994305b978c87cbe94c4179f30
2026-01-05T04:21:36.457503Z
false
jianyan74/rageframe3
https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/common/enums/MemberLevelAutoUpgradeTypeEnum.php
common/enums/MemberLevelAutoUpgradeTypeEnum.php
<?php namespace common\enums; /** * Class MemberLevelAutoUpgradeTypeEnum * @package common\enums * @author jianyan74 <751393839@qq.com> */ class MemberLevelAutoUpgradeTypeEnum extends BaseEnum { const CLOSE = 0; const AUTO = 1; const VIP_AUTO = 2; /** * @return string[] */ public st...
php
Apache-2.0
847c0dee0d01b0994305b978c87cbe94c4179f30
2026-01-05T04:21:36.457503Z
false
jianyan74/rageframe3
https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/common/enums/MemberLevelUpgradeTypeEnum.php
common/enums/MemberLevelUpgradeTypeEnum.php
<?php namespace common\enums; /** * 会员升级类型 * * Class MemberLevelUpgradeTypeEnum * @package common\enums * @author jianyan74 <751393839@qq.com> */ class MemberLevelUpgradeTypeEnum extends BaseEnum { const CONSUMPTION_INTEGRAL = 1; const CONSUMPTION_MONEY = 2; const CONSUMPTION_GROWTH = 3; /** ...
php
Apache-2.0
847c0dee0d01b0994305b978c87cbe94c4179f30
2026-01-05T04:21:36.457503Z
false
jianyan74/rageframe3
https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/common/enums/DevPatternEnum.php
common/enums/DevPatternEnum.php
<?php namespace common\enums; /** * 系统开发模式 * * Class DevPatternEnum * @package common\enums * @author jianyan74 <751393839@qq.com> */ class DevPatternEnum extends BaseEnum { const B2C = 'b2c'; const B2B2C = 'b2b2c'; const SAAS = 'saas'; const BLANK = 'blank'; /** * @return array *...
php
Apache-2.0
847c0dee0d01b0994305b978c87cbe94c4179f30
2026-01-05T04:21:36.457503Z
false
jianyan74/rageframe3
https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/common/enums/PayStatusEnum.php
common/enums/PayStatusEnum.php
<?php namespace common\enums; /** * 支付状态 * * Class PayStatusEnum * @package common\enums * @author jianyan74 <751393839@qq.com> */ class PayStatusEnum extends BaseEnum { const NO = 0; const MIDWAY = 1; const YES = 2; /** * @return array */ public static function getMap(): array ...
php
Apache-2.0
847c0dee0d01b0994305b978c87cbe94c4179f30
2026-01-05T04:21:36.457503Z
false
jianyan74/rageframe3
https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/common/enums/InvoiceTypeEnum.php
common/enums/InvoiceTypeEnum.php
<?php namespace common\enums; use yii\helpers\Html; /** * Class InvoiceTypeEnum * @package common\enums * @author jianyan74 <751393839@qq.com> */ class InvoiceTypeEnum extends BaseEnum { const COMPANY = 1; const PERSONAGE = 2; /** * @return array */ public static function getMap(): arr...
php
Apache-2.0
847c0dee0d01b0994305b978c87cbe94c4179f30
2026-01-05T04:21:36.457503Z
false
jianyan74/rageframe3
https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/common/enums/SmsUsageEnum.php
common/enums/SmsUsageEnum.php
<?php namespace common\enums; /** * Class SmsUsageEnum * @package addons\Merchants\common\enums * @author jianyan74 <751393839@qq.com> */ class SmsUsageEnum extends BaseEnum { const REGISTER = 'register'; const LOGIN = 'login'; const UP_PWD = 'up-pwd'; const UP_PAY_PWD = 'up-pay-pwd'; const RE...
php
Apache-2.0
847c0dee0d01b0994305b978c87cbe94c4179f30
2026-01-05T04:21:36.457503Z
false
jianyan74/rageframe3
https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/common/enums/PayTypeEnum.php
common/enums/PayTypeEnum.php
<?php namespace common\enums; /** * 支付类型 * * Class PayTypeEnum * @package common\enums * @author jianyan74 <751393839@qq.com> */ class PayTypeEnum extends BaseEnum { const ON_LINE = 0; const USER_MONEY = 1; const CASH = 2; const PAY_ON_DELIVERY = 3; // 第三方支付 const WECHAT = 100; const...
php
Apache-2.0
847c0dee0d01b0994305b978c87cbe94c4179f30
2026-01-05T04:21:36.457503Z
false
jianyan74/rageframe3
https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/common/enums/ThemeColorEnum.php
common/enums/ThemeColorEnum.php
<?php namespace common\enums; /** * 主题颜色 * * Class ThemeColorEnum * @package common\enums * @author jianyan74 <751393839@qq.com> */ class ThemeColorEnum extends BaseEnum { const BLACK = 'black'; /** * @return string[] */ public static function getMap(): array { return [ ...
php
Apache-2.0
847c0dee0d01b0994305b978c87cbe94c4179f30
2026-01-05T04:21:36.457503Z
false
jianyan74/rageframe3
https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/frontend/tests/_bootstrap.php
frontend/tests/_bootstrap.php
<?php defined('YII_DEBUG') or define('YII_DEBUG', true); defined('YII_ENV') or define('YII_ENV', 'test'); defined('YII_APP_BASE_PATH') or define('YII_APP_BASE_PATH', __DIR__.'/../../'); require_once YII_APP_BASE_PATH . '/vendor/autoload.php'; require_once YII_APP_BASE_PATH . '/vendor/yiisoft/yii2/Yii.php'; require_on...
php
Apache-2.0
847c0dee0d01b0994305b978c87cbe94c4179f30
2026-01-05T04:21:36.457503Z
false
jianyan74/rageframe3
https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/frontend/tests/_data/user.php
frontend/tests/_data/user.php
<?php return [ [ 'username' => 'okirlin', 'auth_key' => 'iwTNae9t34OmnK6l4vT4IeaTk-YWI2Rv', 'password_hash' => '$2y$13$CXT0Rkle1EMJ/c1l5bylL.EylfmQ39O5JlHJVFpNn618OUS1HwaIi', 'password_reset_token' => 't5GU9NwpuGYSfb7FEZMAxqtuz2PkEvv_' . time(), 'created_at' => '1391885313',...
php
Apache-2.0
847c0dee0d01b0994305b978c87cbe94c4179f30
2026-01-05T04:21:36.457503Z
false
jianyan74/rageframe3
https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/frontend/tests/_data/login_data.php
frontend/tests/_data/login_data.php
<?php return [ [ 'username' => 'erau', 'auth_key' => 'tUu1qHcde0diwUol3xeI-18MuHkkprQI', // password_0 'password_hash' => '$2y$13$nJ1WDlBaGcbCdbNC5.5l4.sgy.OMEKCqtDQOdQ2OWpgiKRWYyzzne', 'password_reset_token' => 'RkD_Jw0_8HEedzLk7MM-ZKEFfYR7VbMr_1392559490', 'created...
php
Apache-2.0
847c0dee0d01b0994305b978c87cbe94c4179f30
2026-01-05T04:21:36.457503Z
false
jianyan74/rageframe3
https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/frontend/tests/acceptance/HomeCest.php
frontend/tests/acceptance/HomeCest.php
<?php namespace frontend\tests\acceptance; use frontend\tests\AcceptanceTester; use yii\helpers\Url; class HomeCest { public function checkHome(AcceptanceTester $I) { $I->amOnPage(Url::toRoute('/site/index')); $I->see('My Application'); $I->seeLink('About'); $I->click('About'...
php
Apache-2.0
847c0dee0d01b0994305b978c87cbe94c4179f30
2026-01-05T04:21:36.457503Z
false
jianyan74/rageframe3
https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/frontend/tests/acceptance/_bootstrap.php
frontend/tests/acceptance/_bootstrap.php
<?php /** * Here you can initialize variables via \Codeception\Util\Fixtures class * to store data in global array and use it in Cepts. * * ```php * // Here _bootstrap.php * \Codeception\Util\Fixtures::add('user1', ['name' => 'davert']); * ``` * * In Cept * * ```php * \Codeception\Util\Fixtures::get('user1'...
php
Apache-2.0
847c0dee0d01b0994305b978c87cbe94c4179f30
2026-01-05T04:21:36.457503Z
false
jianyan74/rageframe3
https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/frontend/tests/unit/_bootstrap.php
frontend/tests/unit/_bootstrap.php
<?php /** * Here you can initialize variables via \Codeception\Util\Fixtures class * to store data in global array and use it in Tests. * * ```php * // Here _bootstrap.php * \Codeception\Util\Fixtures::add('user1', ['name' => 'davert']); * ``` * * In Tests * * ```php * \Codeception\Util\Fixtures::get('user1...
php
Apache-2.0
847c0dee0d01b0994305b978c87cbe94c4179f30
2026-01-05T04:21:36.457503Z
false
jianyan74/rageframe3
https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/frontend/tests/unit/models/ResetPasswordFormTest.php
frontend/tests/unit/models/ResetPasswordFormTest.php
<?php namespace frontend\tests\unit\models; use common\fixtures\UserFixture; use frontend\models\ResetPasswordForm; class ResetPasswordFormTest extends \Codeception\Test\Unit { /** * @var \frontend\tests\UnitTester */ protected $tester; public function _before() { $this->tester->h...
php
Apache-2.0
847c0dee0d01b0994305b978c87cbe94c4179f30
2026-01-05T04:21:36.457503Z
false
jianyan74/rageframe3
https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/frontend/tests/unit/models/VerifyEmailFormTest.php
frontend/tests/unit/models/VerifyEmailFormTest.php
<?php namespace frontend\tests\unit\models; use common\fixtures\UserFixture; use frontend\models\VerifyEmailForm; class VerifyEmailFormTest extends \Codeception\Test\Unit { /** * @var \frontend\tests\UnitTester */ protected $tester; public function _before() { $this->tester->haveF...
php
Apache-2.0
847c0dee0d01b0994305b978c87cbe94c4179f30
2026-01-05T04:21:36.457503Z
false
jianyan74/rageframe3
https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/frontend/tests/unit/models/ResendVerificationEmailFormTest.php
frontend/tests/unit/models/ResendVerificationEmailFormTest.php
<?php namespace frontend\tests\unit\models; use Codeception\Test\Unit; use common\fixtures\UserFixture; use frontend\models\ResendVerificationEmailForm; class ResendVerificationEmailFormTest extends Unit { /** * @var \frontend\tests\UnitTester */ protected $tester; public function _before() ...
php
Apache-2.0
847c0dee0d01b0994305b978c87cbe94c4179f30
2026-01-05T04:21:36.457503Z
false
jianyan74/rageframe3
https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/frontend/tests/unit/models/ContactFormTest.php
frontend/tests/unit/models/ContactFormTest.php
<?php namespace frontend\tests\unit\models; use frontend\models\ContactForm; use yii\mail\MessageInterface; class ContactFormTest extends \Codeception\Test\Unit { public function testSendEmail() { $model = new ContactForm(); $model->attributes = [ 'name' => 'Tester', ...
php
Apache-2.0
847c0dee0d01b0994305b978c87cbe94c4179f30
2026-01-05T04:21:36.457503Z
false
jianyan74/rageframe3
https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/frontend/tests/unit/models/PasswordResetRequestFormTest.php
frontend/tests/unit/models/PasswordResetRequestFormTest.php
<?php namespace frontend\tests\unit\models; use Yii; use frontend\models\PasswordResetRequestForm; use common\fixtures\UserFixture as UserFixture; use common\models\User; class PasswordResetRequestFormTest extends \Codeception\Test\Unit { /** * @var \frontend\tests\UnitTester */ protected $tester; ...
php
Apache-2.0
847c0dee0d01b0994305b978c87cbe94c4179f30
2026-01-05T04:21:36.457503Z
false
jianyan74/rageframe3
https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/frontend/tests/unit/models/SignupFormTest.php
frontend/tests/unit/models/SignupFormTest.php
<?php namespace frontend\tests\unit\models; use common\fixtures\UserFixture; use frontend\models\SignupForm; class SignupFormTest extends \Codeception\Test\Unit { /** * @var \frontend\tests\UnitTester */ protected $tester; public function _before() { $this->tester->haveFixtures([ ...
php
Apache-2.0
847c0dee0d01b0994305b978c87cbe94c4179f30
2026-01-05T04:21:36.457503Z
false
jianyan74/rageframe3
https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/frontend/tests/_support/UnitTester.php
frontend/tests/_support/UnitTester.php
<?php namespace frontend\tests; /** * Inherited Methods * @method void wantToTest($text) * @method void wantTo($text) * @method void execute($callable) * @method void expectTo($prediction) * @method void expect($prediction) * @method void amGoingTo($argumentation) * @method void am($role) * @method void look...
php
Apache-2.0
847c0dee0d01b0994305b978c87cbe94c4179f30
2026-01-05T04:21:36.457503Z
false
jianyan74/rageframe3
https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/frontend/tests/_support/FunctionalTester.php
frontend/tests/_support/FunctionalTester.php
<?php namespace frontend\tests; /** * Inherited Methods * @method void wantToTest($text) * @method void wantTo($text) * @method void execute($callable) * @method void expectTo($prediction) * @method void expect($prediction) * @method void amGoingTo($argumentation) * @method void am($role) * @method void look...
php
Apache-2.0
847c0dee0d01b0994305b978c87cbe94c4179f30
2026-01-05T04:21:36.457503Z
false
jianyan74/rageframe3
https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/frontend/tests/functional/HomeCest.php
frontend/tests/functional/HomeCest.php
<?php namespace frontend\tests\functional; use frontend\tests\FunctionalTester; class HomeCest { public function checkOpen(FunctionalTester $I) { $I->amOnPage(\Yii::$app->homeUrl); $I->see('My Application'); $I->seeLink('About'); $I->click('About'); $I->see('This is th...
php
Apache-2.0
847c0dee0d01b0994305b978c87cbe94c4179f30
2026-01-05T04:21:36.457503Z
false
jianyan74/rageframe3
https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/frontend/tests/functional/SignupCest.php
frontend/tests/functional/SignupCest.php
<?php namespace frontend\tests\functional; use frontend\tests\FunctionalTester; class SignupCest { protected $formId = '#form-signup'; public function _before(FunctionalTester $I) { $I->amOnRoute('site/signup'); } public function signupWithEmptyFields(FunctionalTester $I) { ...
php
Apache-2.0
847c0dee0d01b0994305b978c87cbe94c4179f30
2026-01-05T04:21:36.457503Z
false
jianyan74/rageframe3
https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/frontend/tests/functional/ContactCest.php
frontend/tests/functional/ContactCest.php
<?php namespace frontend\tests\functional; use frontend\tests\FunctionalTester; /* @var $scenario \Codeception\Scenario */ class ContactCest { public function _before(FunctionalTester $I) { $I->amOnPage(['site/contact']); } public function checkContact(FunctionalTester $I) { $I-...
php
Apache-2.0
847c0dee0d01b0994305b978c87cbe94c4179f30
2026-01-05T04:21:36.457503Z
false
jianyan74/rageframe3
https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/frontend/tests/functional/LoginCest.php
frontend/tests/functional/LoginCest.php
<?php namespace frontend\tests\functional; use frontend\tests\FunctionalTester; use common\fixtures\UserFixture; class LoginCest { /** * Load fixtures before db transaction begin * Called in _before() * @see \Codeception\Module\Yii2::_before() * @see \Codeception\Module\Yii2::loadFixtures() ...
php
Apache-2.0
847c0dee0d01b0994305b978c87cbe94c4179f30
2026-01-05T04:21:36.457503Z
false
jianyan74/rageframe3
https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/frontend/tests/functional/_bootstrap.php
frontend/tests/functional/_bootstrap.php
<?php /** * Here you can initialize variables via \Codeception\Util\Fixtures class * to store data in global array and use it in Cests. * * ```php * // Here _bootstrap.php * \Codeception\Util\Fixtures::add('user1', ['name' => 'davert']); * ``` * * In Cests * * ```php * \Codeception\Util\Fixtures::get('user1...
php
Apache-2.0
847c0dee0d01b0994305b978c87cbe94c4179f30
2026-01-05T04:21:36.457503Z
false
jianyan74/rageframe3
https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/frontend/tests/functional/AboutCest.php
frontend/tests/functional/AboutCest.php
<?php namespace frontend\tests\functional; use frontend\tests\FunctionalTester; class AboutCest { public function checkAbout(FunctionalTester $I) { $I->amOnRoute('site/about'); $I->see('About', 'h1'); } }
php
Apache-2.0
847c0dee0d01b0994305b978c87cbe94c4179f30
2026-01-05T04:21:36.457503Z
false
jianyan74/rageframe3
https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/frontend/tests/functional/VerifyEmailCest.php
frontend/tests/functional/VerifyEmailCest.php
<?php namespace frontend\tests\functional; use common\fixtures\UserFixture; use frontend\tests\FunctionalTester; class VerifyEmailCest { /** * Load fixtures before db transaction begin * Called in _before() * @see \Codeception\Module\Yii2::_before() * @see \Codeception\Module\Yii2::loadFixtur...
php
Apache-2.0
847c0dee0d01b0994305b978c87cbe94c4179f30
2026-01-05T04:21:36.457503Z
false
jianyan74/rageframe3
https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/frontend/tests/functional/ResendVerificationEmailCest.php
frontend/tests/functional/ResendVerificationEmailCest.php
<?php namespace frontend\tests\functional; use common\fixtures\UserFixture; use frontend\tests\FunctionalTester; class ResendVerificationEmailCest { protected $formId = '#resend-verification-email-form'; /** * Load fixtures before db transaction begin * Called in _before() * @see \Codeceptio...
php
Apache-2.0
847c0dee0d01b0994305b978c87cbe94c4179f30
2026-01-05T04:21:36.457503Z
false
jianyan74/rageframe3
https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/frontend/controllers/SiteController.php
frontend/controllers/SiteController.php
<?php namespace frontend\controllers; use frontend\models\ResendVerificationEmailForm; use frontend\models\VerifyEmailForm; use Yii; use yii\base\InvalidArgumentException; use yii\web\BadRequestHttpException; use yii\web\Controller; use yii\filters\VerbFilter; use yii\filters\AccessControl; use common\forms\LoginForm...
php
Apache-2.0
847c0dee0d01b0994305b978c87cbe94c4179f30
2026-01-05T04:21:36.457503Z
false
jianyan74/rageframe3
https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/frontend/forms/ResetPasswordForm.php
frontend/forms/ResetPasswordForm.php
<?php namespace frontend\forms; use yii\base\Model; use yii\web\UnprocessableEntityHttpException; use common\models\member\Member; /** * 密码重置表单 * * Class ResetPasswordForm * @package frontend\models */ class ResetPasswordForm extends Model { public $password; /** * @var \common\models\base\User ...
php
Apache-2.0
847c0dee0d01b0994305b978c87cbe94c4179f30
2026-01-05T04:21:36.457503Z
false
jianyan74/rageframe3
https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/frontend/forms/PasswordResetRequestForm.php
frontend/forms/PasswordResetRequestForm.php
<?php namespace frontend\forms; use Yii; use yii\base\Model; use common\models\member\Member; /** * Password reset request form */ class PasswordResetRequestForm extends Model { public $email; /** * {@inheritdoc} */ public function rules() { return [ ['email', 'trim']...
php
Apache-2.0
847c0dee0d01b0994305b978c87cbe94c4179f30
2026-01-05T04:21:36.457503Z
false
jianyan74/rageframe3
https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/frontend/forms/LoginForm.php
frontend/forms/LoginForm.php
<?php namespace frontend\forms; use Yii; use common\enums\MemberTypeEnum; use common\models\member\Member; /** * Class LoginForm * @package frontend\models */ class LoginForm extends \common\forms\LoginForm { /** * @inheritdoc */ public function rules() { return [ [['user...
php
Apache-2.0
847c0dee0d01b0994305b978c87cbe94c4179f30
2026-01-05T04:21:36.457503Z
false
jianyan74/rageframe3
https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/frontend/forms/ContactForm.php
frontend/forms/ContactForm.php
<?php namespace frontend\forms; use Yii; use yii\base\Model; /** * ContactForm is the model behind the contact form. */ class ContactForm extends Model { public $name; public $email; public $subject; public $body; public $verifyCode; /** * {@inheritdoc} */ public function rul...
php
Apache-2.0
847c0dee0d01b0994305b978c87cbe94c4179f30
2026-01-05T04:21:36.457503Z
false
jianyan74/rageframe3
https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/frontend/forms/SignupForm.php
frontend/forms/SignupForm.php
<?php namespace frontend\forms; use common\forms\MemberForm; use common\helpers\ArrayHelper; use common\models\member\Member; /** * Class SignupForm * @package frontend\models */ class SignupForm extends MemberForm { public $username; public $email; public $password; /** * {@inheritdoc} ...
php
Apache-2.0
847c0dee0d01b0994305b978c87cbe94c4179f30
2026-01-05T04:21:36.457503Z
false
jianyan74/rageframe3
https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/frontend/models/ResetPasswordForm.php
frontend/models/ResetPasswordForm.php
<?php namespace frontend\models; use yii\base\InvalidArgumentException; use yii\base\Model; use Yii; use common\models\base\User; /** * Password reset form */ class ResetPasswordForm extends Model { public $password; /** * @var \common\models\User */ private $_user; /** * Creates ...
php
Apache-2.0
847c0dee0d01b0994305b978c87cbe94c4179f30
2026-01-05T04:21:36.457503Z
false
jianyan74/rageframe3
https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/frontend/models/PasswordResetRequestForm.php
frontend/models/PasswordResetRequestForm.php
<?php namespace frontend\models; use Yii; use yii\base\Model; use common\models\base\User; /** * Password reset request form */ class PasswordResetRequestForm extends Model { public $email; /** * {@inheritdoc} */ public function rules() { return [ ['email', 'trim'], ...
php
Apache-2.0
847c0dee0d01b0994305b978c87cbe94c4179f30
2026-01-05T04:21:36.457503Z
false
jianyan74/rageframe3
https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/frontend/models/ContactForm.php
frontend/models/ContactForm.php
<?php namespace frontend\models; use Yii; use yii\base\Model; /** * ContactForm is the model behind the contact form. */ class ContactForm extends Model { public $name; public $email; public $subject; public $body; public $verifyCode; /** * {@inheritdoc} */ public function r...
php
Apache-2.0
847c0dee0d01b0994305b978c87cbe94c4179f30
2026-01-05T04:21:36.457503Z
false
jianyan74/rageframe3
https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/frontend/models/ResendVerificationEmailForm.php
frontend/models/ResendVerificationEmailForm.php
<?php namespace frontend\models; use Yii; use common\models\base\User; use yii\base\Model; class ResendVerificationEmailForm extends Model { /** * @var string */ public $email; /** * {@inheritdoc} */ public function rules() { return [ ['email', 'trim'], ...
php
Apache-2.0
847c0dee0d01b0994305b978c87cbe94c4179f30
2026-01-05T04:21:36.457503Z
false
jianyan74/rageframe3
https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/frontend/models/VerifyEmailForm.php
frontend/models/VerifyEmailForm.php
<?php namespace frontend\models; use common\models\base\User; use yii\base\InvalidArgumentException; use yii\base\Model; class VerifyEmailForm extends Model { /** * @var string */ public $token; /** * @var User */ private $_user; /** * Creates a form model with given t...
php
Apache-2.0
847c0dee0d01b0994305b978c87cbe94c4179f30
2026-01-05T04:21:36.457503Z
false
jianyan74/rageframe3
https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/frontend/models/SignupForm.php
frontend/models/SignupForm.php
<?php namespace frontend\models; use Yii; use yii\base\Model; use common\models\base\User; /** * Signup form */ class SignupForm extends Model { public $username; public $email; public $password; /** * {@inheritdoc} */ public function rules() { return [ ['use...
php
Apache-2.0
847c0dee0d01b0994305b978c87cbe94c4179f30
2026-01-05T04:21:36.457503Z
false
jianyan74/rageframe3
https://github.com/jianyan74/rageframe3/blob/847c0dee0d01b0994305b978c87cbe94c4179f30/frontend/views/site/about.php
frontend/views/site/about.php
<?php /* @var $this yii\web\View */ use yii\helpers\Html; $this->title = 'About'; $this->params['breadcrumbs'][] = $this->title; ?> <div class="site-about"> <h1><?= Html::encode($this->title) ?></h1> <p>This is the About page. You may modify the following file to customize its content:</p> <code><?= __...
php
Apache-2.0
847c0dee0d01b0994305b978c87cbe94c4179f30
2026-01-05T04:21:36.457503Z
false