text stringlengths 2 1.03M |
|---|
<?php
/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"... |
<?php
/**
* This file is part of the contentful/contentful-management package.
*
* @copyright 2015-2020 Contentful GmbH
* @license MIT
*/
declare(strict_types=1);
namespace Contentful\Tests\Management\Unit\Resource;
use Contentful\Management\Resource\Upload;
use Contentful\Tests\Management\BaseTestCase;
cla... |
<?php
use Carbon\Carbon;
use Illuminate\Database\Seeder;
use Illuminate\Support\Facades\DB;
class CategoryProductSeeder extends Seeder
{
/**
* Run the database seeds.
*
* @return void
*/
public function run()
{
DB::table('category_product')->insert([
'product_id' => '... |
<?php
/*
* This file is part of PHPExifTool.
*
* (c) 2012 Romain Neutron <imprec@gmail.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace PHPExiftool\Driver\Tag\Olympus;
use JMS\Serializer\Annotation\ExclusionPolicy;... |
<div class="breadcome-area mg-b-30 small-dn">
<div class="container-fluid">
<div class="row">
<div class="col-lg-12">
<div class="breadcome-list map-mg-t-40-gl shadow-reset">
<div class="row">
<div class="col-lg-6">
... |
<?php
namespace Marketcloud;
class PaymentMethods extends ApiResource {
public static function get($query = array()) {
return parent::_GET("/paymentMethods",$query);
}
public static function getById($id) {
return parent::_GET("/paymentMethods/".$id);
}
public static function create($data) {
return pa... |
<?php
return [
'@class' => 'Grav\\Common\\File\\CompiledYamlFile',
'filename' => '/Users/hpelaez/Workspace/project-mozart/user/plugins/email/email.yaml',
'modified' => 1584628258,
'data' => [
'enabled' => true,
'from' => NULL,
'from_name' => NULL,
'to' => NULL,
't... |
<?php
namespace tecai\Repositories\Interfaces\User;
use Prettus\Repository\Contracts\RepositoryInterface;
use tecai\Repositories\Interfaces\CommonRepository;
/**
* Interface IndustryRepository
* @package namespace tecai\Repositories\Interfaces\User;
*/
interface IndustryRepository extends RepositoryInterface, Com... |
<?php
namespace Alzheimer\PortadaBundle\Controller;
use Symfony\Bundle\FrameworkBundle\Controller\Controller;
#use Symfony\Component\Security\Core\Exception\AccessDeniedException;
class IndexController extends Controller
{
public function indexAction()
{
$em = $this->getDoctrine()->getManager();
... |
<?php
/**
* Date: 07.05.15
* Time: 20:24
* Project: TimeShift
* Developer: Alex Collin <alex@collin.su>
*
* Copyright by "CleverTek LLC" 2014-2015
*/
namespace api\versions\v1\essence\controllers;
use api\components\controllers\ActiveController;
class SearchController extends ActiveController
{
public $... |
@extends('layouts.app')
@section('content')
<div class="container">
<div class="row">
<div class="col-md-8 col-md-offset-2">
<div class="panel panel-default">
<div class="panel-heading">Categories</div>
<div class="panel-body">
... |
<?php
/**
* Copyright ©2019 Itegration Ltd., Inc. All rights reserved.
* See COPYING.txt for license details.
* @author: Perencz Tamás <tamas.perencz@itegraion.com>
*/
namespace Emartech\Emarsys\Api\Data;
interface InventoryItemInterface
{
const SKU_KEY = 'sku';
const INVENTORY_ITEMS_KEY = 'inventory_item... |
<?php
/*
* This file is part of the Symfony package.
*
* (c) Fabien Potencier <fabien@symfony.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Symfony\Component\Validator\Constraints;
use Symfony\Component\HttpFoun... |
<?php
namespace Asana;
use Asana\Test\AsanaTest;
class AttachmentsTest extends Test\AsanaTest
{
public function testAttachmentsCreateOnTask()
{
$res = '{ "data": { "id": 5678, "name": "file.txt" } }';
$this->dispatcher->registerResponse('/tasks/1337/attachments', 200, null, $res);
$r... |
<?php
namespace App\Http\Requests;
use App\Models\Setting;
use Gate;
use Illuminate\Foundation\Http\FormRequest;
use Illuminate\Http\Response;
class StoreSettingRequest extends FormRequest
{
public function authorize()
{
return Gate::allows('setting_create');
}
public function rules()
{
... |
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
class Calendar extends Model
{
/**
* The attributes that are mass assignable.
*
* @var array
*/
protected $fillable = [
'priority', 'summary', 'label', 'openinghours_id', 'closinghours', 'published',
];
/... |
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class Account extends Model
{
//
protected $table = 'users';
} |
<?php
/*
* This file is part of the Symfony package.
*
* (c) Fabien Potencier <fabien@symfony.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Symfony\Component\Form\Tests\Extension\Validator\Constraints;
use Symfo... |
<div>
{{-- navigation bread crumb here --}}
<nav class="breadcrumb px-4 justify-content-between">
<h5 class="text-ifm">All Devices</h5>
<div class="d-none d-md-block d-sm-none">
@if (session()->get('user')['status'] == "admin")
<a class="breadcrumb-item" href="/">Admin /... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreatePermissionTables extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up() {
$tableNames = config('permissio... |
<?php
/**
* Interface IToolset_Post_Type_From_Types
*
* TODO: Fill with methods from Toolset_Post_Type_From_Types instead of using the class directly.
*/
interface IToolset_Post_Type_From_Types extends IToolset_Post_Type {
/**
* "touch" the post type before saving, update the timestamp and user who edited it l... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateCartDetailsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('cart_detail... |
<?php
/**
* Copyright 2020 Sage Intacct, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"). You may not
* use this file except in compliance with the License. You may obtain a copy
* of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* or in the "LICENSE" file accompanyin... |
@extends('layouts.main')
@section('title')
New Note-Home
@endsection
@section('head')
@endsection
@section('pg-content')
<div class="add-new">
<button class="btn btn-outline-success my-2 my-sm-0" type="button"> <a href="{{ route('new-note') }}"> Add New</a></button>
</div>
<br>
@if(sessio... |
<?php
namespace App\Repository;
use App\User;
use App\Message;
use Carbon\Carbon;
use Illuminate\Database\Eloquent\Builder;
use Illuminate\Http\Request;
class ConversationRepository{
private $user;
/**
* @var Message
*/
private $message;
/**
* @param User $user
*/
public f... |
<?php
namespace app\models;
use Yii;
use yii\base\Model;
use yii\data\ActiveDataProvider;
use app\models\Connection;
/**
* ConnectionSearch represents the model behind the search form about `app\models\Connection`.
*/
class ConnectionSearch extends Connection
{
/**
* @inheritdoc
*/
public functio... |
<?php
namespace Webboy\Modeltraits;
use Illuminate\Database\Eloquent\Builder;
trait DatabaseFunctionModelTrait
{
protected static $db_function_columns = array();
public static function getColumns($columns = ['*'])
{
$columns = array_merge($columns,self::$db_function_columns);
return $columns;
}
public... |
@can('memberships_individual_create')
<div style="margin-bottom: 10px;" class="row">
<div class="col-lg-12">
<a class="btn btn-success" href="{{ route('admin.memberships-individuals.create') }}">
{{ trans('global.add') }} {{ trans('cruds.membershipsIndividual.title_singular') }}
... |
<label for="{{$name}}" class="block text-sm font-medium text-gray-700">{{ $label }}</label>
<div class="my-2 relative rounded-md shadow-sm">
<select
name="{{$name}}"
id="{{$name}}"
{{ $attributes->whereStartsWith('wire:model') }}
class="block w-full pr-10 ... |
<?php
/*
* This file is part of the Sonata package.
*
* (c) Thomas Rabaix <thomas.rabaix@sonata-project.org>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Sonata\DoctrineORMAdminBundle\Builder;
use Doctrine\ORM\Mappi... |
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class CreateMedidasTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('medidas', funct... |
<?php
namespace OAuth\OAuth2\Service;
use OAuth\Common\Exception\Exception;
use OAuth\OAuth2\Token\StdOAuth2Token;
use OAuth\Common\Http\Exception\TokenResponseException;
use OAuth\Common\Http\Uri\Uri;
use OAuth\Common\Consumer\CredentialsInterface;
use OAuth\Common\Http\Client\ClientInterface;
use OAuth\Common\Stora... |
<?php
$result = [
'hadir' => 0,
'terlambat' => 0,
'izin' => 0,
'alpha' => 0,
];
$absent
->orderBy('tahun', 'ASC')
->first() ? $tabletahunstart = $absent
->orderBy('tahun', 'ASC')
->first()['tahun'] : $tabletahunstart = date('Y');
$absent
->orderBy('tahun', 'DESC')
->first... |
@extends('master')
@section('title', 'View a post')
@section('content')
<div class="container col-md-8 col-md-offset-2">
<div class="well well bs-component">
<div class="content">
<h2 class="header">{!! $post->title !!}</h2>
<p> {!! $post->content !!} </p>
... |
<html>
<head>
<title>My Private Website</title>
</head>
<style type="text/css">
div.container{
width: 100%;
border: 1px;
}
header, footer{
color:white;
background:brown;
clear:left;
padding:1cm;
text-align: center;
}
nav{
float: right;
max-width: 160px;
height: 640px
margin: 0;
padding-ri... |
<?php
namespace HuaweiCloud\SDK\Iam\V3\Model;
use \ArrayAccess;
use HuaweiCloud\SDK\Core\Utils\ObjectSerializer;
use HuaweiCloud\SDK\Core\Utils\ModelInterface;
use HuaweiCloud\SDK\Core\SdkResponse;
class AgencyTokenProject implements ModelInterface, ArrayAccess
{
const DISCRIMINATOR = null;
/**
* The or... |
<?php
use Illuminate\Support\Facades\Route;
/*
|--------------------------------------------------------------------------
| Web Routes
|--------------------------------------------------------------------------
|
| Here is where you can register web routes for your application. These
| routes are loaded by the Route... |
<?php
include 'include/header.php';
?>
<div class="container-fluid">
<div class="row">
<div class="col-md-3 col-md-offset-5">
<form>
<h4> Add the Driver name and the code .... </h4>
<div class="form-group">
<label for="yourID">Driver's Full Name</label>
<input type="email" class="... |
<?php include('init.php'); ?>
<!DOCTYPE html>
<html lang="en" dir="ltr">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<title>Currency - Sidebar 2</title>
<link rel="stylesheet" href="style.css?v=<?=md5(time().rand(1, 99)); ?>">
... |
<?php $__env->startSection('content'); ?>
<div class="container">
<div class="row">
<div class="col-sm-5 r-form-1-box wow fadeInLeft">
<div class="r-form-1-top">
<div class="r-form-1-top-left">
<h3>Log-in Now</h3>
<p>Fill in the form below to get instant access:</p>
... |
<?php
namespace ExampleBank\Bus\Command;
use ExampleBank\Bus\Assert\AssertAccountNumber;
use ExampleBank\Bus\Assert\AssertAmount;
final class WithdrawCommand
{
use AssertAccountNumber;
use AssertAmount;
private $accountNumber;
private $amount;
public function __construct($accountNumber, $amoun... |
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Support\Facades\DB;
class UserModel extends Model
{
public function view(){
$temp = DB::select("select * from user");
}
} |
@extends('layouts.app')
@section('content')
<h1>Pending Order</h1>
<div class="text-danger">* Mandatory Fields</div>
<form action="{{ url('/pendingorder') }}" method="post" autocomplete="off">
@csrf
<ol>
@foreach ($errors->all() as $error)
<li>
{{ $error }}
</li>
@endforeach
</ol>
<div class="... |
<?php
use Illuminate\Support\Facades\Route;
use app\Http\Controllers\HomeController;
use app\Http\Controllers\PatientController;
/*
|--------------------------------------------------------------------------
| Web Routes
|--------------------------------------------------------------------------
|
| Here is where you ... |
<?php
namespace Akrzem\EasyAdminPlusBundle\Generator\Command;
use Symfony\Bundle\FrameworkBundle\Command\ContainerAwareCommand;
use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Output\OutputInterface;
use Akrzem\EasyAdminPlusBundle\Generator\Exception\EAException;
class GeneratorClea... |
@extends('newadmin.layouts.default')
@section('content')
<!-- Page Content -->
<div class="content container-fluid">
<div class="row">
<div class="col-md-12 offset-md-12">
<div class="page-header">
<div class="row align-items-center">
<div class="col">
<h3 class=... |
<?php
/**
* This file is part of the Spryker Commerce OS.
* For full license information, please view the LICENSE file that was distributed with this source code.
*/
namespace Pyz\Zed\DataImport\Business\Model;
use Generated\Shared\Transfer\DataImporterReportTransfer;
use Pyz\Zed\DataImport\Business\Model\DataSet... |
<?php
namespace App\Http\Controllers\Api;
use App\Http\Controllers\Controller;
use App\Http\Requests\EspecialidadStoreRequest;
use App\Http\Resources\EspecialidadResource;
use App\Models\Especialidad;
use Illuminate\Http\Request;
class EspecialidadController extends Controller
{
public function index()
{
... |
<?php
/**
* A workflow action that allows additional users or groups to be assigned to
* the workflow part-way through the workflow path.
*
* @license BSD License (http://silverstripe.org/bsd-license/)
* @package advancedworkflow
* @subpackage actions
*/
class AssignUsersToWorkflowAction extends WorkflowAc... |
<?php
namespace App\Http\Controllers\API\Master;
use App;
use App\Http\Controllers\ApiController;
use App\Models\Master\WorkAreaType;
use App\User;
use Auth;
use DB;
use Illuminate\Foundation\Auth\AuthenticatesUsers;
use Illuminate\Http\Request;
use Validator;
class WorkAreaTypeController extends ApiController
{
... |
<?php
/*
* Copyright 2012 Facebook, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or ag... |
<?php namespace WowTables\Http\Models\Eloquent\Products;
use Illuminate\Database\Eloquent\Model;
class ProductAttributesSingleSelect extends Model {
protected $table = 'product_attributes_singleselect';
protected $fillable = [];
protected $with = ['attribute','selectOptions'];
public function att... |
<div class="la-ball-beat la-dark">
<div></div>
<div></div>
<div></div>
</div> |
@include('thema.header')
<div class="right_col" role="main">
<div class="">
<div class="page-title">
<div class="title_left">
</div>
</div>
<div class="clearfix">
<table class="table table-hover">
<thead>
<tr>
<th>Nombre</th>
... |
<?php
/** @var \Illuminate\Database\Eloquent\Factory $factory */
use App\models\Subcategory;
use Faker\Generator as Faker;
$factory->define(Subcategory::class, function (Faker $faker) {
return [
//
];
}); |
<?php
class SVN {
public $cfgDir, $svnDir, $file, $mess, $debug;
private $isOpen=false;
function __construct($cfgDir='',$svnDir='',$debug=false){
$this->debug=$debug;
$this->mess="Update: ".strftime("%T %T");
$this->open($cfgDir,$svnDir);
}
function pr($text){ if($this->debug) print $text; }
function open... |
<?php
namespace CjwPhpDesign\Src\Decorator;
/** 需要被装饰的类
*
* Class Component(成分)
* @package CjwPhpDesign\Src\Decorator
*/
class Component
{
/**
* 需要被装饰的方法
*/
public function operation()
{
echo "需要被装饰的类<br>";
}
} |
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
class publikasi extends MY_Controller {
public function __construct()
{
parent::__construct();
parent::adminAuth();
$this->load->model('m_publikasi');
}
public function index(){
redirect('admin/publikasi/list');
}
public function ... |
<div class="col-lg-12">
<?php if ($this->session->flashdata('success')){ ?>
<div class="alert alert-success">
<a href="#" class="close" data-dismiss="alert">×</a>
<strong>Berhasil!</strong> <?php echo $this->session->flashdata('success'); ?>
</div>
<?php } ?>
... |
<?php
namespace App\Composite;
abstract class CompositeAbstract
{
private $parent;
private $children = [];
public function addChild(CompositeAbstract $child)
{
$this->children[] = $child;
}
public function children() : array
{
return [];
}
public function hasChil... |
<?php
declare(strict_types=1);
namespace OmekaClassic\OmekaItemTypes;
use JsonSerializable;
class OmekaItemTypesModel implements JsonSerializable
{
private int $id;
private string $name;
private string $description;
public function __construct(OmekaItemTypesDto $dto = null)
{
if ($dto =... |
<?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
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreatePenyewasTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('penyewas', fun... |
<?php
namespace VideoBundle\Entity;
use Doctrine\ORM\Mapping as ORM;
use Doctrine\ORM\Mapping\OneToMany;
use Symfony\Bridge\Doctrine\Validator\Constraints\UniqueEntity;
use Symfony\Component\Validator\Constraints as Assert;
/**
* Category
*
* @ORM\Table(name="categories")
* @ORM\Entity(repositoryClass="VideoBund... |
<?php
namespace App\Mail;
use Illuminate\Bus\Queueable;
use Illuminate\Contracts\Queue\ShouldQueue;
use Illuminate\Mail\Mailable;
use Illuminate\Queue\SerializesModels;
class AssignedJobNotification extends Mailable
{
use Queueable, SerializesModels;
/**
* Create a new message instance.
*
* @... |
<style>
#slider-container {
display: none;
}
</style>
<section class="page-header">
<div class="container">
<div class="row">
<div class="col-md-12">
<ul class="breadcrumb">
<li><a href="#">Ministerio</a></li>
<li class="act... |
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Browser Transfer</title>
<meta name="description" content="">
<meta name="author" content="">
<!--<link rel="icon" href=... |
<div class="kt-portlet ">
<div class="kt-portlet__body">
<div class="kt-widget4">
<?php if($model):?>
<?php if($model['driver']):?>
<?php foreach ($model['driver'] as $k=>$v):?>
<div class="kt-widget4__item">
... |
<?php
require_once dirname(__FILE__) . '/../../common.php';
system('clear');
print(Demos_Zend_Service_LiveDocx_Helper::wrapLine(
PHP_EOL . 'Uploading Locally Stored Templates to Server' .
PHP_EOL .
PHP_EOL)
);
$mailMerge = new Zend_Service_LiveDocx_MailMerge();
$mailMerge->setUsername(DEMOS_ZEND_SERVI... |
<?php
namespace LaravelLang\Development\Processors;
use DragonCode\Support\Facades\Helpers\Filesystem\Directory;
class Git extends Processor
{
public function run(): void
{
foreach ($this->locales() as $locale) {
dump($locale . '...');
$this->checkout();
$this->cr... |
<?php
namespace Neos\FluidAdaptor\Core\Widget;
/*
* This file is part of the Neos.FluidAdaptor package.
*
* (c) Contributors of the Neos Project - www.neos.io
*
* This package is Open Source Software. For the full copyright and license
* information, please view the LICENSE file which was distributed with this
... |
<?php
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
namespace Magento\Sitemap\Test\Unit\Model\ItemProvider;
use Magento\Framework\TestFramework\Unit\Helper\ObjectManager;
use Magento\Sitemap\Model\ItemProvider\ConfigReaderInterface;
use Magento\Sitemap\Model\ItemPro... |
<?php
use Illuminate\Support\Facades\Route;
/*
|--------------------------------------------------------------------------
| Web Routes
|--------------------------------------------------------------------------
|
| Here is where you can register web routes for your application. These
| routes are loaded by the Route... |
<?php
declare(strict_types=1);
namespace DoctrineMigrations;
use Doctrine\DBAL\Schema\Schema;
use Doctrine\Migrations\AbstractMigration;
final class Version20200306153205 extends AbstractMigration
{
public function getDescription(): string
{
return 'Renames sylius_refund_payment table to sylius_refu... |
<?php $__env->startSection('content'); ?><p>New Zealand's stricter coronavirus lockdowns are set to cause a much deeper recession than Australia.</p>
<p>The nation led by Labour Prime Minister Jacinda Ardern is set to next week officially sink into recession for the first time since the Global Financial Crisis in 2009... |
<?php
namespace Phoenix\Tests\Command\StatusCommand;
use Phoenix\Tests\Command\PgsqlCommandBehavior;
class PgsqlStatusCommandTest extends StatusCommandTest
{
use PgsqlCommandBehavior;
} |
<?php
namespace App\Http\Controllers\Customer;
use App\Http\Controllers\Controller;
use App\Models\Product;
use App\Models\Collection;
use App\Models\Producer;
use App\Models\Category;
use App\Models\CollectionProduct;
use Illuminate\Http\Request;
use App\Models\Tag;
class FilterController extends Controller
{
p... |
@extends('Admin.users.app')
@section('content')
<div class="c-body">
<main class="c-main">
<div class="container-fluid">
<div class="fade-in">
<div class="card">
<div class="card-header">Bodegas</div>
<div class="card-body">
<table class="table table-striped table-bordered datatable">
<thead>
<tr>
<th>Username</th>
<th... |
30 mtime=1556801360.354358033
24 SCHILY.fflags=extent |
@extends('main.layouts.main')
@section('content')
<div class="d-flex row justify-content-center">
<div class="card p-4 col-5">
<div class="text-center">
<img class="w-25" src="{{ asset('/images/LogoSekolah.png') }}" alt="">
</div>
<form action="{{route('logins')}}" method="POST">... |
<?php
/* Chess game logic to handle moves. */
/* Return the array of adjacent tiles (<=8). */
function getAdjTiles ($fig_pos) {
$adj_tiles = array();
$i = 0;
$x = $fig_pos % 8;
$y = floor($fig_pos / 8);
if ($x > 0 && $y > 0)
$adj_tiles[$i++] = $fig_pos - 9;
if ($y > 0)
$adj_til... |
<!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">
<link rel="stylesheet" href="{{asset('css/app.css')}}">
{{-- <title>... |
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateProjectTasksTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('tasks', fu... |
<?php
namespace spec\Http\Message\StreamFactory;
use GuzzleHttp\Psr7\Stream;
use Psr\Http\Message\StreamInterface;
trait StreamFactoryBehavior
{
function it_is_a_stream_factory()
{
$this->shouldImplement('Http\Message\StreamFactory');
}
function it_creates_a_stream_from_string()
{
... |
<?php
namespace Luna\Framework\View;
use FPDF;
use Luna\Framework\Application\Application;
use Luna\Framework\Http\Request;
use Luna\Framework\Routes\Route;
use Luna\Framework\Routes\Routes;
class FPDFView extends View
{
/**
* FPDF
*
* @var FPDF
*/
protected $fpdf;
/**
* ファイル名
... |
<?php
namespace Vdhicts\Dicms\Tagcloud\Exceptions;
use Exception;
abstract class TagcloudException extends Exception
{
} |
<!-- Left Sidebar -->
<div class="col-md-2">Left Sidebar</div> |
<?php
namespace FedEx\PickupService\SimpleType;
use FedEx\AbstractSimpleType;
/**
* CustomDeliveryWindowType
*
* @author Jeremy Dunn <jeremy@jsdunn.info>
* @package PHP FedEx API wrapper
* @subpackage Pickup Service
*/
class CustomDeliveryWindowType extends AbstractSimpleType
{
const _AFTER = 'AFT... |
<?php
return array(
"NAME" => 'Category Name',
"CATEGORY_TYPE" => 'Category Type',
"CATEGORY_URL" => 'URL',
"ADD_SUB_CATEGORY" => 'Add Sub Category',
"CATEGORY_DESCRIPTION" => 'Description',
"PARENT" => 'Parent',
"ROOT" => 'Root',
"SEO_TITLE" => 'SEO Title',
"SEO_KEYWORDS" => 'SEO Ke... |
<?php
$this->breadcrumbs=array(
'setting'=>array('/SystemLogin/setting/index'),
'Vision and Mision',
);
$this->pageHeader=array(
'icon'=>'fa fa-file',
'title'=>'About',
'subtitle'=>'Vision and Mision',
);
?>
<?php $form=$this->beginWidget('bootstrap.widgets.TbActiveForm',array(
'id'=>'setting-form',
// 'type... |
@section('title','آپدیت گالری محصولات')
<div>
<div class="main-content padding-0">
<p class="box__title"> ویرایش تصاویر محصولات:
<b class="text-success">
@foreach(\App\Models\Product::where('id',$galleries->product_id)->get() as $product)
{{$product->title}}
... |
<?php
declare(strict_types = 1);
namespace Swoolecan\Foundation\Resources;
trait TraitResource
{
protected $_scene;
protected $_repository;
protected $_simpleResult;
public $preserveKeys = true;
public function __construct($resource = null, $params = [])//$scene, $repository, $simpleResult = fals... |
<?php
namespace App\Http\Controllers;
use Validator;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\DB;
use Illuminate\Support\Facades\Hash;
use App\Models\EmailModel;
class EmailController extends Controller
{
//
public function show(){
return view('tugasdua.subscribe');
}
publ... |
<?php
/**
* Zend Framework
*
* LICENSE
*
* This source file is subject to the new BSD license that is bundled
* with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://framework.zend.com/license/new-bsd
* If you did not receive a copy of the license an... |
<?php
/**
* Created by PhpStorm.
* User: michael
* Date: 4/16/15
* Time: 11:52
*/
class VideoHelper {
private function curlGet($URL) {
$ch = curl_init();
$timeout = 3;
curl_setopt( $ch , CURLOPT_URL , $URL );
curl_setopt( $ch , CURLOPT_RETURNTRANSFER , 1 );
curl_setopt(... |
<?php
/**
* PostContentDocumentRequest
*
* PHP version 7.3
*
* @category Class
* @package SellingPartnerApi
*/
/**
* Selling Partner API for A+ Content Management
*
* With the A+ Content API, you can build applications that help selling partners add rich marketing content to their Amazon product detail page... |
@extends('layouts.home')
@section('styles')
<link rel="stylesheet" href="{{ asset('public/frontdesign/assets/jquery.mCustomScrollbar.css') }}">
@endsection
@section('content')
<!-- Page Title -->
<div class="container-fluid pl-0 pr-0 page_title_bg_wrap">
<div class="box-size">
<div class="row">
... |
<?php
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
/*
Command Description
$table->bigIncrements('id'); Incrementing ID (primary key) using a "UNSIGNED BIG INTEGER" equivalent.
$table->bigInteger('votes'); BIGINT equivalent for the database.
$table->bina... |
@extends('layouts.backend')
@section('body')
@include('components.breadcrumb', ['name' => '管理员列表'])
<el-row>
<el-col :span="24">
<meedu-a :url="'{{ route('backend.administrator.create') }}'" :name="'添加'"></meedu-a>
</el-col>
<el-col :span="24">
<el-table :data=... |
<?php namespace App\Http\Controllers;
use Session;
class ChangePasswordController extends Controller {
public function __construct() {
$this->middleware('checkSession');
}
/**
* Display a listing of the resource.
*
* @return Response
*/
public $layout = 'layouts.default';
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.