text
stringlengths
2
1.03M
<?php namespace App\Transformer; use App\Author; use League\Fractal\TransformerAbstract; class AuthorTransformer extends TransformerAbstract { public function transform(Author $author) { return [ 'id' => (int) $author->id, 'name' => $author->name, 'biography' => $a...
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta content="text/html; charset=ISO-8859-1" http-equiv="content-type"> <title>SKIM - Contract Expiry (Final Reminder)</title> <style type="text/css"> th { font-family: Arial, Helvetica, sans-serif; font-size: 12px; color: #000000; ...
<?php // +---------------------------------------------------------------------- // | ThinkPHP [ WE CAN DO IT JUST THINK IT ] // +---------------------------------------------------------------------- // | Copyright (c) 2006-2014 http://thinkphp.cn All rights reserved. // +----------------------------------------------...
<?php namespace App\Http\Controllers\Auth; use App\Http\Controllers\Links\LinksIndexController; use App\Models\User; use Illuminate\Foundation\Auth\RegistersUsers; use Illuminate\Foundation\Validation\ValidatesRequests; use Illuminate\Support\Facades\Hash; use Illuminate\Support\Facades\Validator; use Spatie\Mailcoac...
<?php namespace Modules\Backend\Http\Controllers; use Illuminate\Http\Request; use App\Http\Controllers\Controller; use Auth; class BackendLoginController extends Controller { public function __contruct() { $this->middleware('guest:backend', ['except' => ['logout']]); } public function showLoginForm() ...
<?php //print_r('test'); exit; if (!@$availability) { echo('Not Available'); } else { ?> <div class="selected-date"><?php echo(date('l, F d, Y', @$date_title)); ?></div> <table class="tbl-booking"> <thead> <tr> <th class="text-center trn" data-trn-key="starttm">START ...
<?php declare(strict_types = 1); namespace SlevomatCsobGateway\Call\MallPay; use DateTimeImmutable; use InvalidArgumentException; use SlevomatCsobGateway\Api\ApiClient; use SlevomatCsobGateway\Call\PaymentResponse; use SlevomatCsobGateway\Call\PaymentStatus; use SlevomatCsobGateway\Call\ResultCode; use SlevomatCsobGa...
<?php namespace Jaunas\Mikrotag; use Attribute; #[Attribute] class Field { public function __construct( private ?string $name = null, private ?string $itemType = null, ) { } public function getName(): ?string { return $this->name; } public function getItemType():...
<?php namespace App\Http\Controllers\Dashboard\Investimentos; use App\Http\Controllers\Controller; use App\Model\Investimentos; use Illuminate\Http\Request; use Illuminate\Support\Facades\Redirect; use Illuminate\Support\Facades\Session; class DeletarInvestimentosController extends Controller { /** * Remov...
<?php class VariadicBug { /** * @param string $a * @param int[]|string[] $arguments */ public static function nonvaradic($a, $arguments) { printf("%s\n", json_encode($arguments)); } /** * @param string $a * @param int|string ...$arguments */ public static func...
#!hashbang #!hashbang <?php var_dump(true);
<?php /** * Pagination - Show numbered pagination for jobs * * Override this template by copying it to yourtheme/simple_job_board/v2/listing/listing-wrapper-start.php * * @author PressTigers * @package Simple_Job_Board * @subpackage Simple_Job_Board/templates/listing * @version 1.0.0 * @since ...
<?php namespace Tests\Feature; use Illuminate\Foundation\Testing\RefreshDatabase; use Illuminate\Container\Container; use Illuminate\Http\UploadedFile; use Illuminate\Support\Facades\Storage; use Tests\TestCase; use Faker\Generator; use Str; use App\Model\Machine; use App\Model\Map; use App\Model\Account; class Robo...
<?php /** * CakePHP(tm) : Rapid Development Framework (http://cakephp.org) * Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org) * * Licensed under The MIT License * For full copyright and license information, please see the LICENSE.txt * Redistributions of files must retain the above copyrig...
<?php use Illuminate\Database\Seeder; class DatabaseSeeder extends Seeder { /** * Run the database seeds. * * @return void */ public function run() { // $this->call(UsersTableSeeder::class); $this->call(UsersTableSeeder::class); $this->call(AuthorizedUsersTableS...
<?php class Sabai_Addon_PayPal_Helper_IpnUrl extends Sabai_Helper { /** * @param Sabai $application */ public function help(Sabai $application, $sandbox = false) { return $application->MainUrl('/sabai/paypal/ipn', $sandbox ? array('sandbox' => 1) : array()); } }
<?php defined('PHPFOX') or exit('NO DICE!'); ?> <iframe src="#" id="js_groups_frame" name="js_groups_frame" style="display:none;"></iframe> <div id="js_groups_widget_error"></div> <form class="form" method="post" action="{url link='groups.frame'}" target="js_groups_frame" enctype="multipart/form-data" data-app="core_g...
<?php defined('BASEPATH') OR exit('No direct script access allowed'); // ADMIN_LSP class kriteria_unjuk_kerja extends CI_Controller { public function __construct(){ parent::__construct(); //Check Login Status if($this->session->userdata('lsp_bpjstk_login_id') == null){ redirect(''); } //Check Perm...
<!DOCTYPE html> <html lang="pt-br"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <!-- As 3 meta tags acima *devem* vir em primeiro lugar dentro do `head`; qualquer outro conteúdo deve vir *após*...
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; use Validator; use App\Children; use App\Token; use App\User; use Auth; class UserController extends Controller { public function insertChildren(Request $request){ $validator =Validator::make($request->all(), [ 'tok...
<link rel='stylesheet' href='digital_ocean.css'><br> <br> <h3 id="introduction">Introduction</h3> <hr /> <p>MongoDB is a NoSQL document database system that scales well horizontally and implements data storage through a key-value system. A popular choice for web applications and websites, MongoDB is easy to i...
<?php /** * PHP Token Reflection * * Version 1.4.0 * * LICENSE * * This source file is subject to the new BSD license that is bundled * with this library in the file LICENSE.md. * * @author Ondřej Nešpor * @author Jaroslav Hanslík */ namespace TokenReflection; /** * Common reflection extension interface....
<?php /* * Classe controller. * @author Jordana Alencar<jordanadev2@gmail.com> * @version 1.0 * @copyright © 2020, DNIT | AQUAVIARIO. * @subpackage controllers */ defined('BASEPATH') or exit('No direct script access allowed'); class EnsaiosLaboratoriais extends CI_Controller { function __construct() { ...
<?php /** * This file is part of Helix package. * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ declare(strict_types=1); namespace Helix\Container\Definition; /** * @template TDefinition of object */ interface DefinitionInterfa...
<div id="page-wrapper"> <?php $from_date = date('Y-m-d'); $user_info = $this->session->userdata('user_session'); $user_id = $user_info['user_id']; $user_type = $user_info['user_type']; $employee_id = $user_info['employee_id']; ?> <div class="row card-margin-top"> <div class="col-...
<?php namespace App\Http\Controllers\backend\Student; use App\Http\Controllers\Controller; use Illuminate\Http\Request; use App\Model\AssignStudent; use App\Model\DisscountStudent; use App\Model\StudentClass; use App\Model\StudentGroup; use App\Model\StudentYear; use App\Model\StudentShift; use App\Model\AssignSubje...
<?php namespace App\Http\Controllers; use App\Models\Barang; use App\Models\BarangKeluar; use App\Models\Pegawai; use Carbon\Carbon; use Illuminate\Http\Request; class BarangKeluarController extends Controller { /** * Display a listing of the resource. * * @return \Illuminate\Http\Response */...
<?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\UpdateCheck; use Piwik\Updater; use Piwik\Updates; class Updates_2_15_0_b12 extends Updates { public func...
<?php namespace App\Models; use Illuminate\Database\Eloquent\Model; class WechatUserModel extends Model { protected $pk='wechatUser_id'; protected $table='wechatUser'; protected $fillable=['openid','nickname','sex','city','channel_status']; }
<?php return [ /* |-------------------------------------------------------------------------- | Authentication Defaults |-------------------------------------------------------------------------- | | This option controls the default authentication "guard" and password | reset options for y...
<section class="small-section alt-color" id="jasa"> <div class="container align-center"> <h3 class="section-title bottom-line font-alt"> Pembayaran Anda sedang dikonfirmasi. </h3> <div class="col-md-10 col-md-offset-1"> <p> Pembayaran Anda sedang dikonfirmasi oleh Admin. <a hre...
@extends('layouts.app') @section('title'){{ $title }}@endsection @section('description'){{ str_limit(strip_tags($description),100) }}@endsection @section('content') <!-- Banner area --> <section class="banner_area" data-stellar-background-ratio="0.5"> <h2>Our {{ $title }}</h2> <ol class="breadcrumb"> ...
<?php /** * BasesfGuardRememberKey * * This class has been auto-generated by the Doctrine ORM Framework * * @property integer $user_id * @property string $remember_key * @property string $ip_address * @property sfGuardUser $User * * @method integer getUserId() Returns the current record's...
<?php return array( 0 => array( 'id'=>1, 'title'=>'Home', 'icon'=>'fa fa-tachometer', 'child_controller'=>array("Index"), 'url'=>'/Admin', 'left'=>array() ), 1 => array( 'id'=>2, 'title'=>'轮播图管理', 'icon'=>'fa fa-image', 'child_controller'=>array("Banner","Banner_Space"), 'left'=>array( 0 =>...
<?php defined('BASEPATH') OR exit('No direct script access allowed'); ?> <h2 class="text-center">Connexion</h2> <form class="form-group" method="post" action="http://smart-menu.local/login/connect"> <div class="d-flex justify-content-center"> <div class="form-group col-3"> ...
<?php namespace App\App\Http\Middleware; use Illuminate\Foundation\Http\Middleware\TrimStrings as Middleware; class TrimStrings extends Middleware { /** * The names of the attributes that should not be trimmed. * * @var array */ protected $except = [ 'password', 'password_confirmation', ]; }
<?PHP /** * Licensed to The Apereo Foundation under one or more contributor license * agreements. See the NOTICE file distributed with this work for * additional information regarding copyright ownership. * The Apereo Foundation licenses this file to you under the Apache License, * Version 2.0 (the "License"); yo...
<?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; use Mail; use App\Mail\NotifyMail; class RegisterC...
<?php use yii\helpers\Html; /* @var $this yii\web\View */ /* @var $model common\models\Order */ $this->title = Yii::t('app', 'ORDER'); $this->params['breadcrumbs'][] = ['label' => Yii::t('app', 'Orders'), 'url' => ['index']]; $this->params['breadcrumbs'][] = $this->title; ?> <div class="order-create" style="backgro...
<?php use Illuminate\Database\Seeder; use Illuminate\Database\Eloquent\Model; use Faker\Factory as Faker; class TerceroTablaSeeder extends Seeder { // 'cedula' => $faker->businessIdentificationNumber, // 'nombre' => $faker->name, // 'rol' => 'Cliente', // 'direccion' => $faker->address, // 'te...
<?php namespace OAuth\OAuth1\Service; use Exception; use OAuth\Common\Consumer\CredentialsInterface; use OAuth\Common\Http\Client\ClientInterface; use OAuth\Common\Http\Exception\TokenResponseException; use OAuth\Common\Http\Uri\Uri; use OAuth\Common\Http\Uri\UriInterface; use OAuth\Common\Storage\TokenStorageInterfa...
<?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 | ...
<!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"> <meta name="theme-color" content="#424242" /> <title>Tam Advance School Management System"...
@extends('layouts.admin') @section('content') <div class="card"> <div class="card-header"> {{ trans('global.change_password') }} </div> <div class="card-body"> <form method="POST" action="{{ route("profile.password.update") }}"> @csrf <div class="form-group"> ...
@extends('layouts.master') @section('head') @parent <link href="{{ URL::to('/') }}/css/jquery.bootgrid.css" rel="stylesheet" /> <title>Dashboard: Reports</title> @stop @section('content') <div class="topview hidden-print"> <h1 class="page-header">Report Generation</h1> <form class="form-horizontal" id="reportFor...
<?php /** * Copyright (c) 2019 TASoft Applications, Th. Abplanalp <info@tasoft.ch> * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the...
@extends('layouts.app') @section('styles') @parent <!-- JQuery DataTable Css --> <link href="{{ asset('plugins/jquery-datatable/skin/bootstrap/css/dataTables.bootstrap.css') }}" rel="stylesheet"> @endsection @section('content') <!-- Basic Examples --> <div class="row clearfix"> <di...
<?php // This file is part of Moodle - http://moodle.org/ // // Moodle is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. // // Moodle...
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; use App\models\Usuario; use App\models\Endereco; class novoController extends Controller { public function create() { return view ('createUsuarioEndereco'); } public function save(Request $request) { $usuario = new Us...
<?php /** * TODO */ class Database { private $user = Config::DB_USER; private $pass = Config::DB_PASS; private $host = Config::DB_HOST; private $dbname = Config::DB_NAME; private $dbh; private $stmt; public function __construct() { $dsn = 'mysql:host=' . $this->host . ';dbname=' . $this->...
<x-app-layout> <x-slot name="header"> <h2 class="font-semibold text-xl text-gray-800 leading-tight"> {{ __('Unos pacijenata') }} </h2> </x-slot> <div class="py-12"> <div class="max-w-7xl mx-auto sm:px-6 lg:px-8"> <div class="bg-white overflow-hidden shadow-xl...
<?php namespace app\api\model\wanlshop; use think\Model; /** * 配置模型 */ class ShopConfig extends Model { // 表名,不含前缀 protected $name = 'wanlshop_shop_config'; // 自动写入时间戳字段 protected $autoWriteTimestamp = 'int'; // 定义时间戳字段名 protected $createTime = 'createtime'; protected $updateT...
<?php elgg_gatekeeper(); $guid = elgg_extract('guid', $vars); elgg_set_page_owner_guid($guid); $group = get_entity($guid); if (!elgg_instanceof($group, 'group') || !$group->canEdit()) { register_error(elgg_echo('groups:noaccess')); forward(REFERER); } $title = elgg_echo('groups:membershiprequests'); elgg_push_br...
<?php namespace Database\Seeders; use Illuminate\Database\Seeder; use Illuminate\Support\Facades\DB; class ProductsSeeder extends Seeder { /** * Run the database seeds. * * @return void */ public function run($data) { DB::table('products')->insert($data['products']); } }
<?php namespace Light\ObjectService\Resource; use Light\ObjectService\Resource\Selection\NestedCollectionSelection; use Light\ObjectService\Resource\Selection\NestedComplexSelection; use Light\ObjectService\Resource\Selection\Selection; use Light\ObjectService\TestData\Author; use Light\ObjectService\TestData\Setup; ...
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); class Product extends CI_Model{ function __construct() { $this->proTable = 'products'; $this->custTable = 'customers'; $this->ordTable = 'orders'; $this->ordItemsTable = 'order_items'; $this->rec...
<?php use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class CreateUsersTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('users', function (Blueprint $table) { $table...
<? $MESS["SALE_GOODS_SECTION_ENTITY_ID"] = "Bereichs-ID"; $MESS["SALE_GOODS_SECTION_ENTITY_SECT"] = "Bereich"; $MESS["SALE_GOODS_SECTION_ENTITY_PROD_ID"] = "Produkt-ID"; $MESS["SALE_GOODS_SECTION_ENTITY_PROD"] = "Produkt"; ?>
<?php return [ /* |-------------------------------------------------------------------------- | Validation Language Lines |-------------------------------------------------------------------------- | | The following language lines contain the default error messages used by | the validator ...
<?php use eagle\models\EbayCategory; use yii\helpers\Url; use yii\helpers\Html; use eagle\modules\listing\helpers\EbayListingHelper; $this->registerJsFile(\Yii::getAlias('@web')."/js/project/listing/variation.js?v=".EbayListingHelper::$listingVer, ['depends' => ['yii\web\JqueryAsset']]); // $this->registerJsFile(\Yii:...
<aside class="main-sidebar sidebar-dark-primary elevation-4"> <!-- Brand Logo --> <a href="#" class="brand-link"> <img src="https://www.regmurcia.com/servlet/integra.servlets.Imagenes?METHOD=VERIMAGEN_99108&nombre=RealMurciaFtbolClub1924-197_res_300.jpg" alt="AdminLTE Logo" class="brand-image img-circle...
<?php # Generated by the protocol buffer compiler. DO NOT EDIT! # source: core/net.proto namespace Zaly\Proto\Core; /** * Protobuf enum <code>Core\TransportDataHeaderKey</code> */ class TransportDataHeaderKey { /** * Generated from protobuf enum <code>HeaderInvalid = 0;</code> */ const HeaderInva...
@extends('layouts.app') @section('content') <div class="container-fluid bg-white mt-5"> <!-- .row --> <div class="row"> <div class="col-sm-12"> <div class="white-box card"> <div class="card-body"> <h3 class="box-title pull-left">WhyCho...
<?php /** * REST API: WP_REST_Post_Statuses_Controller class * * @package ClassicPress * @subpackage REST_API * @since WP-4.7.0 */ /** * Core class used to access post statuses via the REST API. * * @since WP-4.7.0 * * @see WP_REST_Controller */ class WP_REST_Post_Statuses_Controller extends WP_REST_Contro...
<?php use Illuminate\Support\Facades\Auth; use Illuminate\Support\Facades\Route; /* |-------------------------------------------------------------------------- | Web Routes |-------------------------------------------------------------------------- | | Here is where you can register web routes for your application. T...
<!DOCTYPE html> <html lang="{{ str_replace('_', '-', app()->getLocale()) }}"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>ZK ADMIN PANEL</title> <link rel="icon" href="{{ asset('img/zklogo.png') }}"> <!-- Fonts ...
<?php /* * StartPanel * (c) BrightSkyz and SirHyperNova 2018 * Version 0.1 */ if (!isset($_SESSION['id'])) { header('Location: /account/login/'); die(); } if ($server->getOwner($_GET['id'])!=$_SESSION['id'] && !$user->isAdmin($_SESSION['id'])) { header('Location: ...
@extends('adminlte::master') @section('adminlte_css') <link rel="stylesheet" href="{{ asset('vendor/adminlte/css/auth.css') }}"> @yield('css') @stop @section('body_class', 'register-page') @section('body') <div class="register-box"> {{--<div class="register-logo"> <a href="{{ url(conf...
<?php /** * @link http://www.yiizh.com/ * @copyright Copyright (c) 2016 yiizh.com * @license http://www.yiizh.com/license/ */ use common\models\QueueUrl; use yii\helpers\Html; use yii\widgets\DetailView; /* @var $this yii\web\View */ /* @var $model common\models\QueueUrl */ $this->title = $model->id; $this->para...
<?php namespace common\components; use common\models\Languages; use Yii; class Controller extends \yii\web\Controller { public function actionLang($lang) { $query = Languages::find()->where(['abb'=>$lang])->andWhere(['>','status',-1])->one(); if($query || $lang == Yii::$app->params['main_lang...
<?php use common\models\Country; use common\models\StudentUniveristyApplication; use common\models\StudentAssociateConsultants; use common\models\StudentPackageDetails; use yii\helpers\ArrayHelper; use kartik\date\DatePicker; $this->context->layout = 'main'; $this->title = 'My Students'; $countries = Country::getAllCo...
<!DOCTYPE html> <html lang="en"> <style> .mt-100 { margin-top: 100px } body { background: #00B4DB; background: -webkit-linear-gradient(to right, #0083B0, #00B4DB); background: linear-gradient(to right, #0083B0, #00B4DB); color: #514B64; min-height: 100vh } </style> <!-- Mirrored from themes.pi...
<?php // auto-generated by sfRoutingConfigHandler // date: 2011/10/27 07:32:59 $this->routes['homepage'] = unserialize('C:7:"sfRoute":1066:{a:11:{i:0;a:2:{i:0;a:4:{i:0;s:9:"separator";i:1;s:0:"";i:2;s:1:"/";i:3;N;}i:1;a:3:{i:0;s:9:"separator";i:1;s:1:"/";i:2;s:1:"/";}}i:1;a:8:{s:18:"load_configuration";b:1;s:6:"suffix"...
@extends('layouts.app') @section('content') <div class="container"> <style> #app{ margin: 0 auto; text-align: center; } .nav-item{ list-style:none; text-decoration: none; } .nav-link{ color: #ffffff; text-de...
<?php namespace Heyday\Component\Beam\Command; use Heyday\Component\Beam\Config\BeamConfiguration; use Heyday\Component\Beam\Utils; use Symfony\Component\Config\Definition\Processor; use Symfony\Component\Console\Input\InputInterface; use Symfony\Component\Console\Input\InputOption; use Symfony\Component\Console\Outp...
<?php namespace App\Gos; use Illuminate\Database\Eloquent\Model; class Gos_Pres_Servicio extends Model { protected $table = 'gos_pres_servicio'; protected $primaryKey = 'gos_pres_servicio_id'; protected $keyType = 'integer'; public $autoincrement = true; public $timestamps = false; publi...
@extends('layouts.admin') @section('content') <h1>Create a new Product</h1> @include('partials.errors') <form action="{{route('admin.products.store')}}" method="post"> @csrf <div class="mb-3"> <label for="name" class="form-label">Name</label> <input type="text" name="name" id="name" class=...
<?php require_once(HTML2PS_DIR.'value.generic.percentage.php'); class ValueRight extends CSSValuePercentage { function fromString($value) { return CSSValuePercentage::_fromString($value, new ValueRight); } function &copy() { $value =& parent::_copy(new ValueRight); return $value; } } ?>
@extends('layouts.app') <!-- Main Content --> @section('content') <div class="login-block"> <div class="panel panel-default"> <div class="panel-body nopadding"> <div class="login-head">{{ trans('common.reset_password') }} <div class="header-circle"><i class="fa fa-paper-plane" ...
<?php /** * @author Ross Perkins <ross@vubeology.com> */ namespace Vube\GoogleVisualization\DataSource\DataTable\Value\test; use Vube\GoogleVisualization\DataSource\DataTable\Value\DateValue; use Vube\GoogleVisualization\DataSource\Date; /** * DateValueTest class * * @author Ross Perkins <ross@vubeology.com> ...
<?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 session_start(); $user = session()->get('user'); ?> <h2>Change password: {{ $user }}</h2> @if ($message = session()->get('error')) <div id="error"> <button type="button" class="close" data-dismiss="alert"> X </button> <strong> {{ $message }} </strong> </div> <br> @endif @if(count($error...
<?php namespace App\Http\Controllers\Admin; use App\Http\Controllers\Controller; use App\Services\UploadsManager; use Illuminate\Http\Request; use App\Http\Requests\UploadFileRequest; use App\Http\Requests\UploadNewFolderRequest; use Illuminate\Support\Facades\File; class UploadController extends Controller { pr...
--TEST-- Test return type and value for expected input tanh() --INI-- precision = 14 --FILE-- <?php /* * Function is implemented in ext/standard/math.c */ $file_path = __DIR__; require($file_path."/allowed_rounding_error.inc"); echo "tanh .5 = "; var_dump(tanh(0.5)); if (allowed_rounding_error(tanh(0.5), 0.46211715...
<?php defined('BASEPATH') OR exit('No direct script access allowed'); class Home extends CI_Controller { public function index() { $this->load->view('home'); // $this->load->database(); // $query=$this->db->query("select * from up_classify"); // $row = $query->row(0); //...
<?php /* * This file is part of the overtrue/wechat. */ namespace WeChat\BasicService\Jssdk; use Pimple\Container; use Pimple\ServiceProviderInterface; /** * Class ServiceProvider. * * @author overtrue <i@overtrue.me> */ class ServiceProvider implements ServiceProviderInterface { /** * {@inheritdoc}...
<?php namespace RC\TokenMatcher\Assertion\Expr\BinaryOp; use RC\TokenMatcher\Assertion\Expr\BinaryOpAssertion; class BitwiseAndAssertion extends Expr\BinaryOpAssertion { }
<?php if(!defined('sugarEntry') || !sugarEntry) die('Not A Valid Entry Point'); /********************************************************************************* * SugarCRM Community Edition is a customer relationship management program developed by * SugarCRM, Inc. Copyright (C) 2004-2013 SugarCRM Inc. * SuiteCRM...
<?php namespace App; use Illuminate\Database\Eloquent\Model; class Project extends Model { protected $fillable = ['name', 'url', 'description','status', 'student_id']; public function student($value='') { return $this->belongsTo('App\Student'); } }
<?php namespace EntrepreneurBundle\Repository; /** * EquipesRepository * * This class was generated by the Doctrine ORM. Add your own custom * repository methods below. */ class EquipesRepository extends \Doctrine\ORM\EntityRepository { }
<?php namespace App\Entities; use Illuminate\Database\Eloquent\Model; use Prettus\Repository\Contracts\Transformable; use Prettus\Repository\Traits\TransformableTrait; class AnggotaKeluarga extends Model implements Transformable { use TransformableTrait; protected $table = 'anggota_keluarga'; protected ...
<!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...
<?php // This file is auto-generated, don't edit it. Thanks. namespace AlibabaCloud\SDK\BssOpenApi\V20171214\Models; use AlibabaCloud\Tea\Model; class SetCreditLabelActionResponseBody extends Model { /** * @var string */ public $code; /** * @var string */ public $message; /...
<?php /** * Copyright © Magento, Inc. All rights reserved. * See COPYING.txt for license details. */ namespace Magento\Framework\Pricing\Render; use Magento\Framework\Pricing\Amount\AmountInterface; use Magento\Framework\Pricing\SaleableInterface; use Magento\Framework\Pricing\Price\PriceInterface; use Magento\Fra...
<?php /* @var $this AuthorsController */ /* @var $model TblAuthors */ $this->breadcrumbs=array( 'Tbl Authors'=>array('index'), 'Create', ); $this->menu=array( array('label'=>'List TblAuthors', 'url'=>array('index')), array('label'=>'Manage TblAuthors', 'url'=>array('admin')), ); ?> <h1>Create TblAuthors</h1> <?...
<style type="text/css"> body { top: 0 !important; background-image: none; background-color: #fff; } @media only screen and (max-width: 768px) { /* For mobile phones: */ body { background-image: none; background-color: #fff; } } aside { padding-top: 0 !importan...
<?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\Bun...
<?php namespace Drupal\migrate_drupal_ui\Form; use Drupal\Core\Form\FormStateInterface; use Drupal\Core\State\StateInterface; use Drupal\Core\TempStore\PrivateTempStoreFactory; use Drupal\migrate_drupal\Plugin\MigrateFieldPluginManagerInterface; use Drupal\migrate\Plugin\MigrationPluginManagerInterface; use Drupal\mi...
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; use App\Contato; class ContatoController extends Controller { public function index() { $contatos = [ (object)["nome" => "Maria", "tel" => "988681254"], (object)["nome" => "Pedro", "tel" => "981926348"], ]; ...
<?php namespace app\wap\controller; use app\wap\model\store\StoreCategory; use app\wap\model\store\StoreProduct; use app\wap\model\store\StoreProductRelation; use app\wap\model\store\StoreCart; use app\wap\model\store\StoreOrder; use app\wap\model\user\Users; class Store extends AuthWap { public function index($k...