text stringlengths 2 1.03M |
|---|
<div class="widget-body table-responsive">
<div class="row">
<div class="col-lg-12 col-md-12 col-sm-12 col-xs-12">
<div class="col-sm-6 col-xs-12">
<div class="col-sm-4 col-md-2 col-xs-12">
<label for="search">Show Results:</label>
</div>
... |
<?php
/**
* Generated by PHPUnit_SkeletonGenerator on 2013-08-09 at 18:11:13.
*/
class Mageflow_Connect_Helper_DataTest extends PHPUnit_Framework_TestCase
{
/**
* @var Mageflow_Connect_Helper_Data
*/
protected $object;
/**
* Sets up the fixture, for example, opens a network connection.
... |
<?php declare(strict_types=1);
namespace Rodacker\Sleddog\Test\Training\Speed;
use PHPUnit\Framework\TestCase;
use Rodacker\Sleddog\Training\Unit;
use Rodacker\Sleddog\Training\Speed\SpeedUnit;
class SpeedUnitTest extends TestCase
{
public function test_create_km_per_hour_speed_unit(): void
{
$unit =... |
<?php
namespace Test\Feature\TRegx\CleanRegex\Replace\focus\by\map;
use PHPUnit\Framework\TestCase;
use TRegx\CleanRegex\Exception\FocusGroupNotMatchedException;
/**
* @coversNothing
*/
class ReplacePatternTest extends TestCase
{
/**
* @test
*/
public function shouldReplace_focus_by_map()
{
... |
<?php
/**
* @see https://github.com/rpdesignerfly/access-control
* @copyright Copyright (c) 2018 Ricardo Pereira Dias (https://rpdesignerfly.github.io)
* @license https://github.com/rpdesignerfly/access-control/blob/master/license.md
*/
declare(strict_types=1);
use Illuminate\Support\Facades\Schema;
use I... |
<?php
namespace App;
use Laravel\Passport\HasApiTokens;
use Illuminate\Notifications\Notifiable;
use Illuminate\Foundation\Auth\User as Authenticatable;
use Spatie\Permission\Traits\HasRoles;
class User extends Authenticatable
{
use HasApiTokens, Notifiable, HasRoles;
/**
* The attributes that are mass... |
@extends ('index')
<!DOCTYPE html>
<html lang="{{ str_replace('_', '-', app()->getLocale()) }}">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
@section ('judul_halaman', 'Kolom Edit Info Menarik 48')
<title>Info 48(Edit)</title>
<link rel="styl... |
<?php
/**
* This class is the controller for the index resource
*
* @author Linus Norton <linusnorton@gmail.com>
*/
class Index extends Controller {
/**
* This class provides the implementation for the home request. The
* annotations below map the "home" request to this method and sets the
* vi... |
<a href="{{ route('login') }}">admin</a>
<a href="">Client</a>
|
<?php
/**
* Модуль Пользователи.
* Этот модуль содержит все классы для работы с пользователями, авторизации и аунтификации в системе.
*
* @package App\Modules\User
* @since 1.0
* @version 1.0
*/
namespace App\Modules\User\Pipes\Create;
use App\Models\Contracts\Pipe;
use App\Modules\User\Repositories\User;
use ... |
<?php
if (!defined('IN_WACKO'))
{
exit;
}
$this->ensure_page();
$tpl->page = $this->compose_link_to_page($this->tag, '', '');
if ($user = $this->get_user())
{
$user_name = mb_strtolower($this->get_user_name());
$user_id = $this->get_user_id();
$registered = true;
}
else
{
$user_name = GUEST;
$registered = fal... |
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
class Donator extends Model
{
public function donations(){
return $this->hasMany(Donation::class)->get()->all();
}
}
|
<?php # -*- coding: utf-8 -*-
/*
* This file is part of the MultilingualPress package.
*
* (c) Inpsyde GmbH
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
declare(strict_types=1);
namespace Inpsyde\MultilingualPress\Activation;
... |
<?php
namespace App\Http\Controllers\admin;
use App\Http\Controllers\Controller;
use Illuminate\Http\Request;
class coursecategoryController extends Controller
{
public function __construct()
{
$this->data= \App\system::getmasterdata();
}
public function index()
{
$this->data['cou... |
<?php
return [
/*
|--------------------------------------------------------------------------
| Third Party Services
|--------------------------------------------------------------------------
|
| This file is for storing the credentials for third party services such
| as Stripe, Mailgun, ... |
<?php
namespace EGOL\ReisenLizenzPayment\Requests;
use App\Http\Requests\Request;
class CreatePaymentHistoryRequest extends Request
{
/**
* Determine if the user is authorized to make this request.
*
* @return bool
*/
public function authorize()
{
return true;
}
/**
... |
<?php
/**
* @author PhpTheme Dev Team <dev@getphptheme.com>
* @link http://getphptheme.com
* @license MIT
*/
namespace PhpTheme\Themes\Bootstrap4;
class GridHeaderButton extends GridHeaderLink
{
} |
<?php
namespace ContainerREX4rqs;
use Symfony\Component\DependencyInjection\Argument\RewindableGenerator;
use Symfony\Component\DependencyInjection\Exception\RuntimeException;
/*
* @internal This class has been auto-generated by the Symfony Dependency Injection Component.
*/
class getForm_ServerParamsService exten... |
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
use Cviebrock\EloquentSluggable\Sluggable;
use Kyslik\ColumnSortable\Sortable;
class PetInformartion extends Model
{
use Sluggable;
use HasFactory, Sortable;
protected $table = 'pet... |
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
use App\ResizeImage;
class MediaGallery extends Model
{
//返回图片上传用户
public function user() {
return $this->hasOne('App\User');
}
//返回所属产品
public function product() {
return $this->belongsTo('App\Product');
}
//保存产品图
public static function... |
<?php
/**
* @link http://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
* @license http://www.yiiframework.com/license/
*/
namespace yii\rest;
use Yii;
use yii\base\Component;
use yii\base\Model;
use yii\data\DataProviderInterface;
use yii\data\Pagination;
use yii\helpers\ArrayHelper;
use ... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<link rel="stylesheet" href="{{ asset('css/app.css') }}">
<title>CTFU</title>
</head>
<style>
.row, .align-items-center,... |
<?php
namespace Modules\Initializer\Traits;
trait ReactivityTrait {
protected static function bootReactivityTrait() {
static::saving(function ($model) {
//$attributes = $model->getConncetion()->getSchemaBuilder()->get
});
static::saved(function($model) {
});
}
} |
<header class="header dark-bg">
<div class="toggle-nav">
<div class="icon-reorder tooltips" data-original-title="Toggle Navigation" data-placement="bottom"><i class="icon_menu"></i></div>
</div>
<!--logo start-->
<a href="/dashboard" class="logo"> Max <span class="lite">Blog</span... |
<?php
/**
* Created by PhpStorm.
* User: Administrator
* Date: 2018/6/5
* Time: 8:57
*/
namespace Liang\Models;
use AvoRed\Ecommerce\Models\Database\User;
class Article extends BaseModel
{
protected $fillable = ['title','content','status','created_by','tags'];
public function user(){
return $t... |
<?php
/*
* DataTables example server-side processing script.
*
* Please note that this script is intentionally extremely simply to show how
* server-side processing can be implemented, and probably shouldn't be used as
* the basis for a large complex system. It is suitable for simple use cases as
* for learning... |
<!DOCTYPE html>
<html lang="en">
<!-- Mirrored from doccure-html.dreamguystech.com/template/patient-profile.html by HTTrack Website Copier/3.x [XR&CO'2014], Mon, 22 Mar 2021 19:28:23 GMT -->
<head>
<meta charset="utf-8">
<title>Doccure</title>
<meta name="viewport" content="width=device-width, initial-scale=1.... |
<?php
namespace App\Http\Controllers;
use App\Models\Order;
use App\Models\Product;
use Exception;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Redirect;
use Unicodeveloper\Paystack\Facades\Paystack;
class PaymentController extends Controller
{
/**
* Redirect the User to Paystack Payment Page... |
<?php
declare(strict_types=1);
namespace Pollen\WpTerm;
use Pollen\Support\Concerns\BootableTrait;
use Pollen\Support\Concerns\ConfigBagAwareTrait;
use Pollen\Support\Exception\ManagerRuntimeException;
use Pollen\Support\Proxy\ContainerProxy;
use Psr\Container\ContainerInterface as Container;
use WP_Taxonomy;
class... |
<?php
require_once 'Figure.php';
class Triangle extends Figure {
public function getArea(): float {
return $this->width * $this->height / 2;
}
}
|
<?php
declare (strict_types=1);
namespace Rector\Transform\Rector\StaticCall;
use PhpParser\Node;
use PhpParser\Node\Expr\New_;
use PhpParser\Node\Expr\StaticCall;
use PhpParser\Node\Name\FullyQualified;
use Rector\Core\Contract\Rector\ConfigurableRectorInterface;
use Rector\Core\Rector\AbstractRector;
use Rector\Tra... |
<!doctype html>
<html lang="{{ app()->getLocale() }}">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Laravel</title>
<!-- Fonts -->
<link href="https://... |
<?php
namespace App\Http\Controllers\Auth;
use App\User;
use Illuminate\Http\Request;
use App\Http\Controllers\Controller;
class RegisterConfirmationController extends Controller
{
public function index()
{
$user = User::where('confirmation_token', request('token'))
->first();
... |
<?php
/**
* 管理员后台会员模块设置
*/
defined('IN_PHPCMS') or exit('No permission resources.');
pc_base::load_app_class('admin', 'admin', 0);
pc_base::load_sys_class('format', '', 0);
class member_setting extends admin {
private $db;
function __construct() {
parent::__construct();
$this->db = pc_base:... |
<?php
declare(strict_types=1);
namespace Ssch\TYPO3Rector\Tests\Rector\v8\v0\TimeTrackerInsteadOfNullTimeTracker;
use Iterator;
use Rector\Testing\PHPUnit\AbstractRectorTestCase;
use Symplify\SmartFileSystem\SmartFileInfo;
final class TimeTrackerInsteadOfNullTimeTrackerRectorTest extends AbstractRectorTestCase
{
... |
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class Post extends Model
{
protected $fillable = [
'title', 'file', 'description', 'is_visible', 'is_sticked', 'type_id'
];
public function user()
{
return $this->belongsTo('App\User');
}
public function commen... |
<?php
namespace App\Http\Controllers\API;
use App\Http\Requests\API\CreateUserAPIRequest;
use App\Http\Requests\API\UpdateUserAPIRequest;
use App\Http\Requests\UserSubscriptionRequest;
use App\Models\User;
use App\Repositories\UserRepository;
use Illuminate\Http\Request;
use App\Http\Controllers\AppBaseController;
us... |
@extends('adminlte::page')
@section('title', 'Permissões disponíveis para o Cargo')
@section('content_header')
<ol class="breadcrumb">
<li class="breadcrumb-item"><a href="{{ route('admin.index') }}">Dashboard</a></li>
<li class="breadcrumb-item active"><a href="{{ route('roles.index') }}" class="... |
<?php
namespace Yurun\PaySDK\AlipayApp\Params\Query;
use Yurun\PaySDK\AlipayRequestBase;
/**
* 支付宝统一收单线下交易查询请求类.
*/
class Request extends AlipayRequestBase
{
/**
* 接口名称.
*
* @var string
*/
public $method = 'alipay.trade.query';
/**
* 详见:https://docs.open.alipay.com/common/1051... |
<?php
// config for TriventoEducacao/ClassName
return [
'seller_id'=>env('GET_NET_SELLER_ID'),
'base_url'=>env('GET_NET_BASE_URL', 'https://api-sandbox.getnet.com.br'),
'client'=>env('GET_NET_CLIENT'),
'secret'=>env('GET_NET_SECRET'),
'debug'=>false,
];
|
<?php
include("get.php");
include("update.php");
include("control.php");
include("ajax.php");
?>
<form method="post">
<div class="sub-header clearfix">
<div class="content">
<h2>Manage Recipes <?php echo $date_server;?></h2>
<select class="input-sel... |
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use App\Models\ExamQueRel;
use Illuminate\Support\Facades\DB;
class test01 extends Controller
{
public function index() {
DB::table('users')->insert(['name'=>'helloo']);
$users = DB::table('users')->get();
ech... |
End of preview. Expand in Data Studio
No dataset card yet
- Downloads last month
- 8