text
stringlengths
2
1.03M
<?php /** * This code was generated by * \ / _ _ _| _ _ * | (_)\/(_)(_|\/| |(/_ v1.0.0 * / / */ namespace Twilio\Rest\Preview\Sync; use Twilio\Exceptions\TwilioException; use Twilio\ListResource; use Twilio\Options; use Twilio\Serialize; use Twilio\Values; use Twilio\Version; /** * PLEASE NOTE t...
<?php use yii\helpers\Html; use yii\grid\GridView; use common\models\User; use backend\models\Book; $this->title = 'Borrows'; $this->params['breadcrumbs'][] = $this->title; ?> <div class="borrow-index"> <h1><?= Html::encode($this->title) ?></h1> <p> <?= Html::a('Not Transfer', ['show-not-transfer'],...
<?php /* * WellCommerce Open-Source E-Commerce Platform * * This file is part of the WellCommerce package. * * (c) Adam Piotrowski <adam@wellcommerce.org> * * For the full copyright and license information, * please view the LICENSE file that was distributed with this source code. */ namespace WellCommerce\Bu...
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; use Illuminate\Support\Facades\DB; class OrderHistoryController extends Controller { public function __construct() { $this->middleware('auth'); } public function index(){ $userID = auth()->id(); $categories =...
<?php class Example42 { const DEFAULT = 'x'; public static function test($x = self::DEFAULT) { var_export($x); } } Example42::test(); Example42::test('y'); Example42::test(new stdClass());
<?php use Illuminate\Support\Facades\Schema; use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class CreatePlanMastersTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('plan_master...
<?php /** * formTitle * * @param string $title * @param string $action * @param string $controller * @return string */ function formTitle($title, $action, $controller) { $subtitulo = [ 'create' => $title . ' - Incluir', 'view' => $title . ' - Visualizar', 'update' => $title . ' - Alterar', 'delete' ...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class Menu extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('menu', function (Blueprint $t...
<!DOCTYPE html> @extends('index') @section('contenido') <div class="container"> <div class="card-body"> <div class="container" style="border: 1px solid; border-color: green; padding: 10px; border-radius: 70px 20px;"> <strong><h1 align="center">Aulas</h1></strong> <form action="{{ url...
<?php namespace App\Exceptions; use Exception; use Illuminate\Foundation\Exceptions\Handler as ExceptionHandler; use Illuminate\Auth\AuthenticationException; class Handler extends ExceptionHandler { /** * A list of the exception types that are not reported. * * @var array */ protected $don...
<?php declare(strict_types=1); namespace Shopware\Core\Content\Category\SalesChannel; use OpenApi\Annotations as OA; use Shopware\Core\Content\Category\CategoryDefinition; use Shopware\Core\Content\Category\CategoryEntity; use Shopware\Core\Content\Category\Exception\CategoryNotFoundException; use Shopware\Core\Conte...
<?php namespace ApiVue\Exceptions; use Exception; use Illuminate\Foundation\Exceptions\Handler as ExceptionHandler; class Handler extends ExceptionHandler { /** * A list of the exception types that are not reported. * * @var array */ protected $dontReport = [ // ]; /** ...
@extends('layout.template_1') @section('title', "Petugas Edit") @section('container') <div class="container"> <div class="row"> <div class="col-md-16"> <div class="p-3 bg-info text-white"> <section class="main-section"> <div class="content"> <h1 align="center">Edit Petugas</h1> <hr> @if(...
<?php class app { public $G; public function __construct(&$G) { $this->G = $G; $this->ev = $this->G->make('ev'); $this->tpl = $this->G->make('tpl'); $this->sql = $this->G->make('sql'); $this->pdosql = $this->G->make('pdosql'); $this->db = $this->G->make('pdodb'); $this->pg = $this->G->make('pg'); ...
<?php defined('SYSPATH') OR die('No direct script access.'); class Group_Shipping_Items extends Kohana_Group_Shipping_Items {}
<?php namespace App\Http\Controllers\Front; use App\Http\Controllers\Controller; use Illuminate\Http\Request; class IndexController extends Controller { /** * Show the application dashboard. * * @return \Illuminate\Contracts\View\Factory|\Illuminate\View\View */ public function index() ...
<?php /** * @file * Contains \Drupal\views\Plugin\Derivative\DefaultWizardDeriver. */ namespace Drupal\views\Plugin\Derivative; use Drupal\Component\Plugin\Derivative\DeriverBase; use Drupal\views\Views; /** * A derivative class which provides automatic wizards for all base tables. * * The derivatives store a...
@extends('backend.master') @section('content') <div class="container"> <!-- Page Heading --> <h1 class="h3 mb-2 text-gray-800">Tables</h1> <p class="mb-4">DataTables is a third party plugin that is used to generate the demo table below. For more information about DataTables, p...
<?php namespace Database\Seeders; use Illuminate\Database\Seeder; use Illuminate\Database\Eloquent\Model; class DatabaseSeeder extends Seeder { /** * Seed the application's database. * * @return void */ public function run() { $this->call(UsersTableSeeder::class); } }
<?if (!defined("B_PROLOG_INCLUDED") || B_PROLOG_INCLUDED!==true) die(); $arComponentDescription = array( "NAME" => GetMessage("INTRANET_RESMIT_ITEM"), "DESCRIPTION" => GetMessage("INTRANET_RESMIT_ITEM_DESCRIPTION"), "ICON" => "/images/icon.gif", "COMPLEX" => "N", "PATH" => array( "ID" => "intranet", 'NAME' => ...
@extends('layouts/horizontal_admin') @section('content') <div class="container"> <div class="row"> <div class="col-lg-12"> <h3 class="page-header"> Verifikasi Ketetapan Pajak </h3> <ol class="breadcrumb"> <li class="active"> ...
<?php namespace vod\Request\V20170321; /** * Request of GetPlayInfo * * @method string getResourceOwnerId() * @method string getStreamType() * @method string getFormats() * @method string getResourceOwnerAccount() * @method string getChannel() * @method string getVideoId() * @method string getPlayerVersion()...
<?php namespace aieuo\mineflow\trigger\event; use aieuo\mineflow\variable\DummyVariable; use aieuo\mineflow\variable\object\ItemObjectVariable; use pocketmine\event\inventory\FurnaceBurnEvent; class FurnaceBurnEventTrigger extends EventTrigger { public function __construct(string $subKey = "") { parent::...
<?php namespace frontend\controllers; use Yii; use yii\web\Controller; use Intervention\Image\ImageManager; class TestController extends Controller { public function actionIndex() { /*$redis = Yii::$app->redis; //$redis->set('key', 'value'); $result = $redis->get('key'); //$result = $redis->...
<html> <head> <?php require_once 'commonfunc.php'; require_once 'search_listerdb_commonfunc.php'; print_meta_header(); $displayfrom=0; $displaynum=50; $draw = 1; $allcount = 0; $myrequestarray=array(); $lister_dbpath = 'list\List.sqlite3'; if(array_key_exists("lister_dbpath", $_REQUEST)) { $lister_dbpath = $_R...
<?php declare(strict_types = 1); namespace App\Provider; use App\Event\WebHook\Received; use App\Listener\WebHook as WebHookListener; use Interop\Container\ContainerInterface; use Refinery29\Event\LazyListener; class WebHook extends AbstractProvider { /** * Class constructor. * * @param \Interop\Container...
<?php defined('BASEPATH') OR exit('No direct script access allowed') ?><!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8" /> <link rel="apple-touch-icon" sizes="76x76" href="<?=base_url()?>/assets/img/apple-icon.png"> <link rel="icon" type="image/png" href="<?=base_url()?>/assets/img/favicon.png...
@extends('admin::layouts.master') @section('title') <title>Admin System</title> @endsection @section('content') <div class="content-wrapper"> <!-- Content Header (Page header) --> <div class="content-header"> <div class="container-fluid"> <div class="row mb-2"> ...
<?php /** * Created by PhpStorm. * User: 37498_000 * Date: 10.06.2016 * Time: 14:19 */ namespace engine\abstracts; /** * Class RouteResult * @package engine\abstracts */ abstract class RouteResult { /** * @var string $controller */ protected $_controller; /** * @var string $method ...
<?php namespace Kompo\Core; use Kompo\Card; use Kompo\Komponents\Layout; use Kompo\Rows; class CardGenerator { public static function getTransformedCards($komposer) { $komposer->query = $komposer->query->getPaginated(); $komposer->query->getCollection()->transform(function ($item, $key) use ...
@extends('layout') @section('module') Personas @stop @section('base_url') <base href="{{URL::to('/')}}/persons"/> @stop @section('css-customize') @stop @section('content') <!--<section class="content-header"> <h1> PERSONAS <small>Panel de Control</small> </h1> </section>--> <!-- Main content --...
<?php require_once "../../functions/database-connection.php"; ?> <div class="modal-header text-white"> <h1><strong>MY ACCOUNT</strong></h1> <h2 data-bs-dismiss="modal"><i class="fas fa-times-circle"></i></h2> </div> <div class="modal-body text-dark"> <?php if (!isset($_POST["Show_My_Account"]) || ...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title>INVOICE</title> <link rel="stylesheet" href="<?php echo base_url()?>assets\dist\css\style_print.css"> </head> <body> <?php foreach ($purchase as $row ) {?> <header class="clearfix"> <div id="logo"> <img src="lo...
<?php declare(strict_types=1); namespace Psl\Math; use Psl; use Psl\Str\Byte; /** * Converts the given string in the given base to an int, assuming letters a-z * are used for digits when `$from_base` > 10. * * Example: * * Math\from_base('10', 2) * => Int(2) * * Math\from_base('ff', 15) * ...
<?php use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class CreateSettingsTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('settings', function (Blueprint $table) { ...
<?php use Illuminate\Support\Str; return [ /* |-------------------------------------------------------------------------- | Default Database Connection Name |-------------------------------------------------------------------------- | | Here you may specify which of the database connections b...
<?php $currency = 'Rp. '; //Currency Character or code $db_username = 'root'; $db_password = ''; $db_name = 'gasonline'; $db_host = 'localhost'; $shipping_cost = 1.50; //shipping cost $taxes = array( //List your Taxes percent here. 'VAT' => 12, ...
<?php /** * Copyright © Magento, Inc. All rights reserved. * See COPYING.txt for license details. */ namespace Magento\Signifyd\Api; /** * Signifyd case creation interface * * Interface of service for new Signifyd case creation and registering it on Magento side. * Implementation should send request to Signifyd...
<div style="margin-left: 20px"> @if ($convite_enviado == 0) <button class="btn btn-success" wire:click="convidarJogador">Convidar Jogador Para seu Time</button> @endif @if ($convite_enviado == 1) <button class="btn btn-danger" wire:click="removerConvite">Remover Convite de Jogador Para seu T...
@extends('umum.layouts.master') @section('styles') @endsection @section('content') <!-- Hero --> <div class="bg-body-light"> <div class="content text-center"> <div class="pt-50 pb-20"> <h1 class="font-w700 pb-30">{{ __('front_menu.news.title') }}</h1> </div> </div> </div> <div cla...
<?php declare(strict_types=1); /** * This file is part of beotie/psr7_request_dto_bridge * * As each files provides by the CSCFA, this file is licensed * under the MIT license. * * PHP version 7.1 * * @category Bridge * @package Beotie_Psr7_Request_Dto_Bridge * @author matthieu vallance <matthieu.vallance@...
<?php namespace CovidCoupons\App; use CovidCoupons\App\Contracts\GiftCertificate; use CovidCoupons\App\Contracts\Mailer; class SellerNotification { protected $certificate; public function __construct(GiftCertificate $giftCertificate) { $this->certificate = $giftCertificate; } public fun...
<!-- Modal --> <div class="modal fade" id="team" tabindex="-1" role="dialog" aria-labelledby="exampleModalCenterTitle" aria-hidden="true"> <div class="modal-dialog modal-dialog-top " style="width:50%" role="document"> <div class="modal-content"> <div class="modal-header" > <button type="butt...
<?php namespace App\Security; use App\Entity\User; use Doctrine\ORM\EntityManagerInterface; use Symfony\Component\HttpFoundation\RedirectResponse; use Symfony\Component\HttpFoundation\Request; use Symfony\Component\Routing\Generator\UrlGeneratorInterface; use Symfony\Component\Security\Core\Authentication\Token\Toke...
<?php include 'Controller.php'; include 'Model.php'; $modelObject=new Model(); $runDelete=$modelObject->userInformationDelete(); if($runDelete){ header('location:View.php?msg=Successfully Deleted your data !!!!'); }else{ header('location:View.php?msg=Delete Failed !!!!'); } ?...
<?php use Twig\Environment; use Twig\Error\LoaderError; use Twig\Error\RuntimeError; use Twig\Extension\SandboxExtension; use Twig\Markup; use Twig\Sandbox\SecurityError; use Twig\Sandbox\SecurityNotAllowedTagError; use Twig\Sandbox\SecurityNotAllowedFilterError; use Twig\Sandbox\SecurityNotAllowedFunctionError; use T...
I need to add a php example here... ... comming soon.
@include('superadmin.bord') <div class="container-fluid"> <!-- Page Heading --> <div class="d-sm-flex align-items-center justify-content-between mb-4"> <h1 class="h3 mb-0 text-gray-800">Ajoutez une Entreprise</h1> </div> <div class="row"> <form action="{{ route('...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class AddColumnGenreIdToMoviesTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::table('movie...
@extends('layouts.admin') @section('content') <h1>Edit User</h1> <div class="row"> <div class="col-sm-3"> <img src="{{$user->photo ? $user->photo->file : 'http://placehold.it/400x400'}}" alt="" class="img-responsive img-rounded"> </div> <div class="col-sm-9"> ...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreatePostCategoriesTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('post_cat...
<?php defined('BASEPATH') or exit('No direct script access allowed'); class Admin extends CI_Controller { function __construct(){ parent::__construct(); //cek login if($this->session->userdate('status') != "login"){ $alert=$this->session->set_flashdata('alert', 'Anda Belum Login'); redirect(base_url()); }...
<aside class="main-sidebar" id="sidebar-wrapper"> <!-- sidebar: style can be found in sidebar.less --> <section class="sidebar"> <!-- Sidebar user panel (optional) --> <div class="user-panel"> <div class="pull-left image"> <img src="http://infyom.com/images/logo/blu...
<?php return [ //Dia chi Nodejs 'localIp' => 'http://localhost:3000' ];
<h1>Salutare {{ $user->name }}</h1> <p>Va rugam introduceti codul primit pentru a va activa contul.</p> <h3>{{$user->status}}</h3> <p>Echipa Practica va ureaza o zi buna.</p>
<?php /** * Created by PhpStorm. * User: zhou * Date: 2017/5/17 * Time: 22:06 */ namespace app\api\controller\v1; use app\api\model\Banner as BannerModel; use app\api\validate\IDMustBePositiveInt; use app\lib\exception\BannerMissException; class Banner { /** * 获取指定id的banner信息 * @url /banner/:id ...
<?php namespace ConfigBundle\Entity; use Doctrine\ORM\Mapping as ORM; use Symfony\Bridge\Doctrine\Validator\Constraints\UniqueEntity; use Symfony\Component\Serializer\Annotation\Groups; use Symfony\Component\Validator\Constraints as Assert; /** * ConfigSociete * * @ORM\Table(name="config_societe") * @ORM\Entity(...
<?php namespace app\models; use Yii; use yii\helpers\ArrayHelper; /** * This is the model class for table "{{%kondisi_fin_siswa}}". * * @property int $id * @property string $kondisi */ class FinansialSiswa extends \yii\db\ActiveRecord { /** * {@inheritdoc} */ public static function tableName()...
<?php if (!defined('ABSPATH')) { die; } /** * * Field: map * * @since 1.0.0 * @version 1.0.0 * */ if (!class_exists('CSF_Field_map')) { class CSF_Field_map extends CSF_Fields { public $version = '1.7.1'; public $cdn_url = 'https://cdn.jsdelivr.net/npm/leaflet@'; public function __construct($f...
<div class="container px-1 px-md-4 py-5 mx-auto"> <div class="card"> <div class="row d-flex justify-content-between px-3 top"> <div class="d-flex"> <h5>ORDER <span class="text-primary font-weight-bold">#Y34XDHR</span></h5> </div> <div class="d-flex flex-co...
<?php namespace App\Domain\Support; class MoneyFormatter { }
@extends('layouts.admin.layout') @section('page_title') {{$title}} @endsection @section('style') <link rel="stylesheet" href="{{asset('css/admin/grid.css')}}" /> @endsection @section('content') <div class="toolbar breadcrumbs ace-save-state breadcrumbs-fixed"> <button id="btn-back" class="btn btn-pr...
@extends('admin.layout.index') @section('content') <!-- Page Content --> <div id="page-wrapper"> <div class="container-fluid"> <div class="row"> <div class="col-lg-12"> <h1 class="page-header">Loại tin <small>Danh sách</small> ...
<?php namespace yii2bundle\rbac\console\controllers; use Yii; use yii2rails\extension\console\base\Controller; use yii2rails\extension\console\helpers\input\Question; use yii2rails\extension\console\helpers\Output; class ConstController extends Controller { /** * Generating enums for RBAC roles, permissions and...
<?php // autoload_psr4.php @generated by Composer $vendorDir = dirname(dirname(__FILE__)); $baseDir = dirname($vendorDir); return array( 'voku\\' => array($vendorDir . '/voku/portable-ascii/src/voku'), 'phpDocumentor\\Reflection\\' => array($vendorDir . '/phpdocumentor/reflection-common/src', $vendorDir . '/...
<?php namespace Tests\Feature\Api\Auth; use App\Infrastructure\Eloquents\User as UserEloquent; use App\Infrastructure\Eloquents\UserDiscord as UserDiscordEloquent; use Illuminate\Foundation\Testing\RefreshDatabase; use Illuminate\Foundation\Testing\WithFaker; use Tests\TestCase; class UpdateAuthenticateUserTest exte...
<?php namespace Kaliba\Logging; /** * Describes log levels */ class LogLevel { /** * Detailed debug information */ const DEBUG = 'DEBUG'; /** * Interesting events * * Examples: User logs in, SQL logs. */ const INFO = 'INFO'; /** * Uncommon events */ ...
<?php return [ /* |-------------------------------------------------------------------------- | Default tax rate |-------------------------------------------------------------------------- | | This default tax rate will be used when you make a class implement the | Taxable interface and us...
<?php declare(strict_types=1); /** * This file has been auto generated * Do not change it. */ namespace Commercetools\Api\Models\Message; use Commercetools\Base\DateTimeImmutableCollection; use Commercetools\Base\JsonObject; use Commercetools\Base\JsonObjectModel; use Commercetools\Base\MapperFactory; use stdClas...
<?php namespace App\Http\Controllers\Admin; use App\Http\Controllers\Controller; use App\Http\Requests\LoginRequest; use Illuminate\Http\Request; class LoginController extends Controller { public function getLogin() { return view('admin.Auth.login'); } public function login(LoginRequest $reques...
@extends('layouts.main') @section('title', '| Company') @section('content') <div class="container"> <div class="content mt-4"> <div class="animated fadeIn"> <div class="row"> <div class="col-md-12"> <div class="card"> <div class="card-header"> <strong class="c...
<?php defined('BASEPATH') OR exit('No direct script access allowed'); class Pengaturan extends CI_Controller { public function __construct() { parent::__construct(); $this->load->helper('url'); $this->load->helper('form'); $this->load->library('form_validation'); $this->load->library('session'); $this->...
@extends ('layouts.app') @section ('content') <div class="container"> <div class="row"> <div class="col-lg-8 col-md-8 col-sm-8 col-xs-12"> <h3>Listado de Recibos <a href="recibos/create"><button class="btn btn-success">Nuevo</button></a></h3> @include('recibos.sea...
<?php namespace EvoComp\SelectionEngine; /** * Class SelectionEngineAbstract * @author yourname */ abstract class SelectionEngineAbstract { protected $allowRepetition; protected $population; protected $populationSize; protected $isGlobal; /** * @param $allowRepetition */ publi...
<?= $this->extend('templates/header'); ?> <?= $this->section('header'); ?> <div class="media"> <img class="mr-3" src="/img/profile.jpg" alt="Generic placeholder image" width="200"> <div class="media-body"> <h5 class="mt-0 font-weight-bold">About</h5> Nama : Livia Ayu Istor...
<?php include("inc/header_product.php"); ?> <!-- Main --> <div class="wrapper style1"> <div class="container"> <div class="row gtr-200"> <div class="col-4 col-12-mobile" id="sidebar"> <hr class="first" /> <hr /> <?php include("inc/seccion_instagram.php");?>...
<footer> <div class="footer-area"> <div class="container"> <div class="row"> <div class="col-md-4 col-sm-5 col-xs-12"> <div class="footer-content"> <div class="footer-head"> <h4>Information</h4> ...
<?php namespace App\Models; use Jenssegers\Mongodb\Eloquent\Model as BaseModel; class Model extends BaseModel { protected $connection = 'mongodb'; }
<?php declare(strict_types=1); /** * Copyright (c) 2013-2018 OpenCFP * * For the full copyright and license information, please view * the LICENSE file that was distributed with this source code. * * @see https://github.com/opencfp/opencfp */ namespace OpenCFP\Test\Unit\Http\Action\Profile; use HTMLPurifier;...
<?php class PhpLatex_Renderer_Html extends PhpLatex_Renderer_Abstract { const FLAG_IGNORE_PAR = 1; const FLAG_PAR2BR = 4; const FLAG_ARG = 2; const FLAG_ITEM = self::FLAG_PAR2BR; protected $_commands = array( ); protected $_par = array(); /** * @var PhpLatex_...
<?php namespace App\Http\Controllers\Admin; use App\Helpers\ResponseBuilder; use App\Http\Controllers\Controller; use App\Mail\ResetPasswordMail; use App\Models\User; use Carbon\Carbon; use Illuminate\Http\Request; use Illuminate\Support\Facades\Hash; use Illuminate\Support\Facades\Log; use Illuminate\Support\Facades...
<?php /** * Forums Loop * * @package BuddyBoss\Theme */ ?> <?php do_action( 'bbp_template_before_forums_loop' ); ?> <ul id="forums-list-<?php bbp_forum_id(); ?>" class="bbp-forums"> <li class="bbp-header"> <ul class="forum-titles"> <li class="bbp-forum-info"><?php _e( 'Forum', 'buddyboss' ); ?></li> ...
@extends('layouts.app') @section('content') <h1>id: {{ $task->id }}のタスク編集ページ</h1> <div class = 'row'> <div class = 'col-6'> {!! Form::model($task, ['route' => ['tasks.update', $task->id], 'method' => 'put']) !!} <div class = "form-group"> {!! Form::label('content', 'タスク:') !!} ...
<?php namespace AlipayAop\request; /** * ALIPAY API: alipay.open.mini.shop.relation.bind request * * @author auto create * @since 1.0, 2021-01-28 11:10:20 */ class AlipayOpenMiniShopRelationBindRequest { /** * 小程序门店绑定 **/ private $bizContent; private $apiParas = array(); private $terminalType; private ...
<?php # Generated by the protocol buffer compiler. DO NOT EDIT! # source: google/container/v1/cluster_service.proto namespace Google\Cloud\Container\V1; use Google\Protobuf\Internal\GPBType; use Google\Protobuf\Internal\RepeatedField; use Google\Protobuf\Internal\GPBUtil; /** * ClusterAutoscaling contains global, ...
@extends('layouts.admin') @section('header') @include('admin.headeradmin') @endsection @section('content') @include('admin.addabouttextcontnet') @endsection
<?php /** @var \Illuminate\Database\Eloquent\Factory $factory */ use App\StockOfMonth; use Faker\Generator as Faker; $factory->define(StockOfMonth::class, function (Faker $faker) { return [ // ]; });
<?php defined('BASEPATH') OR exit('No direct script access allowed'); /* | ------------------------------------------------------------------- | DATABASE CONNECTIVITY SETTINGS | ------------------------------------------------------------------- | This file will contain the settings needed to access your database. | |...
<!doctype html> <html lang="<?php echo e(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 hr...
<?php if (!defined('BASEPATH')) exit('No direct script access allowed'); class Model_users extends MY_Model { protected $table = TBL_USERS; protected $primary_key = 'id'; public function checkPwdHash($pwd) { $userDetails = parent::fetchById(1); //Userid From session in production ...
<?php namespace System\Traits; use File; use Lang; use SystemException; trait ConfigMaker { /** * @var string Specifies a path to the config directory. */ public $configPath; protected $configFileExtension = ".php"; /** * Reads the contents of the supplied file and applies it to this...
<?php use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class CreateConnectsTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('connects', function (Blueprint $table) { ...
<?php namespace Bantenprov\PemakaianBahuJalan\Http\Controllers; use App\Http\Controllers\Controller; use Illuminate\Http\Request; use Bantenprov\PemakaianBahuJalan\Facades\PemakaianBahuJalan; use Bantenprov\PemakaianBahuJalan\Models\PemakaianBahuJalanModel; /** * The PemakaianBahuJalanController class. * * @packag...
<?php use Illuminate\Support\Facades\Schema; use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class CreateRolesTable extends Migration { public function up() { Schema::create('roles', function (Blueprint $table) { $table->increments('id'); ...
<?php namespace App\Models; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; use Illuminate\Database\Eloquent\SoftDeletes; class RestaurantOwner extends Model { use HasFactory, SoftDeletes; protected $fillable = [ 'bank_id', 'name', 'phon...
<!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"> <!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags --> <title><?= $title_p...
<?php /** * This file is part of the contentful/rich-text package. * * @copyright 2015-2021 Contentful GmbH * @license MIT */ declare(strict_types=1); namespace Contentful\RichText\NodeRenderer; use Contentful\RichText\Node\NodeInterface; use Contentful\RichText\Node\Paragraph as NodeClass; use Contentful\Ri...
<?php namespace App\Exceptions; use Exception; class PublisherNotFoundException extends Exception { protected $message = 'publisher not found'; }
<div class="panel widget vd_pie-chart-widget"> <div class="panel-heading vd_bg-red"> <h3 class="panel-title"> <span class="menu-icon"> <i class="icon-pie"></i> </span> Pie Chart </h3> <?php include(resource_path('views').'/templates/widgets/panel-menu-widget-all.blade.php'); ?> </div> <div class="panel-b...
@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">{{ __('ログイン') }}</div> <div class="card-body"> <form method="POST"...