text
stringlengths
2
1.03M
<?php namespace App\Models; use Illuminate\Database\Eloquent\SoftDeletes; use Illuminate\Database\Eloquent\Model; use Illuminate\Support\Arr; class Cogs extends Model { use SoftDeletes; protected $fillable = [ 'nominal','name','type_id' ]; public static function index(){ $collec...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; class CreateBeerTastingResultsTable extends Migration { public function up() { Schema::create('beer_tasting_results', function(Blueprint $table) { $table->increments('id'); $table->timestamps(); $table->integer...
<?php // if (!isset($_SESSION) || !isset($_POST)) { // header("Location: ../../index.php"); // exit(); // } function updateBalance($db, $account_id, $amount, $transaction_type) { $currentBalance = getBalance($db, $account_id); if ($transaction_type == 'withdrawal'){ $newBalance = $current...
<?php namespace Sirius\Queue; use Exception; use Sirius\Event\Dispatcher; use Sirius\Queue\Exceptions\ManuallyFailedException; use Sirius\Queue\Jobs\FailingJob; use Sirius\Queue\Traits\DetectsLostConnections; use Sirius\Support\Carbon; use Symfony\Component\Debug\Exception\FatalThrowableError; use Throwable; class W...
<!DOCTYPE html> <html lang="{{ str_replace('_', '-', app()->getLocale()) }}"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>dc comic</title> <!-- Fonts --> <link href="https://fonts.googleapis.com/css?family=Nunito...
@extends('layouts.products') @section('textContent') @inject('str', 'App\Support\Str') <h1>{{ $str::plural('Найден '.$products->total().' товар|Найдено '.$products->total().' товара|Найдено '.$products->total().' товаров', $products->total()) }} по запросу "{{ $page->content }}"</h1> @endsection
<?php namespace Oro\Bundle\EmailBundle\Tests\Unit\EventListener; use Oro\Bundle\EmailBundle\Async\Manager\AssociationManager; use Oro\Bundle\EmailBundle\EventListener\EmailAssociationsDemoDataFixturesListener; use Oro\Bundle\MigrationBundle\Event\MigrationDataFixturesEvent; use Oro\Bundle\PlatformBundle\Manager\Optio...
@component('mail::message') # Welcome to TaskM! We love that you have joined us. All the best,<br> Sergiu Strugariu @endcomponent
<?php declare(strict_types=1); /** * File: RepositorySearchResultBuilderTraitTest.php * * @author Maciej Sławik <maciekslawik@gmail.com> * Github: https://github.com/maciejslawik */ namespace MSlwk\RepositorySearchResultBuilder\Test\Unit\Traits; use Magento\Catalog\Model\ResourceModel\Product\Collecti...
<?php /** * Copyright (c) UNA, Inc - https://una.io * MIT License - https://opensource.org/licenses/MIT */ class BxGlsrUpdater extends BxDolStudioUpdater { function __construct($aConfig) { parent::__construct($aConfig); } }
<?php /** * @copyright Copyright (c) 2016, ownCloud, Inc. * * @author Joas Schilling <coding@schilljs.com> * * @license AGPL-3.0 * * This code is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License, version 3, * as published by the Free Software Fo...
@extends('layouts.master') @section('content') <div class="main"> <div class="main-content"> <div class="container-fluid"> @if(session('sukses')) <div class="alert alert-success" role="alert"> {{session('sukses')}} </div> @endif <div class="row"> <div cl...
<?php defined('BASEPATH') OR exit('No direct script access allowed'); /* | ------------------------------------------------------------------- | DATABASE CONNECTIVITY SETTINGS | ------------------------------------------------------------------- | This file will contain the settings needed to access your database. | |...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; class CreateTestTables extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('test_users', function (Blueprint $table) { $...
<!doctype html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0"> <meta http-equiv="X-UA-Compatible" content="ie=edge"> <title>Daftar Pegawai Quali International Surabaya...
<?php /** * @package : module/PlanningBus/src/Model/EphemerideTable.php: * * @purpose : * * * @copyright : Copyright (C) 2018-21 H.P.B * * @license : GNU General Public License version 2 or later; see LICENSE.txt **/ namespace PlanningBus\Model; use RuntimeException; use Laminas\Db\ResultSet\Result...
<?php /** * File Comment * * @package CodeIgniter4-Standard * @author Louis Linehan <louis.linehan@gmail.com> * @copyright 2017 British Columbia Institute of Technology * @license https://github.com/bcit-ci/CodeIgniter4-Standard/blob/master/LICENSE MIT License */ namespace CodeIgniter4\Sniffs\Commenting;...
<?php /* * Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. All Rights Reserved. * * 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/LICENS...
<?php $this->load->view('layout/header'); ?> <!-- breadcrumbs --> <div class="w3l_agileits_breadcrumbs"> <div class="container"> <div class="w3l_agileits_breadcrumbs_inner"> <ul> <li><a href="<?php echo site_url("Shop/index"); ?>">Home</a><span>«</span></li> <li>...
<?php namespace app\api\validate; class IDColletion extends BaseValidate { protected $rule = [ 'ids'=>'require|checkIDs' ]; protected $message =[ 'ids'=>'必须正数' ]; protected function checkIDs($value){ $value = explode('',$value); if (empty($value)){ ...
<?php $params = require(__DIR__ . '/params.php'); $config = [ 'id' => 'basic', 'basePath' => dirname(__DIR__), 'bootstrap' => ['log'], /*'modules' => [ 'user' => [ 'class' => 'dektrium\user\Module', 'enableUnconfirmedLogin' => true, 'confirmWithin' => 21600...
<?php namespace App\EventListener; use App\Entity\ApiResponse; use App\Exception\Api\ApiException; use Symfony\Component\HttpFoundation\JsonResponse; use Symfony\Component\HttpFoundation\Response; use Symfony\Component\HttpKernel\Event\GetResponseForExceptionEvent; use Symfony\Component\Serializer\SerializerInterface...
@extends('admin::layouts.default') @section('title', 'Admin Dashboard') @section('content') Welcome to admin dashboard @stop
<?php namespace backend\controllers; use backend\models\MmAgenda; use backend\models\MmAgendaSearch; use backend\models\MmDecision; use backend\models\MmDecisionSearch; use backend\models\MmOffer; use backend\models\MmOfferSearch; use backend\models\MmParticipants; use backend\models\MmParticipantsSearch; use Yii; us...
<?php /** * PHP OpenCloud library. * * @copyright 2013 Rackspace Hosting, Inc. See LICENSE for information. * @license https://www.apache.org/licenses/LICENSE-2.0 * @author Glen Campbell <glen.campbell@rackspace.com> * @author Jamie Hannaford <jamie.hannaford@rackspace.com> */ namespace OpenCloud\Datab...
<?php defined('BASEPATH') or exit('No direct script access allowed'); class Taxes_model extends App_Model { public function __construct() { parent::__construct(); } /** * Get tax by id * @param mixed $id tax id * @return mixed if id passed return object else array */ ...
<?php include_once('conexion.php'); $clave = md5($_POST['clave']); mysqli_query($conexion,"insert into profesor(idProfesor,nombres,apellidos,direccion,telefono,email,clave,estado) values (0,'$_POST[nombres]','$_POST[apellidos]','$_POST[direccion]','$_POST[telefono]','$_POST[email]','$clave','A'...
<?php /** * Test: Nette\DI\ContainerBuilder and local autowiring. */ declare(strict_types=1); use Nette\DI; use Tester\Assert; require __DIR__ . '/../bootstrap.php'; class Foo { public $arg; public function test(M $arg) { $this->arg = $arg; } } class M { } class M1 extends M { } class M2 extends ...
@extends('admin.layouts.main') @section('title', '节点') @section('content') <!-- Page-Title --> <div class="row"> <div class="col-sm-12"> <h4 class="page-title">{{ isset($node) ? '编辑' : '新增' }}节点</h4> <ol class="breadcrumb"> <li> <a href="#">管理</a> </li> <li> <a href="{{ route('...
<?php namespace Expstudio\LumenStapler\Services; use Expstudio\LumenStapler\Exceptions\InvalidClassException; use Illuminate\Database\Eloquent\Collection; use Laravel\Lumen\Application; use Symfony\Component\Console\Helper\ProgressBar; use Symfony\Component\Console\Output\NullOutput; use Symfony\Component\Console\Out...
<?php /** * This file is part of Totara Learn * * Copyright (C) 2019 onwards Totara Learning Solutions LTD * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 3 of the Licens...
<section id="intro"> <div class="jumbotron masthead"> <div class="container"> <h2>My Payment List</h2> <table border="1" width="100%"> <tr> <th width="5%">No</th> <th width="15%">Nama Task</th> <th width="11%">Status</th> <th width="10%">Tanggal</th> ...
<?php class Inicio extends CI_Controller { public function __construct() { parent::__construct(); if (!$this->session->has_userdata('logged_in')) { redirect(base_url() . 'login/'); } } public function index() { $this->load->view("plantilla/cabecerahtml"); $this->load->view("plan...
<!DOCTYPE html> <html> <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="icon" href="../../favicon.ico"> --> <title>ICD-10 | <?php echo $title; ?></title> <!-- Bootstrap core...
<?php namespace App\Models; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; use App\Models\User; class Donate extends Model { use HasFactory; protected $casts = [ 'imagem' => 'array' ]; public function user() { $user = User::wher...
<?php /** * * @copyright 2017 www.guangdawangluo.com - All Rights Reserved * @author opencart.cn <support@opencart.cn> * @created 2016-10-23 11:22:04 * @modified 2016-12-09 17:14:48 */ // Heading $_['heading_title'] = '用戶登錄'; // Text $_['text_account'] ...
<?php namespace AppBundle\Tests\Controller; use Symfony\Bundle\FrameworkBundle\Test\WebTestCase; /** * Class ApiControllerTest * @package AppBundle\Tests\Controller * @group api */ class ApiControllerTest extends WebTestCase { public function testGetCard() { $client = static::createClient(); ...
<?php /* |-------------------------------------------------------------------------- | Routes File |-------------------------------------------------------------------------- | | Here is where you will register all of the routes in an application. | It's a breeze. Simply tell Laravel the URIs it should respond to | an...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreateRoomMessagesTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('room_messa...
<?php /** * @file * EloquentCurriculumSubject * * All code is copyright by the original authors and released under the GNU Aferro General Public License version 3 (AGPLv3) or later. * See COPYRIGHT and LICENSE. */ namespace App\Repositories\CurriculumSubject; use Illuminate\Support\Facades\DB; use Illuminate\D...
@include('includes.header') <div class="row"> <div class="col-lg-12"> <div class="card"> <div class="card-body"> <h4 class="card-title">Please Enter User Information</h4> @if ($message = Session::get('success')) <div class="alert alert-success"> <p>{{ $message }}</p> </div> @endif @if...
<?php /** * @package _tk */ ?> <?php // Styling Tip! // Want to wrap for example the post content in blog listings with a thin outline in Bootstrap style? // Just add the class "panel" to the article tag here that starts below. // Simply replace post_class() with post_class('panel') and check your site! // Remembe...
<?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\Cache\Adapter; use Psr\Cache\CacheItemInterface; use ...
<?php namespace Github\Exception; class OauthAuthorizationsListAuthorizationsUnauthorizedException extends \RuntimeException implements ClientException { private $basicError; public function __construct(\Github\Model\BasicError $basicError) { parent::__construct('Requires Authentication', 401); ...
<?php namespace App; /** * */ class Mysql { private $server; function __construct(Server $server) { $this->server = $server; } public function isActive() { return $this->server->isActive(); } public function restart() { return $this->server->restart(); } public function up() { return $this->...
<?php /* SonataAdminBundle:CRUD:list__action_show.html.twig */ class __TwigTemplate_be73e27cd1d1e66f6955a8641fa5fffb15823c9c90ee038c1cd109c9675fe24a extends Twig_Template { public function __construct(Twig_Environment $env) { parent::__construct($env); $this->parent = false; $this->bl...
<?php use Illuminate\Http\Request; /* |-------------------------------------------------------------------------- | API Routes |-------------------------------------------------------------------------- | | Here is where you can register API routes for your application. These | routes are loaded by the RouteServicePr...
<?php namespace App\Models; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; class Role extends Model { use HasFactory; protected $fillable=['name']; //users role public function users() { return $this->belongsToMany(User::class); } }
<?php namespace ZN\Cryptography\Exception; /** * ZN PHP Web Framework * * "Simplicity is the ultimate sophistication." ~ Da Vinci * * @package ZN * @license MIT [http://opensource.org/licenses/MIT] * @author Ozan UYKUN [ozan@znframework.com] */ use ZN\Exception; class UnsupportedExtensionException extends ...
<?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\Translation\Tests; use PHPUnit\Framework\TestCase; us...
<?php /** * Created by PhpStorm. * User: Slowbro * Date: 17/12/4 * Time: PM3:20 */ ?>
<?php namespace App\Http\Controllers\Auth; use App\Http\Controllers\Controller; use App\Providers\RouteServiceProvider; use App\Models\User; use Illuminate\Foundation\Auth\RegistersUsers; use Illuminate\Support\Facades\Hash; use Illuminate\Support\Facades\Validator; class RegisterController extends Controller { ...
<?php defined('BASEPATH') OR exit('No direct script access allowed'); class User_admin extends CI_Controller { public function __construct() { parent::__construct(); $this->load->model('User_admin_model'); if($this->session->userdata('logged_in')['role'] != "Admin"){ redirect("...
<?php /** * DO NOT EDIT THIS FILE! * * This file was automatically generated from external sources. * * Any manual change here will be lost the next time the SDK * is updated. You've been warned! */ namespace Rankfoundry\eBaySDK\PostOrder\Types; /** * * @property string $draftId */ class UploadReturnDraftFi...
<div class="col-lg-3 col-6"> <div class="info-box"> <span class="info-box-icon bg-info elevation-1"><i class="fas fa-money-bill-wave"></i></span> <div class="info-box-content"> <span class="info-box-text text-blaxk">Pendapatan</span> <span class="info-box-text text-blaxk">Hari Ini</span> <sp...
<?php namespace App\Providers; use Illuminate\Support\ServiceProvider; class FormatTimeServiceProvider extends ServiceProvider { /** * Bootstrap the application services. * * @return void */ public function boot() { // } /** * Register the application services. ...
<?php namespace Org\Schema\Thing; /** * Class Organization * An organization such as a school, NGO, corporation, club, etc. * @author AppBels <app.bels@gmail.com> * @name Organization * @namespace Org\Schema\Thing * @package Org\Schema * @see https://schema.org/Organization * Date ...
@extends('layouts.app', ['activePage' => 'users', 'titlePage' => __('Utilisateur')]) @section('content') <div class="content"> <h1> {{$user->email}} </h1> <div class="container-fluid"> <div class="card"> <div class="card-header card-header-primary"> <h4 class="card-title">Informat...
@extends('admin.layout') @section('title','设计师管理') @section('content') <div class="row"> <div class="col-md-12"> <h1 class="page-header"> 添加设计师 </h1> </div> </div> <div class="row"> <div clas="col-md-12"> @if (session()->has('doConf...
<?php /** * CodeIgniter * * An open source application development framework for PHP * * This content is released under the MIT License (MIT) * * Copyright (c) 2014-2019 British Columbia Institute of Technology * Copyright (c) 2019-2020 CodeIgniter Foundation * * Permission is hereby granted, free of charge, ...
<?php namespace App\Http\Controllers\Frontend; use App\Http\Controllers\Controller; use App\Service\CartService; use Exception; use Illuminate\Http\Request; class CartController extends Controller { public function addToCart(Request $request, CartService $cart) { try { $cart->add($request->id...
<?php /** * CodeIgniter * * An open source application development framework for PHP * * This content is released under the MIT License (MIT) * * Copyright (c) 2014 - 2015, British Columbia Institute of Technology * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this soft...
<?php namespace App; use Illuminate\Auth\Authenticatable; use Illuminate\Database\Eloquent\Model; use Illuminate\Auth\Passwords\CanResetPassword; use Illuminate\Foundation\Auth\Access\Authorizable; use Illuminate\Contracts\Auth\Authenticatable as AuthenticatableContract; use Illuminate\Contracts\Auth\Access\Authoriza...
<?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 include_once("../lib/start_session.php");?> <?php include_once("../lib/document_base.php"); ?> <!DOCTYPE html> <html> <link href="../ressources/design/body.css" rel="stylesheet" media="all" type="text/css"> <link href="../admin/admin.css" rel="stylesheet" media="all" type="text/css"> <link rel="icon" href="../...
<?php namespace App\SwannPortal\Composers; use App\Models\News; use Illuminate\View\View; class LatestUpdatesComposer { protected $news; function __construct(News $news) { $this->news = $news; } public function compose(View $view) { $news = $this->news->limit(5)->orderBy('id'...
<?php $args = array( 'post_type' => 'drsnik', 'posts_per_page' => 5, ); $loop = new WP_Query( $args ); ?> <section class="section section-slider"> <div id="carouselHome" class="carousel slide" data-ride="carousel" data-interval="7000"> <ol class="carousel-indicators"> <?php $ii = 0; while ( $loop->have_p...
<?php namespace ProxerPHP\Api\UcpApi; use ProxerPHP\Api\ProxerApi; use ProxerPHP\Api\ProxerPHP; class UcpApi extends ProxerApi { private $requestHandler; public function __construct(ProxerPHP $proxerPHP) { parent::__construct($proxerPHP); $this->requestHandler = new RequestHandler($proxer...
<?php return [ /* |-------------------------------------------------------------------------- | Application Name |-------------------------------------------------------------------------- | | This value is the name of your application. This value is used when the | framework needs to plac...
<?php use yii\db\Migration; /** * Class m190917_183913_create_user_activities_fk */ class m190917_183913_create_user_activities_fk extends Migration { public function safeUp() { $this->addForeignKey( 'fk_activities_user', 'activities', 'userId', 'user', 'id', ...
<?php // This file is auto-generated, don't edit it. Thanks. namespace AlibabaCloud\SDK\BssOpenApi\V20171214\Models\ModifyInstanceRequest; use AlibabaCloud\Tea\Model; class parameter extends Model { /** * @var string */ public $value; /** * @var string */ public $code; prote...
<?php /* @Twig/images/symfony-logo.svg */ class __TwigTemplate_20bebf4385d44e2cca633c505ae9f3c1fde1a1a73b22df6dd3fdc5915f8cfe82 extends Twig_Template { public function __construct(Twig_Environment $env) { parent::__construct($env); $this->parent = false; $this->blocks = array( ...
<?php namespace Geodesy\Datum; use Geodesy\Models\Clarke1880RGS; class IGCB1955 extends BaseDatum implements DatumInterface { CONST DATUM = array ( 'Name' => "Institut Geographique du Congo Belge 1955", 'CRS' => 4701, 'TranslationVectors' => array( 'x' => 79.9, 'y' => 158, 'z' => 168.9, ), ...
<?php use Illuminate\Http\Request; use Luminary\Exceptions\MultiException; use Luminary\Services\ApiRequest\Exceptions\ForbiddenAttribute; use Luminary\Services\ApiRequest\Exceptions\MissingDataAttribute; use Luminary\Services\ApiRequest\Exceptions\MissingTypeAttribute; use Luminary\Services\ApiRequest\Middleware\Post...
@extends('template') @section('title', 'Tax Codes') @section('css') <link rel="stylesheet" href="{{ URL::asset('assets/vendor/parsleyjs/css/parsley.css') }}"> @endsection @section('breadcrumb') <div class="col-md-6 col-sm-12"> <h1>Tax Codes</h1> <nav aria-label="breadcrumb"> <ol c...
<?php namespace App\Providers; use Google_Client; use Hypweb\Flysystem\GoogleDrive\GoogleDriveAdapter; use Illuminate\Support\ServiceProvider; use League\Flysystem\Filesystem; use Storage; class GoogleDriveServiceProvider extends ServiceProvider { /** * Bootstrap the application services. * * @ret...
<?php $c_pimpinan= $this->session->userdata('c_pimpinan'); $pimpinan= $this->M_pimpinan->getpimpinan($c_pimpinan); foreach($pimpinan as $hpimpinan); ?> <?php $this->load->view('php/function'); ?> <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <title>Apli...
<?php use yii\helpers\Html; use yii\widgets\ActiveForm; /* @var $this yii\web\View */ /* @var $model app\models\CuadrillasBuscar */ /* @var $form yii\widgets\ActiveForm */ ?> <div class="cuadrillas-search"> <?php $form = ActiveForm::begin([ 'action' => ['index'], 'method' => 'get', 'opti...
<div class="page-header"> <h1><?php echo lang('us_activate'); ?></h1> </div> <?php if (auth_errors() || validation_errors()) { ?> <div class="row-fluid"> <div class="span8 offset2"> <div class="alert alert-error fade in"> <a data-dismiss="alert" class="close">&times;</a> <?php echo auth_errors() . validatio...
<?php namespace App\Http\Requests; use Illuminate\Foundation\Http\FormRequest; class ClinicalPatientsRequest extends FormRequest { public function authorize() { return true; } public function rules() { return [ // 'name' => 'required|string|max:255', '...
<div class="uk-width-1-1" style="max-height:30px;"> <p class="uk-text-meta uk-text-center uk-margin-large-top x-font-12" >supported by <a href="http://www.xitfoundation.com" target="_blank"><b>XIT foundation</b></a></p> </div>
<?php namespace Lukaskorl\Apigen\Fields; use Lukaskorl\Apigen\Field; class Time extends Field { public static $identifier = 'time'; protected $allowedAdminDecorators = ['title', 'time_format']; protected $adminType = "time"; protected $schemaType = "time"; }
<?php $__env->startSection('site-title'); ?> <?php echo e(__('Team Member Area')); ?> <?php $__env->stopSection(); ?> <?php $__env->startSection('style'); ?> <?php if (isset($component)) { $__componentOriginalc254754b9d5db91d5165876f9d051922ca0066f4 = $component; } ?> <?php $component = $__env->getContainer()->mak...
<?php namespace Knp\Menu\Tests\Provider; use Knp\Menu\Provider\ArrayAccessProvider; use PHPUnit\Framework\TestCase; class ArrayAccessProviderTest extends TestCase { public function testHas() { $provider = new ArrayAccessProvider(new \ArrayObject(), array('first' => 'first', 'second' => 'dummy')); ...
<?= $this->getXmlHead();?> <yml_catalog date="<?= date('Y-m-d H:i');?>"> <shop> <name><?= $model->shop_name; ?></name> <company><?= $model->shop_company; ?></company> <url><?= $model->shop_url; ?></url> <platform><?= $model->shop_platform; ?></platform> <version><?= $model->shop_version; ?></versio...
<?php namespace App; use Illuminate\Database\Eloquent\Model; class Profile extends Model { protected $fillable = ['user_id','avatar','about','facebook','youtube']; public function user() { return $this->belongsTo('App\User'); } }
<?php namespace DCarbone\PHPFHIR\Definition\Decorator; /* * Copyright 2016-2020 Daniel Carbone (daniel.p.carbone@gmail.com) * * 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 * * ht...
<?php /** * DO NOT EDIT THIS FILE! * * This file was automatically generated from external sources. * * Any manual change here will be lost the next time the SDK * is updated. You've been warned! */ namespace DTS\eBaySDK\Test\MerchantData\Enums; use DTS\eBaySDK\MerchantData\Enums\NotificationPayloadTypeCodeTyp...
<?php class SOAPStruct { function SOAPStruct($s, $i, $f) { $this->varString = $s; $this->varInt = $i; $this->varFloat = $f; } } $struct = new SOAPStruct('arg',34,325.325); $client = new SoapClient(dirname(__FILE__)."/round3_groupD_doclit.wsdl",array("trace"=>1,"exceptions"=>0)); $client-...
<?php namespace Cors; use Cake\Core\BasePlugin; class Plugin extends BasePlugin { }
<?php namespace App; use Illuminate\Database\Eloquent\Model; class Category extends Model { protected $guarded = []; public function projects(){ return $this->hasMany(Project::class); } }
<?php /* * Copyright 2013 Johannes M. Schmitt <schmittjoh@gmail.com> * * 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 re...
<?php namespace Drupal\Tests\user\Kernel\Migrate; use Drupal\Core\Entity\Entity\EntityFormDisplay; use Drupal\Tests\migrate_drupal\Kernel\d7\MigrateDrupal7TestBase; /** * Tests migration of the user_picture field's entity form display settings. * * @group user */ class MigrateUserPictureEntityFormDisplayTest ext...
<style> .card .card-header { padding: 1px 20px; border: none; } </style> <div class="content-page"> <div class="content"> <!-- Start content --> <div class="container-fluid"> <!-- Page-Title --> ...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreateProductColorsTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('product_c...
<?php /** * DO NOT EDIT THIS FILE! * * This file was automatically generated from external sources. * * Any manual change here will be lost the next time the SDK * is updated. You've been warned! */ namespace Enbit\eBaySDK\Metadata\Types; /** * * @property string $filter * @property string $marketplace_id ...
<?php namespace App\Http\Controllers; use App\PersonnelBudget; use Illuminate\Http\Request; class PersonnelBudgetController extends Controller { public function __construct() { $this->middleware(['auth']); } public function index() { $pers...
<?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 namespace Oro\Bundle\ApiBundle\Processor; use Oro\Bundle\ApiBundle\Collection\IncludedEntityCollection; use Oro\Bundle\ApiBundle\Util\EntityMapper; use Symfony\Component\Form\FormBuilderInterface; use Symfony\Component\Form\FormInterface; /** * Provides the implementation for methods from FormContext interfac...
@extends('layout') @section('content') @section('title', $Products->name) <style type="text/css"> h2 { margin: 50px 0 } .file-drop-area { position: relative; display: flex; align-items: center; max-width: 100%; padding: 25px; border: 1px dashed rgba(255, 255,...