text
stringlengths
2
1.03M
<?php use yii\helpers\Html; use yii\grid\GridView; use app\models\Teacher; use yii\bootstrap\Modal; /* @var $this yii\web\View */ /* @var $searchModel app\models\TeacherSearch */ /* @var $dataProvider yii\data\ActiveDataProvider */ $this->title = 'CAST Teachers'; $this->params['breadcrumbs'][] = $this->title; $user ...
<?php use Illuminate\Support\Facades\Route; Route::get('/', 'WelcomeController@home'); Auth::routes(); Route::get('/home', 'HomeController@index')->name('home'); Route::get('/hospital', 'WelcomeController@hospitalPage')->name('hospital'); Route::get('categories', 'AdminController@showCategoryForm'); Route::post('...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; return new class extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('users', function (Bluep...
<div class="single-product-area"> <div class="zigzag-bottom"></div> <div class="container"> <div class="row"> <?php if(count($list_pro)){ echo "<h1>Kết quả tìm kiếm cho ".$this->input->post('pr_name').': <h1> <br>'; foreach($list_pro as $key => $value) ...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class Posts extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('posts',function (Blueprint $...
<?php // For compatibility with old library (Namespace Alias) use Stripe\Customer as Stripe_Customer; use Stripe\Invoice as Stripe_Invoice; use Stripe\Plan as Stripe_Plan; use Stripe\Charge as Stripe_Charge; use Stripe\PaymentIntent as Stripe_PaymentIntent; use Stripe\SetupIntent as Stripe_SetupIntent; use Stripe\Sourc...
<?php /** * This source file is part of the open source project * ExpressionEngine (https://expressionengine.com) * * @link https://expressionengine.com/ * @copyright Copyright (c) 2003-2019, EllisLab Corp. (https://ellislab.com) * @license https://expressionengine.com/license Licensed under Apache License...
@extends('layouts.app') @section('content') <div class="container"> <div class="row justify-content-center"> <div class="col-md-8"> <div class="card"> <div class="card-header" style="background: #87E8B1; font-weight: bold;">{{ __('PROFESIONALES') }}</div> ...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> <meta name="description" content=""> <meta name="author" content=""> <title>ROKARUBENTO - DASH</title...
<?php namespace app\models; use Yii; use yii\base\Model; use yii\data\ActiveDataProvider; use app\models\Subjects; /** * SubjectsSearch represents the model behind the search form about `app\models\Subjects`. */ class SubjectsSearch extends Subjects { /** * @inheritdoc */ public function rules() ...
@extends('layouts.adminApp') @section('adminContent') <div class="sl-mainpanel"> <nav class="breadcrumb sl-breadcrumb"> <a class="breadcrumb-item" href="index.html">Admin</a> <span class="breadcrumb-item active">Profile</span> </nav> <div class="sl-pagebody"> <div class="ro...
<?php namespace App; use Illuminate\Database\Eloquent\Model; class Category extends Model { protected $guarded = ['created_at','updated_at','deleted_at']; }
<?php /* @var $this \yii\web\View */ /* @var $content string */ use app\assets\AppAsset; use app\widgets\Alert; use yii\bootstrap4\Breadcrumbs; use yii\bootstrap4\Html; use yii\bootstrap4\Nav; use yii\bootstrap4\NavBar; AppAsset::register($this); ?> <?php $this->beginPage() ?> <!DOCTYPE html> <html lang="<?= Yii::$a...
<?php namespace In2code\Powermail\Utility; use TYPO3\CMS\Core\Authentication\BackendUserAuthentication; use TYPO3\CMS\Core\Database\DatabaseConnection; use TYPO3\CMS\Core\Utility\GeneralUtility; use TYPO3\CMS\Extbase\Configuration\ConfigurationManager; use TYPO3\CMS\Extbase\Object\ObjectManager; use TYPO3\CMS\Frontend...
@extends('layouts.app') @section('content') <div class="row"> <div class="col-lg-12 margin-tb"> <div class="pull-left"> <h2>Role Management</h2> </div> <div class="pull-right"> @can('role-create') <a class="btn btn-success" href="{{ route('roles.create') }}">...
<?php use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class RolePermission extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('role_permissions', function (Blueprint $table) { ...
<?php namespace InetStudio\GoogleOptimizePackage\Experiments\Contracts\Http\Controllers\Back; use InetStudio\GoogleOptimizePackage\Experiments\Contracts\Http\Requests\Back\Data\GetIndexDataRequestContract; use InetStudio\GoogleOptimizePackage\Experiments\Contracts\Http\Responses\Back\Data\GetIndexDataResponseContract...
<?php namespace App\Services\Logging; use Illuminate\Http\Request; class DummyRequestLogger extends AbstractRequestLogger { protected function prepareMessage(): string { return 'Dummy Logger is not providing useful message'; } protected function extractRequestData(Request $request): array { return ['data'=>'d...
<?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 return [ /* |-------------------------------------------------------------------------- | Authentication Defaults |-------------------------------------------------------------------------- | | This option controls the default authentication "guard" and password | reset options for y...
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; use App\Video; use App\Tag; use Session; class TagController extends Controller { function displayAllTags() { $title = "Search by Tag"; $tags = Tag::inRandomOrder()->simplePaginate(100); return view("tags_list", compact("title", "tags")); } ...
<?php /** * Login Form * * @author WooThemes * @package WooCommerce/Templates * @version 2.2.6 */ if ( ! defined( 'ABSPATH' ) ) { exit; // Exit if accessed directly } ?> <div class="col-sm-18"> <?php wc_print_notices(); do_action('woocommerce_before_customer_login_form'); ?> <?php if (get_option('wooc...
<?php namespace App\Http\Controllers; use App\Order; use Illuminate\Http\Request; class OrdersController extends Controller { public function show($confirmation_number) { $order = Order::findByConfirmationNumber($confirmation_number); return view('orders.show', compact('order')); ...
<div class="tooltip-large"> <table class="table-small"> <?php foreach ($links as $label => $grouped_links): ?> <tr> <th colspan="4"><?= t($label) ?></th> </tr> <?php foreach ($grouped_links as $link): ?> <tr> <td class="column-10"> ...
<?php namespace App\Http\Resources; use Illuminate\Http\Resources\Json\JsonResource; class Employee extends JsonResource { /** * Transform the resource into an array. * * @param \Illuminate\Http\Request $request * @return array */ public function toArray($request) { ret...
@extends('layouts.admin') @section('content') <div class="card"> <div class="card-header"> {{ trans('global.show') }} {{ trans('cruds.timeEntry.title') }} </div> <div class="card-body"> <div class="form-group"> <div class="form-group"> <a class="btn btn-default"...
<?php namespace TiBeN\Framework\Router; use TiBeN\Framework\Datatype\AssociativeArray; // Start of user code HttpResponse.useStatements // Place your use statements here. // End of user code /** * Represent an HttpResponse. * Factory Method createRedirectResponse can be used to instantiate a redirect response. ...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreateBillingProductTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('billing_...
<?php $__env->startSection('content'); ?><p>He's Byron Bay's most recognisable inhabitant.</p> <p>So it was no surprise that Chris Hemsworth was asked to take a few selfies with fans as he enjoyed a low-key breakfast at the coastal town's popular Bayleaf Cafe on Wednesday, alongside his gorgeous wife Elsa Pataky.</p> ...
<?php namespace App\Model; use Illuminate\Database\Eloquent\Model; class UserStatistic extends Model { // protected $table = 'user_statistics'; protected $fillable = array('user_id', 'following_sports', 'following_teams', 'managing_teams', 'joined_teams', 'following_tournaments', 'managing_tournaments',...
<?php namespace App; use Illuminate\Auth\Authenticatable; use Illuminate\Database\Eloquent\Model; use Illuminate\Auth\Passwords\CanResetPassword; use Illuminate\Contracts\Auth\Authenticatable as AuthenticatableContract; use Illuminate\Contracts\Auth\CanResetPassword as CanResetPasswordContract; class Giangvien exten...
<?php namespace App\Http\Resources; use Illuminate\Http\Resources\Json\JsonResource; class teacherResource extends JsonResource { /** * Transform the resource into an array. * * @param \Illuminate\Http\Request $request * @return array */ public function toArray($request) { ...
<?php namespace App\Application\Action\Notifications\Clients; use Psr\Http\Message\ServerRequestInterface as Request; use Psr\Http\Message\ResponseInterface as Response; use App\Domain\Notifications\Clients\NotificationClientsService; use App\Application\Responder\HTMLTemplateResponder; class NotificationClientsList...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <!-- CSRF Token --> <meta name="csrf-token" content="{{ csrf_token() }}"> <!-- Scripts --> <script src="{{ asset('js/app.js') }}" defer></script> <!-- Fonts ...
<?php return array ( '<strong>Modify</strong> space image' => '', 'Close' => 'Închide', );
<?php namespace App\Models; use Illuminate\Contracts\Auth\MustVerifyEmail; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Foundation\Auth\User as Authenticatable; use Illuminate\Notifications\Notifiable; use Laravel\Sanctum\HasApiTokens; class User extends Authenticatable { use HasApiToken...
<?php declare(strict_types=1); namespace OpenTelemetry\Sdk\Metrics; use InvalidArgumentException; use OpenTelemetry\Metrics as API; /* * Name: UpDownCounter * Instrument kind : Synchronous additive * Function(argument) : add(increment) * Default aggregation : Sum * Notes : Per-request, part of a non-monotonic ...
<?php namespace Overblog\GraphQLBundle\Resolver; abstract class AbstractResolver implements ResolverInterface { /** @var array */ private $solutions = []; /** @var array */ private $solutionOptions = []; /** @var array */ private $fullyLoadedSolutions = []; public function addSolution($...
--TEST-- sets to PDO::SQLSRV_ATTR_DIRECT_QUERY --SKIPIF-- <?php require('skipif.inc'); ?> --FILE-- <?php require('connect.inc'); $conn = new PDO("sqlsrv:Server=$server", "$uid", "$pwd"); $conn->setAttribute(constant('PDO::SQLSRV_ATTR_DIRECT_QUERY'), true); $tableName = 'pdo_direct_query'; $tsql = ...
--FILE-- <?php declare(strict_types=1); require 'vendor/autoload.php'; use function Respect\Stringifier\stringify; echo stringify(null); ?> --EXPECT-- `NULL`
<<<<<<< HEAD <?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 * * Permission is hereby granted, free of charge, to any person obtaining a copy * ...
<?php /** * PHPMailer - PHP email creation and transport class. * PHP Version 5.5. * * @see https://github.com/PHPMailer/PHPMailer/ The PHPMailer GitHub project * * @author Marcus Bointon (Synchro/coolbru) <phpmailer@synchromedia.co.uk> * @author Jim Jagielski (jimjag) <jimjag@gmail.com> * @author And...
<?php use Carbon\Carbon; use Illuminate\Database\Seeder; use Illuminate\Support\Facades\DB; class CountryDatabaseTableSeeder extends Seeder { /** * Run the database seeds. * * @return void */ public function run() { DB::table('countries')->insert([ 'name' => 'Nigeri...
@extends('layouts.app') @section('content') <div class="container edit-container"> <div class="row justify-content-center"> <form action="{{ route('posts.update', $post->id)}}" method="post"> @csrf @method('PATCH') <label for="title">Titolo</label> <input type=...
<?php defined('BASEPATH') or exit('No direct script access allowed'); class User extends CI_Controller { var $API = ""; public function __construct() { parent::__construct(); if (!isset($_SESSION['alembana'])) { redirect('Auth'); } $this->API = "https:...
<?php namespace Urbem\CoreBundle\Entity\Arrecadacao; /** * RegraDesoneracaoGrupo */ class RegraDesoneracaoGrupo { /** * PK * @var integer */ private $codGrupo; /** * PK * @var string */ private $anoExercicio; /** * @var integer */ private $codModulo...
<?php foreach ($tampil as $row) { ?> <div class="col-md-12"> <div class="card"> <ol class="breadcrumb"> <li class="breadcrumb-item"> <a href="<?php echo PATH_THEME; ?>administrator/berita">Berita</a> </li> <li class="breadcrumb-item active"> Edit Berita ...
<?php namespace Navitia\Component\Tests\Request\Parameters; use Navitia\Component\Request\Parameters\CoveragePlacesNearbyParameters; use Navitia\Component\Tests\UtilsTestFunction; use PHPUnit\Framework\TestCase; /** * Description of CoveragePlacesNearbyParametersTest * * @author Johan ROUVE */ class CoveragePlac...
<?php namespace Modules\ModuleRHVoice\bin; use Modules\ModuleRHVoice\Lib\RHVoiceConf; require_once 'Globals.php'; $voiceConf = new RHVoiceConf(); $voiceConf->checkStart();
<?php class WC_Retailcrm_Plugin { public $file; public static $history_run = false; private static $instance = null; const MARKETPLACE_LOGO = 'https://s3.eu-central-1.amazonaws.com/retailcrm-billing/images/5b69ce4bda663-woocommercesvg2.svg'; const INTEGRATION_CODE = 'woocommerce'; public st...
<?php /** * Created by PhpStorm. * User: wonder * Date: 16/6/18 * Time: 下午4:01 */ namespace libraries; class PaymentStatus { /** * @var array */ public static $paymentStatus = [ // 充值状态码 '2000' => '发钻成功', '2001' => '未知原因', '2002' => '用户不存在', '2003' => '...
<?php // This file was auto-generated from sdk-root/src/data/transcribe/2017-10-26/api-2.json
<?php namespace ByJG\AnyDataset\Db; use ByJG\AnyDataset\Core\Exception\NotImplementedException; use ByJG\AnyDataset\Db\Exception\RouteNotFoundException; use ByJG\AnyDataset\Db\Exception\RouteNotMatchedException; class Route implements DbDriverInterface { /** * @var DbDriverInterface[] */ protected...
<?php namespace Database\Seeders; use Illuminate\Database\Seeder; use App\Models\Student; class DatabaseSeeder extends Seeder { /** * Seed the application's database. * * @return void */ public function run() { //Student::factory(30)->create(); // User::factory(10)->cre...
<?php namespace Ork\Crom\Tests\Functional\Assertion\Namespace; trait NamespaceNameMatchesCaseForcedLowerTrait { public function testNamespaceNameMatchesCase(): void { $this->test([ ['macroCase', 'focal_banger', false], ['macroCase', 'choppin_broccoli', false], ['ma...
<?php /** * @package FOF * @copyright Copyright (c)2010-2020 Nicholas K. Dionysopoulos / Akeeba Ltd * @license GNU General Public License version 2, or later */ namespace FOF30\View\Compiler; use FOF30\Container\Container; use FOF30\Utils\Phpfunc; defined('_JEXEC') or die; class Blade implements CompilerInt...
<?php require(WEB_ROOT . 'models/extra/AjaxModel.php'); require(WEB_ROOT . 'models/api/appBase.php'); class appBaseInfoModel extends AjaxModel { protected $need_login = true; public function GetResponse_ () { $uri = $_SERVER['REQUEST_URI']; $info = parse_url($uri); $action = substr($info['path'], strripos($i...
<?php namespace Database\Seeders; use Illuminate\Database\Console\Seeds\WithoutModelEvents; use Illuminate\Database\Seeder; use Illuminate\Support\Facades\DB; class ArticlesTableSeeder extends Seeder { /** * Run the database seeds. * * @return void */ public function run() { D...
<?php class RouterTest extends PHPUnit_Framework_TestCase { public $collection; public $collector; public $dispatcher; public $methods = ['get', 'post', 'put', 'patch', 'delete']; public function setUp() { $this->collector = new Codeburner\Router\Collector; $this->dispatcher = new Codeburner\Router\Dispat...
@extends('layouts.default') @section('content') <h4> <a href="{{ URL('/') }}">BACK HOME</a> </h4> <h1 style="text-align: center; margin-top: 50px;"> {{ $page->title }} </h1> <hr> <div id="date" style="text-align: right;"> {{ $page->updated_at }} </div> <div id="...
<?php declare(strict_types=1); use Tests\BitBag\SyliusQuadPayPlugin\Application\Kernel; use Symfony\Component\ErrorHandler\Debug; use Symfony\Component\HttpFoundation\Request; require dirname(__DIR__) . '/config/bootstrap.php'; if ($_SERVER['APP_DEBUG']) { umask(0000); Debug::enable(); } if ($trustedProxi...
<?php namespace App\Http\Requests; use Illuminate\Foundation\Http\FormRequest; class SizeRequest extends FormRequest { /** * Determine if the user is authorized to make this request. * * @return bool */ public function authorize() { return true; } /** * Get the v...
<!DOCTYPE HTML> <html lang="en-US"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1"/> <meta name="description" content="Kuteshop is new Html theme that we have designed to help you transform your store into a beautiful online showroom. This is a fully responsive Html...
@extends('layouts.app') @section('content') <div class="container"> <div class="row justify-content-center"> <div class="col-md-12"> <div class="card"> @if(session('success')) <div class="alert alert-success"> ...
<?php namespace App\Modules\Conselho\Model; use Illuminate\Database\Eloquent\Model; class ConselhoIndicacaoArquivo extends Model { protected $table = 'rl_conselho_indicacao_arquivo'; protected $primaryKey = 'co_conselho_indicacao_arquivo'; protected $fillable = [ 'co_arquivo', 'tp_arquivo...
<?php return array( 'blog' => 'ブログ', 'blog:blogs' => 'ブログ', 'blog:revisions' => '変更履歴', 'blog:archives' => '書庫', 'blog:blog' => 'ブログ', 'item:object:blog' => 'ブログ', 'blog:title:user_blogs' => '%s さんのブログ', 'blog:title:all_blogs' => 'サイトの全ブログ', 'blog:title:friends' => '友達のブログ', 'blog:group' => 'グループブログ', 'blo...
<?php /** * Blocks Initializer * * Enqueue CSS/JS of all the blocks. * * @since 1.0.0 * @package CGB */ // Exit if accessed directly. if ( ! defined( 'ABSPATH' ) ) { exit; } /** * Enqueue Gutenberg block assets for both frontend + backend. * * @uses {wp-editor} for WP editor styles. * @since 1.0.0 */ f...
<?php namespace App\Http\Requests\Bills; use Illuminate\Foundation\Http\FormRequest; class BillRequest extends FormRequest { /** * Determine if the user is authorized to make this request. * * @return bool */ public function authorize() { return auth()->user()->isAdmin(); ...
<?php namespace suframe\thinkAdmin\ui\table; use suframe\thinkAdmin\model\AdminApps; class MenuTable extends TableInterface { public function header() { return [ 'id' => ['label' => 'ID', 'sort' => true, 'fixed' => 'left', 'width' => 80], 'title' => '菜单名称', 'uri' =...
<?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 $callbackHandler = new AltapayCallbackHandler(); // Load an example of reservation and capture request where Transaction element is not present $xml = file_get_contents(__DIR__.'/xml/CallbackXML_MobilePayError.xml') ?: ''; try { $response = $callbackHandler->parseXmlResponse($xml); $payment = $response-...
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); class ChangeUserPassword extends CI_Controller { function __construct() { parent::__construct(); $this->load->model('user','',TRUE); } function index() { $this->load->library('form_validation'); if($this->session->userdata...
<section class="bluegrey padding-UB-large"> <div class="row center-align margin-UB"> <h4 class="blue-text darken-1">GETTING STARTED</h4> <h5 class="grey-text darken-1 light margin-B">the blackwallet &amp; lumen's guide</h5> </div> <div class="container blue-grey-text text-lighten-3"> <div class="sectio...
<?php use Twig\Environment; use Twig\Error\LoaderError; use Twig\Error\RuntimeError; use Twig\Markup; use Twig\Sandbox\SecurityError; use Twig\Sandbox\SecurityNotAllowedTagError; use Twig\Sandbox\SecurityNotAllowedFilterError; use Twig\Sandbox\SecurityNotAllowedFunctionError; use Twig\Source; use Twig\Template; /* @W...
<?php namespace App\Providers; use Illuminate\Support\ServiceProvider; // 🔽 1行追加 🔽 use Illuminate\Routing\UrlGenerator; class AppServiceProvider extends ServiceProvider { /** * Register any application services. * * @return void */ public function register() { // } ...
<?php namespace Ordermind\LogicalAuthorizationDoctrineMongoBundle\Tests\Fixtures\Repository\Misc; /** * TestDocumentAbortCreateRepository * * This class was generated by the Doctrine ODM. Add your own custom * repository methods below. */ class TestDocumentAbortCreateRepository extends \Doctrine\ODM\MongoDB\Docu...
@extends('layouts.default') @section('content') {{$page->html}} @stop
<?php namespace App; use Illuminate\Database\Eloquent\Model; class PersonAttribute extends Model { public function person(){ return $this->belongsTo('\App\Person'); } }
<?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...
@extends('adminlte::page') @section('title',config('adminlte.title', 'Falhou')) @section('content_header') @stop @section('content') <div id="teste"> <div class="modal fade" id="modal-cliente" > <div class="modal-dialog"> <div class="modal-content background-primary"> <div class="modal-header"> ...
<?php namespace Sumantablog\Admin\Actions; use Sumantablog\Admin\Grid; use Illuminate\Database\Eloquent\SoftDeletes; use Illuminate\Http\Request; /** * Class GridAction. * * @method retrieveModel(Request $request) */ abstract class GridAction extends Action { /** * @var Grid */ protected $paren...
<?php use Illuminate\Http\Request; use Illuminate\Support\Facades\Route; /* |-------------------------------------------------------------------------- | API Routes |-------------------------------------------------------------------------- | | Here is where you can register API routes for your application. These | r...
<?php $array = new SplFixedArray( array("string", 1) );
<?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\Finder\Iterator; /** * DepthRangeFilterIterator limi...
<address class="text-center"> &copy; {{ config('setting.copyyear') }} <a href="{{ config('copylink') }}" title="{{ config('setting.copyright') }}">{{ config('setting.copyright') }}</a> </address>
<footer class="br-footer" style="width: 100%"> <div class="footer-left"> <div class="mg-b-2">Copyright © @php echo date("Y"); @endphp Scandire Technologies. All Rights Reserved.</div> <div>Attentively and carefully managed by the DevOps Department.</di...
<?php use Illuminate\Database\Seeder; class DatabaseSeeder extends Seeder { /** * Seed the application's database. * * @return void */ public function run() { $this->call(QuestionTableSeeder::class); } }
<?php include "./inc/session.php"; ?> <!DOCTYPE HTML> <html lang="en-US"> <head> <meta charset="UTF-8"> <title>Inventory Viewer</title> <link rel="stylesheet" href="css/base.css"/> <script type="text/javascript" src="js/core.js"></script> </head> <body onLoad="loadProfile();loadTF2bp();"> <aside> <d...
<?php use Illuminate\Database\Seeder; use TCG\Voyager\Models\DataType; class TransfersBreadRowAdded extends Seeder { /** * Auto generated seed file * * @return void * * @throws Exception */ public function run() { try { \DB::beginTransaction(); ...
<?php namespace App\Models; use Illuminate\Database\Eloquent\Model; class Rating extends Model { protected $table = "ratings"; protected $fillable = ['point']; /** * @return \Illuminate\Database\Eloquent\Relations\BelongsTo */ public function product() { return $this->belongsT...
<?php namespace Skraeda\Xmlary; use Skraeda\Xmlary\Contracts\XmlReaderConfigurationContract; /** * Default config for XmlReader. * * @author Gunnar Örn Baldursson <gunnar@sjukraskra.is> */ class XmlReaderConfiguration implements XmlReaderConfigurationContract { /** * {@inheritDoc} */ public fun...
<?php use yii\helpers\Html; use yii\widgets\ActiveForm; /* @var $this yii\web\View */ /* @var $model app\models\BarrioSearch */ /* @var $form yii\widgets\ActiveForm */ ?> <div class="barrio-search"> <?php $form = ActiveForm::begin([ 'action' => ['index'], 'method' => 'get', ]); ?> <?= $...
<?php declare(strict_types=1); /** * Pimcore * * This source file is available under two different licenses: * - GNU General Public License version 3 (GPLv3) * - Pimcore Enterprise License (PEL) * Full copyright and license information is available in * LICENSE.md which is distributed with this source code. *...
<?php use yii\helpers\Html; use yii\helpers\ArrayHelper; use app\models\Availability; use app\models\AvailabilitySearch; use app\models\FaultCode; use app\models\FaultCodeGroup; use app\models\WorkCentre; use yii\widgets\ActiveForm; use kartik\datecontrol\Module; use kartik\datecontrol\DateControl; use kartik\time\Tim...
<?php define('IN_CB', true); include('include/header.php'); registerImageKey('code', 'BCGpostnet'); $characters = array('0', '1', '2', '3', '4', '5', '6', '7', '8', '9'); ?> <div id="validCharacters"> <h3>Valid Characters</h3> <?php foreach ($characters as $character) { echo getButton($character); } ?> <...
<?php namespace App\Http\Requests; use Illuminate\Foundation\Http\FormRequest; use Illuminate\Http\UploadedFile; /** * Class ProjectUpdateRequest * @package App\Http\Requests * @property UploadedFile $image_url */ class EmployerRequest extends FormRequest { /** * Determine if the user is authorized to m...
<?php class Model_provinsi extends CI_Model{ function __construct(){ parent::__construct(); $this->load->database(); } function tampil_data(){ return $this->db->get('tb_provinsi'); } function post($data){ $this->db->insert('tb_provinsi',$data); } function ge...
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; use App\Http\Controllers\Controller; use \App\Item; class ItemsController extends Controller { public function create() { $keyword = request()->keyword; $items = []; if ($keyword) { ...
<?php declare(strict_types=1); namespace RJozwiak\Libroteca\Domain\Model; use RJozwiak\Libroteca\Domain\Event\DomainEvent; abstract class AggregateRoot { /** @var int */ private $version = 0; /** @var null|DomainEvent[] */ private $events; /** * @return ID */ abstract public funct...
<!doctype html> <html lang="{{ str_replace('_', '-', app()->getLocale()) }}"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <!-- CSRF Token --> <meta name="csrf-token" content="{{ csrf_token() }}"> <title>Exam Claim Management System</title> ...