text
stringlengths
2
1.03M
<?php declare(strict_types=1); namespace mikemadisonweb\rabbitmq\components; use mikemadisonweb\rabbitmq\exceptions\RuntimeException; use PhpAmqpLib\Channel\AMQPChannel; use PhpAmqpLib\Connection\AbstractConnection; use PhpAmqpLib\Exception\AMQPProtocolChannelException; use yii\helpers\ArrayHelper; class Routing { ...
<?php return [ 'DYNAMICSBASEURL' => env('DYNAMICSBASEURL',null), 'DYNAMICS_USERNAME' => env('DYNAMICS_USERNAME',null), 'DYNAMICS_PASSWORD' => env('DYNAMICS_PASSWORD',null) ];
<!-- Start footer content --> <footer class="footer-content"> <span id="tour-19"> 2016 - <span id="copyright-year"></span> &copy; Blankon Admin. Created by <a href="#" target="_blank">Djava UI</a>, Yogyakarta ID </span> ...
@extends('layouts.backend.app') @section('title','Student Registration') @push('css') @endpush @section('content') <div class="content-wrapper"> <section class="content-header"> <div class="container-fluid"> <div class="row mb-2"> <div class="col-sm-6"> <h1>Manage Student Registration...
<?php /** * This file is part of the SgDatatablesBundle package. * * (c) stwe <https://github.com/stwe/DatatablesBundle> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Sg\DatatablesBundle\Generator; use Sensio\Bundle\...
<!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>{{ config('app.name', 'Horoscope') }}</...
<?php /** * The template for displaying all single posts * * @link https://developer.wordpress.org/themes/basics/template-hierarchy/#single-post * * @package team02 */ get_header(); ?> <div id="primary" class="content-area"> <main id="main" class="site-main"> <?php while ( have_posts() ) : the_post()...
<?php /** * Created by PhpStorm. * User: srs2 * Date: 25/05/2015 * Time: 06:58 */ namespace App\Console\Commands; use App\Lib\Company; use App\Lib\CompanyConfiguration; use App\Lib\CompanyGateway; use App\Lib\CronHelper; use App\Lib\CronJob; use App\Lib\CronJobLog; use App\Lib\Service; use App\Lib\TempUsageDeta...
<?php namespace LXS\CCL\db; function open_db() { return new \PDO( sprintf('mysql:host=%s;dbname=%s;port=%s;charset=%s', DB_HOST, DB_NAME, DB_PORT, DB_CHARSET ), DB_USER, DB_PASSWORD ...
<?php use common\grid\EnumColumn; use common\models\WidgetMenu; use yii\grid\GridView; use yii\helpers\Html; /** * * @var $this yii\web\View * @var $searchModel \backend\modules\widget\models\search\MenuSearch * @var $dataProvider yii\data\ActiveDataProvider * @var $model common\models\WidgetMenu */ $this->titl...
<?php namespace App; use Illuminate\Database\Eloquent\Model; class Userskills extends Model { protected $table = 'Userskills'; public function skill(){ return $this -> belongsTo('App\Skills','id_skill','id'); } public function user(){ return $this -> belongsTo('App\Users','id_user','i...
<?php use Illuminate\Support\Facades\Schema; use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class Likes extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('likes', function(Blueprint $...
<?php namespace Fjord\Fjord\Discover; use Exception; use Illuminate\Support\Facades\File; use Illuminate\Filesystem\Filesystem; use Illuminate\Foundation\PackageManifest; use Illuminate\Foundation\Console\PackageDiscoverCommand as LaravelPackageDiscoverCommand; class PackageDiscoverCommand extends LaravelPackageDisc...
<?php const N = 100000; function test() { global $timers; shuffle($timers); $stime = microtime(true); foreach($timers as $id) { swoole_timer_clear($id); } $etime = microtime(true); echo "del ".N." timer :". ($etime - $stime)."s\n"; } class TestClass { static function timer(...
<?php namespace App\Http\Controllers\User; use App\Http\Controllers\Controller; use App\Models\ShipDistrict; use App\Models\ShipState; use Gloudemans\Shoppingcart\Facades\Cart; use Illuminate\Http\Request; class CheckoutController extends Controller { //Get District Data public function GetDistrictData($divi...
<?php // autoload_classmap.php @generated by Composer $vendorDir = dirname(dirname(__FILE__)); $baseDir = dirname($vendorDir); return array( 'App\\Console\\Kernel' => $baseDir . '/app/Console/Kernel.php', 'App\\Events\\ChatPusher' => $baseDir . '/app/Events/ChatPusher.php', 'App\\Exceptions\\Handler' => ...
<?php defined('SYSPATH') or die('No direct script access.'); $config = array(); /** * Define which email driver to send emails with. * * Options include: 'test', 'sendmail', 'swiftmailer', etc. * */ $config['driver'] = 'test'; /** * Each driver may have additional configuration options that can * be passed i...
@extends('layouts.app') @section('content') <h1>{{$title}}</h1> @if(count($services) > 0) <ul class="list-group"> @foreach($services as $service ) <li class="list-group-item">{{$service}}</li> @endforeach </ul> @endif @endsection
<?php namespace App\Repositories\DryClean; use App\Models\DryClean; interface DryCleanRepositoryInterface { public function index(); public function store(array $data); public function update(array $data, DryClean $object); public function delete(DryClean $object); }
<?php namespace uCMS; use Exception; use ArrayAccess; use Iterator; /** * Exception thrown when something goes wrong with the configuration. */ class ConfigException extends Exception { } /** * A class wrapper representing read-only structured config. */ class Config implements ArrayAccess, Iterator { /** ...
<?php use Illuminate\Support\Facades\Schema; use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class CreateJobOfferCondition extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('job_offer_...
<?php /* traits.twig */ class __TwigTemplate_66af7dc1176a4613368e35c74d5db6361ed5d10538e54f767410cfdb03a7bd1b extends Twig_Template { public function __construct(Twig_Environment $env) { parent::__construct($env); // line 1 $this->parent = $this->loadTemplate("layout/layout.twig", "tra...
<?php /** * Container Options for Astra theme. * * @package Astra * @author Brainstorm Force * @copyright Copyright (c) 2020, Brainstorm Force * @link https://www.brainstormforce.com * @since 1.4.3 */ if ( ! defined( 'ABSPATH' ) ) { exit; } if ( ! class_exists( 'Astra_Lifter_Container...
<?php declare(strict_types=1); namespace Stratadox\Json\Test\Monkey\Data; use function count; use Faker\Factory; use Faker\Generator; use function json_encode; use function random_int; use Stratadox\Json\Json; trait ManyRandomJsonInputs { private static $SAFEGUARD = 3; public function randomJsonObjectsAndSt...
<?php use yii\helpers\Html; use yii\grid\GridView; use yii\widgets\Pjax; /* @var $this yii\web\View */ /* @var $searchModel app\models\RegionalSearch */ /* @var $dataProvider yii\data\ActiveDataProvider */ $this->title = Yii::t('app', 'Regionals'); $this->params['breadcrumbs'][] = $this->title; ?> <div class="regiona...
<?php namespace metastore; /** * Autogenerated by Thrift Compiler (0.13.0) * * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING * @generated */ use Thrift\Base\TBase; use Thrift\Type\TType; use Thrift\Type\TMessageType; use Thrift\Exception\TException; use Thrift\Exception\TProtocolException; use...
<?php namespace Teamnfc\Providers; use Illuminate\Routing\Router; use Illuminate\Foundation\Support\Providers\RouteServiceProvider as ServiceProvider; class RouteServiceProvider extends ServiceProvider { /** * This namespace is applied to the controller routes in your routes file. * * In addition, it is set a...
<?php use Illuminate\Support\Facades\Schema; use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class AddToUsersTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::table('users', function (B...
<?php namespace Database\Seeders; use Illuminate\Support\Facades\DB; use App\Models\Events; use Illuminate\Database\Seeder; use App\Models\User; class EventsSeeder extends Seeder { /** * Run the database seeds. * * @return void */ public function run() { Events::factor...
<?php namespace DenizTezcan\AmazonMws; use DenizTezcan\AmazonMws\AmazonOutboundCore; /** * Copyright 2013 CPI Group, LLC * * 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 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 /** * Copyright © Magento, Inc. All rights reserved. * See COPYING.txt for license details. */ use \Magento\Framework\Component\ComponentRegistrar; ComponentRegistrar::register(ComponentRegistrar::MODULE, 'Magento_Quote', __DIR__);
<?php namespace App\Http\Controllers; use App\Category; use App\UploadedPicture; use App\User; use Carbon\Carbon; use Illuminate\Http\Request; use App\Http\Requests; use App\Http\Controllers\Controller; use Illuminate\Support\Facades\Auth; use Illuminate\Support\Facades\Input; use Illuminate\Support\Facades\Redirec...
<?php return [ '5' => 'Ao assinar a nossa newsletter, o seu endereço eletrónico é acrescentado à lista de endereços da Semana Europeia da Programação, que é gerida por Mailerlite.com. leia a política de privacidade da Mailerlite: Https://www.mailerlite.com/legal/privacy-policy. Pode optar por não receber a ne...
<!DOCTYPE html> <html lang="en"> <!-- Mirrored from thememinister.com/crm/login.html by HTTrack Website Copier/3.x [XR&CO'2014], Sun, 02 Jun 2019 11:09:03 GMT --> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-...
@extends('layouts.app') @section('title') @parent Редактировать категорию $category->name @endsection @section('content') <div class="content"> <h1>Редактирование категории {{ $category->name }}</h1> <form method="post" action="{{ route('categories.update', $category) }}" enctype="multipart/fo...
<?php namespace App\Http\Requests; use App\Models\HojasDeVidaMantenimiento; use Gate; use Illuminate\Foundation\Http\FormRequest; use Illuminate\Http\Response; class StoreHojasDeVidaMantenimientoRequest extends FormRequest { public function authorize() { return Gate::allows('hojas_de_vida_mantenimien...
<?php namespace App; use Illuminate\Database\Eloquent\Model; class Film extends Model { public function critics() { return $this->hasMany('App\Critic'); } public function genre(){ return $this->belongsTo('App\Genre'); } public function actors(){ return $this->belongsToMa...
<?hh /* Prototype : proto string rawurldecode(string str) * Description: Decodes URL-encodes string * Source code: ext/standard/url.c * Alias to functions: */ // NB: basic functionality tested in tests/strings/001.phpt function test_error_handler($err_no, $err_msg, $filename, $linenum, $vars) { echo "Error: ...
@extends('layouts.app') @section('content') <x-content-header title="Eszköz pozíciók"> <li class="breadcrumb-item"><a href="/">IT-Assets</a></li> <li class="breadcrumb-item">Törzsadatok</li> <li class="breadcrumb-item">Eszköz pozíciók</li> <li class="breadcrumb-item active">{{ $mod...
<?php declare(strict_types=1); namespace Tests\Commands\Upgrade\V6_0_0; class CommandTest extends \Tests\Commands\Upgrade\TestCase { public function testCommand() { $this->artisan('upgrade:v6.0.0'); $this->assertDatabaseHas('migrations', [ 'migration' => '2019_08_19_000000_create...
<?php defined('BASEPATH') OR exit('No direct script access allowed'); ?><!DOCTYPE html> <html lang="id-ID"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title><?php echo get_store_name(); ?></title> <link href="<?php echo get...
@if(session('status')) <div class="alert alert-primary alert-dismissible fade show" role="alert"> {{session('status')}} <button type="button" class="closre" data-dismiss="alert" aria-label="Close"> <span aria-hidden="true">&times;</span> </button> </div> @endif
<?php /* * This file is part of the Chameleon System (https://www.chameleonsystem.com). * * (c) ESONO AG (https://www.esono.de) * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace ChameleonSystem\CoreBundle\SanityCheck; us...
<?php /* * Copyright 2014 Google 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 agreed t...
<?php defined('BASEPATH') OR exit('No direct script access allowed'); class Profile extends AUTH_Controller { public function __construct() { parent::__construct(); $this->load->model('M_admin'); } public function index() { $data['userdata'] = $this->userdata; $data['page'] = "profile"; $data['ju...
<?php declare(strict_types=1); namespace Dgame\Type; final class FloatType extends NumberType { public function isAssignable(Type $other): bool { return $other instanceof $this || $other instanceof IntType; } public function cast(mixed $value): float { return is_numeric($value) ?...
<?php defined('BASEPATH') or exit('No direct script access allowed'); require APPPATH . 'core/Api_Controller.php'; class Keramba extends Api_Controller { public function __construct() { parent::__construct(); $this->load->model('Keramba_model'); } private function responseError($e) ...
<?php namespace App\Providers; use Laravel\Passport\Passport; use Illuminate\Support\Facades\Gate; use Illuminate\Foundation\Support\Providers\AuthServiceProvider as ServiceProvider; use Carbon\Carbon; class AuthServiceProvider extends ServiceProvider { /** * The policy mappings for the application. * ...
<?php class Transaksi_Model extends CI_Model{ public function insertTransaksi(){ $data = [ 'id_transaksi' => '', 'id_user' => $this->input->post('id_user'), 'id_order' => $this->input->post('id_order'), 'tanggal' => date('Y-m-d'), 'total_bayar' ...
<?session_start()?> <div class="signup-form" ng-class="signup()"> <h1>Welcome to <strong>TestCasino</strong>!</h1> <h4>Register Now and Enjoy our Exciting Games!</h4> <form name="signUpForm" novalidate ng-submit="processForm()"> <!--<pre>{{signForm.$valid}}</pre> <pre>{{signUpForm.$valid}}<...
<?php namespace Google\AdsApi\AdWords\v201802\rm; /** * This file was generated from WSDL. DO NOT EDIT. */ class UserListLogicalRule { /** * @var string $operator */ protected $operator = null; /** * @var \Google\AdsApi\AdWords\v201802\rm\LogicalUserListOperand[] $ruleOperands */ ...
<?php namespace Site\BackendBundle\Entity\Repository; /** * SliderRepository * * This class was generated by the Doctrine ORM. Add your own custom * repository methods below. */ class SliderRepository extends \Doctrine\ORM\EntityRepository { public function getLastByNumber($number){ return $this->cre...
<?php require_once __DIR__ . '/../vendor/autoload.php';; require_once __DIR__."/../vendor/harishankar/factom-api-php/config.php"; use Factom\Api\Commits; /* Commits */ $commitEntry = Commits::commitEntry("00015507C1024BF5C956749FC3EBA4ACC60FD485FB100E601070A44FCCE54FF358D60669854734013B6A27BCCEB6A42D62A3A8D02A6F0D736...
<?php use yii\helpers\Html; /* @var $this yii\web\View */ /* @var $model backend\models\PlanosNutricao */ $this->title = 'Update Planos Nutricao: ' . $model->IDPlanoNutricao; $this->params['breadcrumbs'][] = ['label' => 'Planos Nutricaos', 'url' => ['index']]; $this->params['breadcrumbs'][] = ['label' => $model->IDP...
<?php namespace Oro\Bundle\MessageQueueBundle\Tests\Functional\Security; use Oro\Bundle\MessageQueueBundle\Consumption\Exception\InvalidSecurityTokenException; use Oro\Bundle\MessageQueueBundle\Security\SecurityAwareConsumptionExtension; use Oro\Bundle\MessageQueueBundle\Security\SecurityAwareDriver; use Oro\Bundle\S...
@extends('layouts.menu') @section('title')My Photos @stop @section('content') <script type="text/javascript">document.getElementById('navbar-display').style.display = 'block';</script> <script type="text/javascript"> $(document).ready(function() { $("select").select2({dropdownCssClass: 'drop...
<?php namespace App\Entity; use App\Repository\PersonRepository; use Doctrine\Common\Collections\ArrayCollection; use Doctrine\Common\Collections\Collection; use Doctrine\ORM\Mapping as ORM; /** * @ORM\Entity(repositoryClass=PersonRepository::class) */ class Person { /** * @ORM\Id() * @ORM\GeneratedV...
<?php //--------------------------------------------------------------------------------------------------- // Proyecto: Icasus // Archivo: procesos/proceso_listar.php // Desarrolladores: Juanan Ruiz (juanan@us.es), Jesus Martin Corredera (jjmc@us.es), // Joaquín Valonero Zaera (tecnibus1@us.es) //-------------------...
<?php namespace DemandeBundle\Entity; use Doctrine\ORM\Mapping as ORM; use Symfony\Component\Validator\Constraints as Assert; /** * Reponse * @ORM\Table() * @ORM\Entity */ class Transfert { /** * @var integer * @ORM\Column(name="id", type="integer") * @ORM\Id * @ORM\GeneratedValue(strate...
<?php use yii\helpers\Html; use yii\widgets\DetailView; /* @var $this yii\web\View */ /* @var $model common\models\Consumer */ $this->title = $model->id; $this->params['breadcrumbs'][] = ['label' => 'Consumers', 'url' => ['index']]; $this->params['breadcrumbs'][] = $this->title; \yii\web\YiiAsset::register($this); ?...
<?php namespace Example\Services\Examples\eSignature; use DocuSign\eSign\Client\ApiException; use DocuSign\eSign\Model\EnvelopeDocumentsResult; class EnvelopeDocsService { /** * Do the work of the example * 1. Call the envelope documents list method * * @param $args array * @param $clie...
<?php /** * @copyright Copyright Victor Demin, 2015 * @license https://github.com/ruskid/yii2-csv-importer/LICENSE * @link https://github.com/ruskid/yii2-csv-importer#README */ namespace common\components\CSV; /** * Little CSV import helper for Yii2 * @author Victor Demin <demin@trabeja.com> */ class CSVImpo...
<?php namespace Plugins\Posts; use App\Models\UsersModel; use Tinkle\Plugins; use Tinkle\Request; use Tinkle\Response; /** * Class Posts * @package Plugins\Posts */ class Posts extends Plugins { public function newPost(array $data) { return "Post Created With : ". implode(',', $data); } ...
<?php namespace App\Http\Controllers; use App\Events\PrivateChat; use App\Models\Messages; use App\Models\Room; use App\Models\RoomUser; use App\Models\User; use http\Message; use Illuminate\Http\Request; class ChatController extends Controller { public function index(Room $room) { return view('chat...
<?hh /* * Copyright (c) 2004-present, Facebook, Inc. * All rights reserved. * * This source code is licensed under the MIT license found in the * LICENSE file in the hphp/hsl/ subdirectory of this source tree. * */ /** * C is for Containers. This file contains functions that run a calculation * over conta...
@extends('Layout.app') @section('title','Photo Gallery') @section('content') <div class="container-fluid m-0 "> <div class="row"> <div class="col-md-12"> <button data-toggle="modal" data-target="#PhotoModal" id="addNewPhotoBtnId" class="normal-btn">Add New </button> ...
<?php use Illuminate\Database\Seeder; use Illuminate\Support\Facades\Hash; use App\User; use App\Role; class UserTableSeeder extends Seeder { public function run() { $user = new User; $user->name = 'Samuel Jackson'; $user->email = 'samueljackson@jackson.com'; $user->password = ...
<div class="list-secondary-action dropdown"> <button class="btn btn-app-round-icon btn-app-icon-default dropdown-toggle" type="button" data-toggle="dropdown"> <span class="glyphicon glyphicon-option-vertical"></span> </button> <ul class="dropdown-menu dropdown-menu-right"> @if (\Gate::denies('view', 'tests')) ...
a:3:{i:0;a:10:{s:2:"id";s:1:"1";s:3:"cid";s:1:"1";s:8:"parentid";s:1:"0";s:5:"label";s:6:"首页";s:6:"target";s:0:"";s:4:"href";s:13:"/web/daikaun/";s:4:"icon";s:0:"";s:6:"status";s:1:"1";s:9:"listorder";s:1:"0";s:4:"path";s:3:"0-1";}i:1;a:10:{s:2:"id";s:1:"2";s:3:"cid";s:1:"1";s:8:"parentid";s:1:"0";s:5:"label";s:12:"列表演...
<?php // Fields to process $settingsSelectedFields = Array(); $settingsSelectedFields['gbifid'] = TRUE; $settingsSelectedFields['class'] = TRUE; $settingsSelectedFields['order'] = TRUE; $settingsSelectedFields['family'] = TRUE; $settingsSelectedFields['species'] = TRUE; //$settingsSelectedFields['countrycode'] = TRUE...
<?php /** * This file is part of the Spryker Suite. * For full license information, please view the LICENSE file that was distributed with this source code. */ namespace Orm\Zed\SalesConfigurableBundle\Persistence; use Spryker\Zed\SalesConfigurableBundle\Persistence\Propel\AbstractSpySalesOrderConfiguredBundleIte...
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; use Illuminate\Support\Facades\DB; use App\Job; use App\Race; use App\Weapon; use App\Shield; use App\Headgear; use App\Bodygear; use App\Handgear; use App\Waistgear; use App\Leggear; use App\Feetgear; use App\Earringgear; use App\Necklacegear; use Ap...
<?php /** * WooCommerce Modules: ET_Builder_Module_Woocommerce_Rating class * * The ET_Builder_Module_Woocommerce_Rating Class is responsible for rendering the * Rating markup using the WooCommerce template. * * @package Divi\Builder * * @since 3.29 */ /** * Class representing WooCommerce Rating component....
<?php /** * 配置账号信息 */ class WxPayConfig { //=======【基本信息设置】===================================== // /** * TODO: 修改这里配置为您自己申请的商户信息 * 微信公众号信息配置 * * APPID:绑定支付的APPID(必须配置,开户邮件中可查看) * * MCHID:商户号(必须配置,开户邮件中可查看) * * KEY:商户支付密钥,参考开户邮件设置(必须配置,登录商户平台自行设置) * 设置地址:https://pay.weixin.qq.com/index.php/acc...
<?php namespace Tests\Builders\Overrides; use Doctrine\ORM\Mapping\Builder\ClassMetadataBuilder; use Doctrine\ORM\Mapping\ClassMetadataInfo; use Doctrine\ORM\Mapping\DefaultNamingStrategy; use Doctrine\ORM\Mapping\MappingException; use InvalidArgumentException; use AdroSoftware\Fluent\Builders\Overrides\AttributeOver...
<?php namespace AppBundle\Entity; use Doctrine\ORM\Mapping as ORM; /** * Categorie * * @ORM\Table(name="categorie") * @ORM\Entity(repositoryClass="AppBundle\Repository\CategorieRepository") */ class Categorie { /** * @var int * * @ORM\Column(name="id", type="integer") * @ORM\Id * @O...
<?php namespace App\Http\Controllers\Reprint; use App\ChildIdentityCard; use App\Data\PdfData; use App\enums\Document; use App\enums\ReprintType; use App\Http\Controllers\Controller; use Barryvdh\DomPDF\Facade as PDF; use Carbon\Carbon; use Illuminate\Database\Eloquent\Builder; use Illuminate\Http\Request; use Illumi...
<?php use App\Models\SchoolClass; use Illuminate\Database\Seeder; class SeminarSeeder extends Seeder { /** * Run the database seeds. */ public function run() { $schoolClasses = SchoolClass::all(); factory(App\Models\Seminar::class, 50)->withoutEvents()->create()->each(function ($...
<?php namespace Massive\Bundle\BuildBundle\Tests\DependencyInjection\Compiler; use Massive\Bundle\BuildBundle\DependencyInjection\Compiler\BuilderPass; use Matthias\SymfonyDependencyInjectionTest\PhpUnit\AbstractCompilerPassTestCase; use Symfony\Component\DependencyInjection\ContainerBuilder; use Symfony\Component\De...
<?php defined('BASEPATH') OR exit('No direct script access allowed'); class Devmenumodel extends CI_Model { private $table_prefix = ""; public function get($table){ $this->load->database(); $result = $this->db->get($this->table_prefix."".$table); $this->db->close(); return $result; } public function select...
<?php namespace Omnipay\Revpay\Message; use Omnipay\Common\Message\ResponseInterface; abstract class AbstractRequest extends \Omnipay\Common\Message\AbstractRequest { public function setVerifySignature($parameter) { return $this->setParameter('verify_signature', $parameter); } public functio...
<!-- Content Header (Page header) --> <section class="content"> <div class="row"> <div class="col-xs-12"> <div class="box"> <div class="box-header"> <h4><?php echo $this->template_view->nama_menu('nama_menu'); ?></h4> <h5><?php echo $this->template_view->nama_menu('judul_menu'); ?></h5> ...
<?php namespace backend\models; use Yii; /** * This is the model class for table "user". * * @property int $id * @property string $username * @property int $role * @property string $auth_key * @property string $password_hash * @property string $password_reset_token * @property string $email * @property int...
<?php $__env->startSection('content'); ?><p>He's the handsome design judge on The Block who never seems to age a day.</p> <p>And it appears fans of Darren Palmer are questioning if the popular judge has undergone a renovation of his own to maintain his youthful visage.</p> <p>According to Woman's Day, fans of the int...
<div class="col l2"> <ul id="tabs-animais" class="tabs tabs-vertical"> <li class="tab col l3 s6"><a class="active" href="#especie">Espécie</a></li> <li class="tab col l3 s6"><a href="#raca">Raça</a></li> <li class="tab col l3 s6"><a href="#porte">Porte</a></li> <li class="tab col l3 ...
<form action="{{ $attributes->get('action') }}" method="post" id="card-form"> @csrf <div class="form-group"> <label for="card-holder-name">Name on card</label> <input type="text" name="name" id="card-holder-name" class="form-control"> </div> <div class="form-group"> <label for="...
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; use App\Messages; class HomeController extends Controller { /** * Create a new controller instance. * * @return void */ public function __construct() { $this->middleware('auth'); } /** * Show the ...
<?php /* Cachekey: cache/stash_default/doctrine/[concrete\core\entity\statistics\usagetracker\stackusagerecord$block_id@[annot]][1]/ */ /* Type: array */ /* Expiration: 2022-02-06T00:52:22-05:00 */ $loaded = true; $expiration = 1644126742; $data = array(); /* Child Type: array */ $data['return'] = unserialize(bas...
<?php use Illuminate\Database\Migrations\Migration; class AddTrashedColumnToColumnItems extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::table( 'column_items', function( $table ) { $table->boolean( 'trashed' )->default( '0' )->after( 'id' ); }); } ...
<html> <body> <div class="row page-titles"> <div class="col-md-5 align-self-center"> <h3 class="text-themecolor">Laporan</h3> </div> <div class="col-md-7 align-self-center"> <ol class="breadcrumb"> <li class...
<?php return [ [ 'icon' => 'fa fa-chart-pie', 'crud' => 'home', 'route' => 'home', ], [ 'icon' => 'fa fa-cog', 'name' => 'configuration', 'submenu' => [ [ 'name' => 'permissions', 'submenu' => [ ...
<?php namespace backend\controllers; use Yii; use common\models\Migration\Migration; use common\models\Migration\MigrationSearch; use yii\web\Controller; use yii\web\NotFoundHttpException; use yii\filters\VerbFilter; /** * MigrationController implements the CRUD actions for Migration model. */ class MigrationContr...
@extends('main') @section('content') <div class='row'> <div class='col-md-12 picture'> <div class='card'> <div class='panel-body'> @include('pictures.error_form') {!! Form::open(['url'=>'edit_employee ','class'=>'form-horizontal']) !!} {{ method_...
<!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>SB Admin 2 - Dashboard</t...
<?php /*********************************************** * This file is part of PeoplePods * (c) xoxco, inc * http://peoplepods.net http://xoxco.com * * theme/messages/thread_short.php * Default output template for a thread in the inbox * * * Documentation for this pod can be found here: * http://peoplepods.net/readme/...
<?php defined('BASEPATH') OR exit('No direct script access allowed'); /** * Database Schema Model */ class DatabaseSchema_model extends CI_Model{ function __construct(){ parent::__construct(); } function searchDatabaseSchemaByCriteria($projectId, $dbSchemaStatus){ $where[] = "di.projectId = ".$projectId." ";...
<?php namespace backend\models\Apple\Action; interface Eat { public function eat($pieceSize); }
<!--main content start--> <section class="main-content-wrapper"> <section id="main-content"> <div class="row"> <div class="col-md-12"> <!--breadcrumbs start --> <ul class="breadcrumb"> <li...
<?php namespace App; use Illuminate\Database\Eloquent\Model; class BiodataPegawai extends Model { // }