text
stringlengths
2
1.03M
<?php namespace app\controllers; use app\models\Orderinterface; use yii\web\Controller; use yii\web\Response; use Yii; class OrderController extends Controller { //新订单1 接单并正在进行2 拒绝订单3 订单完成4 public $layout = false; public function actionIndex() { return $this->render('index'); } p...
<?php class Model_latihan1 extends CI_Model { //membuat variable untuk menampung nilai public $nilai1, $nilai2, $hasil; //method perjumlahan public function jumlah($nil1 = null,$nil2 = null) { $this->nilai1 = $nil1; $this->nilai2 = $nil2; $this->hasil = $this->nilai1 + $this...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreateUserGroupQuizSchedulesTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('...
<?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 namespace Rubix\ML\Tests\Transformers; use Rubix\ML\Transformers\Stateful; use Rubix\ML\Transformers\Transformer; use Rubix\ML\Datasets\Generators\Blob; use Rubix\ML\Transformers\IntervalDiscretizer; use PHPUnit\Framework\TestCase; use RuntimeException; /** * @group Transformers * @covers \Rubix\ML\Transform...
<?php namespace Imi\Util; /** * 数组数据基类 */ class ArrayData implements \ArrayAccess { /** * 数据 */ protected $data = array (); public function __construct($data) { $this->data = $data; } /** * 设置数据 * @param string $name * @param mixed $value ...
<?php namespace Waavi\Translation\Repositories; use Illuminate\Database\Query\JoinClause; use Illuminate\Foundation\Application; use Illuminate\Support\Arr; use Illuminate\Support\NamespacedItemResolver; use Waavi\Translation\Models\Translation; class TranslationRepository extends Repository { /** * @var \Il...
@extends('layouts.app') @section('title', 'Turmas por Curso - Adicionar') @section('content') <section class="content-header"> <h1 class="pull-left">Turmas Ativas</h1> <h1 class="pull-right"> <ol class="breadcrumb breadcrumb-fp"> <li><a href="/home"><i class="fa fa-home"></i></a></li> ...
<?php namespace RectorPrefix20210609\TYPO3\CMS\Saltedpasswords\Salt; if (\interface_exists('TYPO3\\CMS\\Saltedpasswords\\Salt\\ComposedSaltInterface')) { return; } interface ComposedSaltInterface { }
<?php namespace PicturePark\API\Normalizer; use Jane\Component\JsonSchemaRuntime\Reference; use PicturePark\API\Runtime\Normalizer\CheckArray; use Symfony\Component\Serializer\Exception\InvalidArgumentException; use Symfony\Component\Serializer\Normalizer\DenormalizerAwareInterface; use Symfony\Component\Serializer\N...
<?php /** * This file is part of the FreeDSx LDAP package. * * (c) Chad Sikorra <Chad.Sikorra@gmail.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace FreeDSx\Ldap\Protocol; use FreeDSx\Asn1\Type\AbstractType; use Fre...
<div class="card"> <form action="<?php echo site_url('search?f=true') ?>" method="GET"> <!-- Tanggal Diposting --> <div class="card-header"> <h5>Tanggal Diposting</h5> </div> <div class="card-body"> <div class="form-group"> <label for="startDate">Mulai</label> <input type="date" name="start_date...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreateModifiedUsersTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::table('users', fu...
<?php namespace Spinen\ConnectWise\Models\v2019_1\Procurement; use Carbon\Carbon; use Spinen\ConnectWise\Support\Model; /** * Class MinimumStockByWarehouse Version v2019_1 * * Model for MinimumStockByWarehouse * * @property Metadata $_info * @property WarehouseReference $warehouse * @property integer $id * @...
<?php namespace MaxGoryunov\SavingIterator\Src; /** * This class checks how many times a specified method was called. * @template T of object * @mixin T * @implements Indifferent<T> * @implements \MaxGoryunov\SavingIterator\Src\Scalar<int> */ class TimesCalled implements Indifferent, Scalar { /** * Ct...
<? class _CIBElement { var $fields; var $props=false; function GetFields() { return $this->fields; } /** * @param bool|array $arOrder * @param array $arFilter * @return array */ function GetProperties($arOrder = false, $arFilter = array()) { if($arOrder === false) $arOrder = array("sort"=>"asc"...
<?php Auth::routes(); Route::get('/','ListingsController@index')->name('listing.index'); Route::get('listing/create', 'ListingsController@create')->name('listing.create'); Route::post('listing/store','ListingsController@store')->name('listing.store'); Route::get('/listing/{listing}/edit', 'ListingsController@edit')->n...
@if (count($feed_items)) <ol class="statuses"> @foreach ($feed_items as $status) @include('statuses._status', ['user' => $status->user]) @endforeach </ol> @endif
<?php namespace App\Admin\Controllers; use App\Port; use Encore\Admin\Controllers\AdminController; use Encore\Admin\Form; use Encore\Admin\Grid; use Encore\Admin\Show; class PortController extends ResponseController { /** * Title for current resource. * * @var string */ protected $title =...
Beda Menit : {{$minutedi}} Menit </br> Beda Jam : {{$since_start->h}} Jam </br> Penalti : {{$pen}} </br> Saldo : {{$saldo}} </br> Check In : {{$tanggal_order}} </br> Check Out : {{$g}} </br> Slot ID : {{$sid}} </br> Jumlah Ticket : {{$jumlahts}} </br> Mobil : {{$te}} </br> Mobil Ticket : {{$tm}}
<?php declare(strict_types=1); namespace DoctrineMigrations; use Doctrine\DBAL\Schema\Schema; use Doctrine\Migrations\AbstractMigration; /** * Auto-generated Migration: Please modify to your needs! */ final class Version20190912070440 extends AbstractMigration { public function getDescription() : string {...
<div class="portlet box blue add-form-main"> <div class="portlet-title togglelable"> <div class="caption"> <i class="fa fa-plus"></i>Add New Beauty Service </div> <div class="tools"> <a href="javascript:;" class="expand box-expand-form"></a> </div> </div> ...
<?php namespace Environet\Sys\Xml\Model; /** * Class ErrorXmlData * * Data model for error response xml * * @package Environet\Sys\Xml\Model * @author SRG Group <dev@srg.hu> */ class ErrorXmlData { /** * @var string */ protected $code; /** * @var string */ protected $message; /** * ErrorXml...
<?php namespace Oro\Bundle\ApiBundle\Tests\Unit\Provider; use Oro\Bundle\ApiBundle\Provider\EntityAliasResolverRegistry; use Oro\Bundle\ApiBundle\Request\RequestType; use Oro\Bundle\ApiBundle\Util\RequestExpressionMatcher; use Oro\Bundle\EntityBundle\ORM\EntityAliasResolver; use Psr\Container\ContainerInterface; cla...
<?php namespace tecai\Models\User; use tecai\Models\System\Account; /** * tecai\Models\User\User * * @property integer $id * @property string $account * @property string $username * @property string $email * @property string $phone * @property boolean $age * @property boolean $sex * @property boolean $scho...
<?php /* |-------------------------------------------------------------------------- | Web Routes |-------------------------------------------------------------------------- | | Here is where you can register web routes for your application. These | routes are loaded by the RouteServiceProvider within a group which | ...
<?php /** * @since 5.5 */ interface DateTimeInterface { const ATOM = 'Y-m-d\TH:i:sP'; const COOKIE = 'l, d-M-Y H:i:s T'; const ISO8601 = 'Y-m-d\TH:i:sO'; const RFC822 = 'D, d M y H:i:s O'; const RFC850 = 'l, d-M-y H:i:s T'; const RFC1036 = 'D, d M y H:i:s O'; const RFC1123 = 'D, d M Y H:i...
@extends('Dashboard::dashboard.dashboard') @section('content-header') <!-- Navigation Starts--> @include('Dashboard::dashboard.partials.headersidebar') <!-- Navigation Ends--> @stop @section('content-area') <div class="right_col" role="main"> <div class="row"> <div class="col-md-1...
<?php /** * @package Unite Gallery * @author UniteCMS.net / Valiano * @copyright (C) 2012 Unite CMS, All Rights Reserved. * @license GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html * */ defined('_JEXEC') or die('Restricted access'); class UniteTranslateUG{ private $entries; private $domain; /** * ...
<?php echo $table; ?>
<?php namespace App; use Illuminate\Database\Eloquent\Model; class Respuesta extends Model { protected $table = 'respuestas'; protected $guarded = []; }
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreatePostsTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('posts', function ...
<?php namespace Fisdap\Data\DoctrineMigrations; use Doctrine\DBAL\Migrations\AbstractMigration; use Doctrine\DBAL\Schema\Schema; /** * Auto-generated Migration: Please modify to your needs! */ class Version20160120172511 extends AbstractMigration { /** * @param Schema $schema */ public function u...
<!DOCTYPE html> <html lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <!-- Meta, title, CSS, favicons, etc. --> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> ...
<?php /** * TMssqlTableColumn class file. * * @author Wei Zhuo <weizhuo[at]gmail[dot]com> * @link http://www.pradosoft.com/ * @copyright Copyright &copy; 2005-2013 PradoSoft * @license http://www.pradosoft.com/license/ * @version $Id: TMssqlTableColumn.php 1863 2007-04-12 12:43:49Z wei $ * @package System.Data....
<?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 /** * Copyright (c) 2013 Bart Visscher <bartv@thisnet.nl> * This file is licensed under the Affero General Public License version 3 or * later. * See the COPYING-README file. */ namespace OC\Template; abstract class ResourceLocator { protected $theme; protected $form_factor; protected $mapping; protec...
<?php namespace FondOfSpryker\Zed\CartValidation\Communication\Plugin\QuoteExtension; use Generated\Shared\Transfer\QuoteTransfer; use Spryker\Zed\Kernel\Communication\AbstractPlugin; use Spryker\Zed\QuoteExtension\Dependency\Plugin\QuoteExpanderPluginInterface; /** * @method \FondOfSpryker\Zed\CartValidation\Busin...
<?php namespace Blog; use Blog\Controller\BlogController; use Blog\Controller\Factory\BlogControllerFactory; use Blog\Controller\Factory\PostControllerFactory; use Blog\Controller\PostController; use Blog\Form\CommentForm; use Blog\Form\Factory\CommentFormFactory; use Blog\Form\Factory\PostFormFactory; use Blog\Form\...
<?php namespace App; use Illuminate\Foundation\Auth\User as Authenticatable; use Illuminate\Notifications\Notifiable; class User extends Authenticatable { use Notifiable; /** * The attributes that are mass assignable. * * @var array */ protected $fillable = [ 'name', 'email', ...
<?php $count = count($report_data['summary'])+count($report_data['details'])+count($headers)*(count($report_data['summary'])+count($report_data['details'])); $this->load->library('Excel'); $objPHPExcel = new PHPExcel(); $this->excel->getDefaultStyle() ->getAlignment() ->setHorizontal(PHPExcel_Style_Alignment::...
<?php namespace eagle\modules\order\helpers; use \Yii; //use eagle\models\SaasAmazonAutosync; use eagle\modules\platform\apihelpers\AmazonAccountsApiHelper; use common\helpers\Helper_Array; use eagle\modules\order\models\OdOrderItem; //use eagle\models\QueueAliexpressGetorder; use eagle\modules\order\models...
<?php $diff_table = new DifferentialDiff(); $conn_w = $diff_table->establishConnection('w'); $size = 1000; $row_iter = id(new LiskMigrationIterator($diff_table))->setPageSize($size); $chunk_iter = new PhutilChunkedIterator($row_iter, $size); foreach ($chunk_iter as $chunk) { $sql = array(); foreach ($chunk as ...
<?php require 'inc/header.php' ?> <?php if (!empty($_POST['email_signup']) && !empty($_POST['password1_signup']) && !empty($_POST['password2_signup']) && !empty($_POST['username_signup']) && isset($_POST['submit_signup'])) { $email = htmlspecialchars($_POST['email_signup']); $password1 = htmlspecialchars...
<?php namespace App\Providers; use Illuminate\Support\Facades\URL; use Illuminate\Support\ServiceProvider; class AppServiceProvider extends ServiceProvider { /** * Register any application services. * * @return void */ public function register() { // } /** * Boot...
@extends('layouts.app') @section('title','Fitur Bantuan') @section('content') <!-- ============================================================================================= --> <!-- sidebar --> <div class="sidebar"> <ul> <li class="list"> <a href="/orangTua/homepage_ortu"> <sp...
<?php namespace App\Models\Protocolo; use App\Models\Model; use App\Models\Protocolo\Protocolo; use App\Models\Gestao\Efetivo\User; use App\Models\Comentario; use App\Models\Protocolo\Documento; use App\Models\Gestao\Agencia\Agencia; use Illuminate\Database\Eloquent\SoftDeletes; use Spatie\Activitylog\Traits\LogsAct...
<?php namespace App\Notifications; use Illuminate\Bus\Queueable; use Illuminate\Notifications\Notification; use Illuminate\Contracts\Queue\ShouldQueue; use Illuminate\Notifications\Messages\MailMessage; class orders extends Notification { use Queueable; public $user; /** * Create a new notification in...
<?php ?> <h2>ประเภทลูกค้า</h2>
<?php /* * This file is part of the Symfony package. * * (c) Fabien Potencier <fabien@symfony.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Symfony\Component\Validator\Constraints; use Egulias\EmailValidator\Ema...
<?php /** * Magento * * NOTICE OF LICENSE * * This source file is subject to the Open Software License (OSL 3.0) * that is bundled with this package in the file LICENSE.txt. * It is also available through the world-wide-web at this URL: * http://opensource.org/licenses/osl-3.0.php * If you did not receive a co...
<?php namespace Okipa\LaravelFormComponents\Tests\Unit\Inputs\Validation; use Illuminate\Support\MessageBag; use Illuminate\Support\ViewErrorBag; use Okipa\LaravelFormComponents\Components\Textarea; use Okipa\LaravelFormComponents\Tests\TestCase; class TextareaValidationSuccessTest extends TestCase { /** @test *...
<?php namespace AlipayAop\request; /** * ALIPAY API: ant.merchant.expand.tradeorder.refund request * * @author auto create * @since 1.0, 2019-01-07 20:51:15 */ class AntMerchantExpandTradeorderRefundRequest { /** * 订单退款 **/ private $bizContent; private $apiParas = array(); private $terminalType; privat...
<?php namespace backend\controllers; use Yii; use backend\models\Tuman; use backend\models\TumanSearch; use yii\web\Controller; use yii\web\NotFoundHttpException; use yii\filters\VerbFilter; /** * TumanController implements the CRUD actions for Tuman model. */ class TumanController extends Controller { public ...
<?php namespace App\Http\Controllers\Buyer; use App\Buyer; use App\Http\Controllers\ApiController; use Illuminate\Http\Request; use App\Http\Controllers\Controller; class BuyerCategoryController extends ApiController { public function __construct() { parent::__construct(); $this->middleware('...
<?php namespace App\Repositories\Impl; interface AgentInterface { public function store($request); public function update($id,$request); }
@extends('layouts.master') @section('content') <title>Configurations</title> </head> <body class="hold-transition sidebar-mini"> <div class="wrapper"> <!-- Navbar --> <!-- /.navbar --> <!-- Content Wrapper. Contains page content --> <div class="content-wrapper"> <div class="content-header"> <div class...
<?php namespace App\Modules\Newsletter\Models; use Dimsav\Translatable\Translatable; use ProVision\Administration\AdminModel; class NewsletterContent extends AdminModel { use Translatable; public $translationForeignKey = 'newsletter_id'; protected $table = 'newsletter_content'; protected $fillable ...
<?php // Requires class productCat and product class productExchangeList{ //variables var $categoryName = ""; var $correspondingCategory = ""; var $idCategory=0; var $idGroup=0; var $subCategories = array(); var $productTable=array(); //constructors //dbColumn is the specific col...
<?php /** * Socialite Network * * @author SSN Core Developer <kkobtk@gmail.com> * @copyright (C) Carlos Pinto * @license Socialite Social Network License (SSN LICENSE) https://www.fiatex.io * @link https://www.fiatex.io */ $user = ossn_user_by_guid(input('guid')); if(!$user){ ossn_trigger_message(oss...
@extends('layouts.index') @section('title', 'Email') @section('content') <div class="container"> <div class="row justify-content-center"> <div class="col-md-8"> <div class="card"> <div class="card-header">{{ __('Reset Password') }}</div> <div class="card-body">...
{{-- <div id="backToTop"> <a href="#top"> Back to top </a> </div> <p class="pull-right"><a href="#">Back to top</a></p> --}} <a href="#0" class="back-to-top-1">Back to top</a>
<?php /* data session */ $user_id = $s_all['user_id']; $user_name = $s_all['user_name']; $user_fullname = $s_all['user_fullname']; $user_email = $s_all['user_email']; $instansi = $s_all['instansi']; $user_last_login = $s_all['user_last_login']; $user_last_activity = $s_all['user_last_activity']; $user_date_created = $...
<?php namespace App\Controllers; use Hleb\Scheme\App\Controllers\MainController; use Hleb\Constructor\Handlers\Request; use App\Models\{SubscriptionModel, PostModel, FacetModel}; use UserData; class SubscriptionController extends MainController { private $user; public function __construct() { $t...
<!-- Main Content --> <div class="main-content"> <section class="section"> <div class="section-header"> <h1><?= $title ?></h1> <div class="section-header-breadcrumb"> <div class="breadcrumb-item active"><a href="<?= base_url('Admin/Dashboard') ?>">Dash...
@extends('app') @section('content') <h1>Add a Book!</h1> <hr/> {!! Form::open(['url' => 'admin/addbook']) !!} <div class="form-group"> {!! Form::label('name', 'Name:') !!} {!! Form::text('name', null, ['class' => 'form-control']) !!} </div> <div class="form-group"> {!! Form::labe...
@extends('admin.admin') @section('content') <h1> ini codes</h1> @endsection
<div class="tab-pane fade in active"> <h2>Foto Profil</h2> <h5 class="skin-color"><?= $headline ?></h5> <?php $attributes = array('class' => 'm-form m-form--fit m-form--label-align-right'); echo form_open_multipart('store_profile/do_upload', $attributes); ?> <div class="row form-group"...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class AlterProjectsAddSlug extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::table('projects', fun...
<?php namespace App\Models\Components; use Illuminate\Database\Eloquent\Model; class UnitMeasure extends Model { protected $table='unit_measure'; protected $fillable= [ 'name', 'abbrev', 'measure_id', ]; /** * Itam belong to order */ public function measure()...
<thead> <tr class="td" bgcolor="#e5e5e5"> <th rowspan="2">NO</th> <th rowspan="2">REKENING</th> <th rowspan="2">URAIAN</th> <th rowspan="2">TANGGAL</th> <th colspan="2">MUTASI KAS</th> <th colspan="2">MUTASI MEMORIAL</th> <th rowspan="2">SALDO AKHIR</th> </tr> <tr class="td" bgcolor="#e5e5e5"> <th>DEBET</th> <...
<?php namespace App; use Illuminate\Database\Eloquent\Model; class Contato extends Model { // public function inserirContato($array){ } }
<!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', 'Laravel') }}</ti...
@extends('layouts.app') @section('content') <div class="container"> <h3 class="mb-2">{{ $doctor->name }}</h3> <img src="{{ asset($doctor->image_path) }}" height="250"/> @foreach ($doctor->specialities as $speciality) <div class="mb-1 text-muted">{{ $speciality->title }}</div> @endforeach ...
<?php namespace App; use Illuminate\Database\Eloquent\Model; use Illuminate\Notifications\Notifiable; use Illuminate\Contracts\Auth\MustVerifyEmail; use Illuminate\Foundation\Auth\User as Authenticatable; class admin extends Authenticatable { use Notifiable; }
<?php namespace App\Models; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; class Student extends Model { use HasFactory; protected $fillable = [ 'name', 'serial_number', ]; protected $visible = [ 'name', 'serial_number'...
<!doctype html> <html lang="{{ str_replace('_', '-', app()->getLocale()) }}"> <head> <meta charset="utf-12"> <meta name="viewport" content="width=device-width, initial-scale=1"> <!-- CSRF Token --> <meta name="csrf-token" content="{{ csrf_token() }}"> <title>{{ config('app.name', 'Laravel') }}</t...
<?php /** * AgentLogoff action message. * * PHP Version 5 * * @category Pami * @package Message * @subpackage Action * @author Marcelo Gornstein <marcelog@gmail.com> * @license http://marcelog.github.com/PAMI/ Apache License 2.0 * @version SVN: $Id$ * @link http://marcelog.github.com/PAM...
<?php /** * Piwik - free/libre analytics platform * * @link http://piwik.org * @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later * */ namespace Piwik\Updates; use Piwik\Config; use Piwik\Updater; use Piwik\Updates; use Piwik\Updater\Migration\Factory as MigrationFactory; /** */ class Updates_0...
<?php /** * Lenevor Framework * * LICENSE * * This source file is subject to the new BSD license that is bundled * with this package in the file license.md. * It is also available through the world-wide-web at this URL: * https://lenevor.com/license * If you did not receive a copy of the license and are unab...
<?php session_start(); require_once 'includes/smarty_dir.php'; require_once SMARTY_INCL_DIR; require_once "includes/functions.php"; // check that GET[s] equals tag, article or blog if(!isset($_GET['s']) || empty($_GET['s']) || ($_GET['s']!="tag" && $_GET['s']!="article" && $_GET['s']!="blog")){ header("Location: inde...
<?php namespace App; use Illuminate\Database\Eloquent\Model; class ReservaEstado extends Model { // }
<?php if ( ! defined( 'ABSPATH' ) ) { exit; } if ( class_exists( 'WC_REST_Connect_Account_Settings_Controller' ) ) { return; } class WC_REST_Connect_Account_Settings_Controller extends WC_REST_Connect_Base_Controller { protected $rest_base = 'connect/account/settings'; /* * @var WC_Connect_Payment_Methods_St...
<?php namespace App\Http\Controllers\API; use App\Category; use App\Http\Controllers\Controller; use Illuminate\Http\Request; class CategoriesAPIController extends Controller { /** * Display a listing of the resource. * * @return \Illuminate\Http\Response */ public function index(Request ...
<?php declare(strict_types=1); /* * This file is part of Alt Three Badger. * * (c) Alt Three Services Limited * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace AltThree\Tests\Badger; use GrahamCampbell\Analyzer\Analysis...
<?php return [ 'interfaces' => [ 'google.cloud.dialogflow.v2.Environments' => [ 'CreateEnvironment' => [ 'method' => 'post', 'uriTemplate' => '/v2/{parent=projects/*/agent}/environments', 'body' => 'environment', 'additionalBinding...
<?php /** * Created by PhpStorm. * User: eric.kubenka * Date: 26.02.14 * Time: 12:21 */ class UserModel { public $id; public $name; public $password; public $email; private $dbuser; public function load($id) { $this->dbuser = User::find($id); if(!is_null($this->dbuser...
<?php /** * @version 3.2.0 * @package com_secretary * * @author Fjodor Schaefer (schefa.com) * @copyright Copyright (C) 2015-2017 Fjodor Schaefer. All rights reserved. * @license MIT License * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this softwa...
<div class="content-wrapper"> <!-- Content Header (Page header) --> <section class="content-header"> <h1> <center style="color:navy;">Keterlambatan Siswa SMP Yogyakarta<br></center> <center><small>Tahun Ajaran 2016-2017</small></center> </h1> <ol class="breadcrumb"> <!-- <li ><...
<!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"> <<<<<<< HEAD <title>Laravel Quickstart - Intermediate</title> ======= <title>Laravel Quickstart - Basic</title> >>>>>>> eb3f04ce...
<?php /** * PHPMailer RFC821 SMTP email 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 Andy ...
<?php declare(strict_types = 1); namespace SandwaveIo\EppClient\Tests\Responses; use PHPUnit\Framework\TestCase; use SandwaveIo\EppClient\Epp\Rfc\Document; use SandwaveIo\EppClient\Epp\Rfc\Responses\ContactCheckResponse; class ContactCheckResponseTest extends TestCase { public function test_response(): void ...
<?php require(QCUBED_PROJECT_MODEL_GEN_DIR . '/StatusGen.php'); /** * The Status class defined here contains any * customized code for the Status class in the * Object Relational Model. It represents the "status" table * in the database, and extends from the code generated abstract StatusGen * class, whic...
<?php use App\Comment; use App\Doc; use App\Koochro; use App\Post; use App\Saabet; use App\School; use App\User; use Illuminate\Support\Str; use Faker\Generator as Faker; $factory->define(Post::class, function (\Faker\Generator $faker) { $date = time(); return [ 'user_id' => $faker->numberBetween(1,...
<?php namespace App\Http\Controllers; use App\Support\AppController; use GuzzleHttp\Client; use Illuminate\Support\Facades\Cache; class RoadMapController extends AppController { /** * @var Client */ protected $client; /** * @var array */ private $users = ['bencagri', 'ikidnapmyse...
<?php declare(strict_types=1); namespace Linio\Component\Cache\Encoder; interface EncoderInterface { /** * @param mixed $value */ public function encode($value): string; /** * @param mixed $value * * @return mixed */ public function decode($value); }
<?php /** * ---------------------------------------------------------------------- * * Copyright (c) 2006-2016 Khaled Al-Sham'aa. * * http://www.ar-php.org * * PHP Version 5 * * ---------------------------------------------------------------------- * * LICENSE * * This program is open source product; you c...
<?php $autoload = null; foreach ([__DIR__.'/../vendor/autoload.php', __DIR__.'/../../../vendor/autoload.php'] as $file) { if (file_exists($file)) { $autoload = $file; break; } } if ($autoload) { require_once $autoload; } else { throw new \LogicException('Composer autoload was not foun...
<style> th{ font-size:14px !important; font-weight: bold !important; text-align:center !important; margin : 0 auto; vertical-align:middle !important; } td{ font-size:12px !important; font-weight: normal !important; } .flexigrid div.pDiv input { vertical-align:middle !important; } .flexigrid...
<?php namespace App\Http\Controllers; use Carbon\Carbon; use Illuminate\Http\Request; use App\Http\Requests; use seregazhuk\PinterestBot\Factories\PinterestBot; class PinterestController extends Controller { public function index() { $bot = PinterestBot::create(); // Login $bot->...