text
stringlengths
2
1.03M
<?php namespace Bavix\Wallet\Interfaces; interface Rateable { /** * @param int $amount * @return Rateable */ public function withAmount($amount): self; /** * @param Wallet $wallet * @return self */ public function withCurrency(Wallet $wallet): self; /** * @para...
<?php namespace App\Http\Middleware; use Closure; use Illuminate\Http\Request; class testauth { /** * Handle an incoming request. * * @param \Illuminate\Http\Request $request * @param \Closure $next * @return mixed */ public function handle(Request $request, Closure $next) ...
<!doctype html> <html> <head> <meta charset="utf-8"> <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script> <title>Crear operario</title> </head> <body> <h1>CREAR OPERACIONES</h1> <script> $(document).ready(function(){ $("#Btnregistrar").click(function(){ var btnaction="crear"; ...
<?php class Yellow_Bitcoin_Adminhtml_IpnController extends Mage_Adminhtml_Controller_Action { protected function _initAction() { $this->loadLayout()->_setActiveMenu("bitcoin/ipn")->_addBreadcrumb(Mage::helper("adminhtml")->__("Ipn Manager"), Mage::helper("adminhtml")->__("Ipn Manager")); retur...
<?php session_start(); unset($_SESSION['login-session']); unset($_SESSION['senha-session']); session_destroy(); header("Location: ../index.php"); ?>
<?php declare(strict_types=1); namespace Test\Shwrm\Miinto\ValueObject; use PHPUnit\Framework\TestCase; use Shwrm\Miinto\ValueObject\MiintoCommunicationChannel; class MiintoCommunicationChannelTest extends TestCase { public function testCreateFromResponse(): void { $response = [ 'data' =>...
<div class="col-lg-4 col-md-6 mb-4"> <div class="card h-100"> <a href="<cms:show k_page_link />"> <cms:reverse_related_pages field='tool_img_gallery' masterpage='gallery.php' limit='1' orderby='weight' order='asc'> <img class="card-img-top" src="<cms:show gg_image />" alt="įranki...
<?php declare(strict_types=1); namespace PoolTournament\Application\Module\Core\Infrastructure\Database\MySQL; use DateTimeImmutable; use PoolTournament\Application\Module\Core\Infrastructure\Database\MySQL\Exception\DuplicateSchemaUpdateException; use PoolTournament\Application\Module\Core\Infrastructure\Database\MyS...
<?php use Connection\Connection; use Orders\OrderManager; require_once __DIR__."/includes/header.php"; require_once __DIR__."/../Data/managers/OrderManager.php"; require_once __DIR__."/../Data/dto/Order.php"; $errormsg = ''; $postSuccess = false; $orderNumber = (isset($_GET['id']))? (int)$_GET['id'] : null; if ($orde...
<?php /* @Doctrine/Collector/icon.svg */ class __TwigTemplate_bb27ce2ceb193fd82de3c08cb35d941a5972799aa14d95c02ae7adfccb53c3e5 extends Twig_Template { public function __construct(Twig_Environment $env) { parent::__construct($env); $this->parent = false; $this->blocks = array( ...
<?php use Illuminate\Support\Facades\Route; use App\Http\Controllers\UserController; use App\Http\Controllers\ProductController; /* |-------------------------------------------------------------------------- | Web Routes |-------------------------------------------------------------------------- | | Here is where you ...
<?php include("../Backend_Template/include/connection.php"); include("../Backend_Template/include/session.php"); $cn=getCon(); if(isset($_GET['id'])) { $id=$_GET['id']; $q="DELETE FROM admin WHERE admin_id=".$id; //echo $q; executeQuery($q); header("location:admin_display.php"); } ?> <!DOCTYPE html> <html lang="en...
<?php /** * @package Joomla.Platform * @subpackage GitHub * * @copyright Copyright (C) 2005 - 2016 Open Source Matters, Inc. All rights reserved. * @license GNU General Public License version 2 or later; see LICENSE */ defined('JPATH_PLATFORM') or die; /** * GitHub API Meta class. * * @since ...
@extends('responsable.layout') @section('content') <div class="container"> <div class="card"> <div class="card-body"> <p class="card-text"> Responsable : {{ $responsables->nom}} {{$responsables->prenom}}</p> </div> </div> <form action="{{route('responsable.update',$respo...
<?php # # Sources: # http://technet.microsoft.com/en-us/library/cc749073(v=ws.10).aspx (beware, has many mistakes) # http://www.worldtimezone.com/ # http://en.wikipedia.org/ # http://www.php.net/manual/en/timezones.php # http://en.wikipedia.org/wiki/List_of_tz_database_time_zones # http://www.timean...
<?php namespace Guzzle\Tests\Common\Validation; class Validation extends \Guzzle\Tests\GuzzleTestCase { /** * @dataProvider provider */ public function testConstraint($constraint, $value, $options = null, $result = null, $exception = null) { $c = new $constraint(); try { ...
<?php $TRANSLATIONS = array( "Save" => "שמירה", "Search:" => "חיפוש:", "Close" => "סגירה", "Next" => "הבא", "Clear" => "ניקוי", "Saving..." => "שמירה…", "Failed to save file" => "נכשל בשמירת הקובץ", "An error occurred!" => "אירעה תקלה!", "There were unsaved changes, click here to go back" => "ישנם שינויים שלא נשמרו. נא...
<?php defined('BASEPATH') OR exit('No direct script access allowed'); class User extends MX_Controller { public function __construct() { // Call the CI_Model constructor parent::__construct(); $this->murl = '/modules/' . $this->uri->segment(1) . '/'; $this->load->database(); ...
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; use Illuminate\Routing\Controller; use App\Movie; class APICatalogController extends Controller { /** * Display a listing of the resource. * * @return \Illuminate\Http\Response */ public function index() { retu...
<?php namespace App\Exceptions; use Exception; use Illuminate\Auth\AuthenticationException; use Illuminate\Foundation\Exceptions\Handler as ExceptionHandler; use Illuminate\Http\Exceptions\HttpResponseException; use Illuminate\Support\Facades\Lang; use Illuminate\Support\Facades\Log; use Illuminate\Support\Facades\Ro...
<!doctype html> <!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7" lang=""> <![endif]--> <!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8" lang=""> <![endif]--> <!--[if IE 8]> <html class="no-js lt-ie9" lang=""> <![endif]--> <!--[if gt IE 8]><!--> <html class="no-js" lang=""> <!--<![endi...
@extends('layouts.test') @section('title', 'Tests') @section('content') <?php $test = (new \App\Http\Controllers\TestController); $testdet = $test->TDetails(); foreach($testdet as $DataTests){ $facility = $DataTests->FacilityName; $firstname = $DataTests->firstname; $secondName = $DataTests->secondname; $TName = $first...
<?php namespace App\Http\Controllers\Api; use App\Models\User; use Illuminate\Http\Request; class UserController extends Controller { public function trips(Request $request) { /** @var User $user */ $user = $request->user(); $collection = $user->trips()->with('user.image', 'passenger...
<?php namespace App\Http\Livewire\Admin\Product\ProductVendor; use App\Models\Log; use App\Models\ProductSeller; use Livewire\Component; class Update extends Component { public ProductSeller $productSeller; protected $rules = [ 'productSeller.product_id' => 'nullable', 'productSeller.vendor_...
<?php $field['value'] = isset($entry) && $entry->{$field['entity']} ? $entry->{$field['entity']}->{$field['name']} : ''; ?>@include('crud::fields.text')
<?php namespace App\Utils; class JsonUtil { /* * STATUS CODES :: * 200 OK * 201 Created * 400 Bad Request * 401 Unauthorized * 403 Forbidden * 404 Not Found * 405 Method not allowed * 500 Internal Server Error */ public static $_STATUS_OK = 200; ...
<?php use Illuminate\Support\Str; class SupportStrTest extends \L4\Tests\BackwardCompatibleTestCase { /** * Test the Str::words method. * * @group laravel */ public function testStringCanBeLimitedByWords() { $this->assertEquals('Taylor...', Str::words('Taylor Otwell', 1)); $this->assertEquals('Taylor___',...
<?php /* @var $this \yii\web\View */ /* @var $content string */ use yii\helpers\Html; use yii\bootstrap\Nav; use yii\bootstrap\NavBar; use yii\widgets\Breadcrumbs; use app\assets\AppAsset; use app\assets\ltAppAsset; AppAsset::register($this); ltAppAsset::register($this); ?> <?php $this->beginPage() ?> <!DOCTYPE ...
<?php !defined('DEBUG') AND exit('Forbidden'); // 可以合并成一个文件,加快速度 // merge to one file. $include_model_files = array ( APP_PATH.'model/kv.func.php', APP_PATH.'model/queue.func.php', APP_PATH.'model/group.func.php', APP_PATH.'model/user.func.php', APP_PATH.'model/forum.func.php', APP_PATH.'model/forum_access.f...
<?php namespace app\validators; use yii\validators\Validator; class CnpjValidator extends Validator { public function validateAttribute($model, $attribute) { $cnpj = $model->$attribute; $cnpj = preg_replace('/[^0-9]/', '', (string) $cnpj); // Valida tamanho if (strlen($cnpj)...
<?php use Illuminate\Support\Facades\Schema; use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class CreateRiPernyataanTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('ri_pernyat...
<?php namespace app\models; use Yii; use yii\base\Model; use yii\caching\MemCache; use app\models\GenF; use yii\data\Pagination; class News extends Model { public function rules() { /* return [ [['name', 'email'], 'required'], ['email', 'email'], ]; *...
<?php namespace App\Providers; use Barryvdh\LaravelIdeHelper\IdeHelperServiceProvider; use Illuminate\Support\ServiceProvider; use Inertia\Inertia; use Session; class AppServiceProvider extends ServiceProvider { /** * Register any application services. * * @return void */ public function ...
@extends('maintemplate') @section('title','About Page') @section('content') <!-- Page Header --> <header class="masthead" style="background-image: url({{asset('template/img/about-bg.jpg')}})"> <div class="overlay"></div> <div class="container"> <div class="row"> <div class="col-lg-8 col-md-10 ...
<?php namespace tourze\ViewDiscuz; use Exception; /** * 模板类 - 使用 Discuz 模板引擎解析 * * @package classes * @copyright Copyright (c) 2007-2008 (http://www.tblog.com.cn) * @author Akon(番茄红了) <aultoale@gmail.com> * @license PHP Version 3.0 {@link http://www.php.net/license/3_0.txt} * * 使用例子: * ``` * $opt...
<?php namespace App; use Illuminate\Database\Eloquent\Model; class homeTitle extends Model { protected $table = "hometitle"; }
<?php $connection=mysqli_connect("localhost","root","","training"); if(!$connection){ echo "Connection failed"; } $txtName = $_POST['Name']; $txtemail=$_POST['email']; $contact=$_POST['con']; $branch=$_POST['branch']; $collegename=$_POST['clg']; $insert=mysqli_query($connection,"INSERT INTO register(StudentName,Email,...
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; use App\Models\Message; class MessagesController extends Controller { public function submit(Request $request){ $this->validate($request,[ 'name' => 'required', 'email' => 'required' ]); $message =...
<?php namespace Nogrod\eBaySDK\MerchantData; /** * Class representing PayoutMethodType * * This enumerated type is deprecated. * XSD Type: PayoutMethodType */ class PayoutMethodType { /** * Constant for 'PAYPAL' value. * * This value is not used. */ public const VAL_PAYPAL = 'PAYPAL';...
<button {{ $attributes->merge(['type' => 'submit', 'class' => 'px-4 py-2 text-sm font-medium leading-5 text-white transition-colors duration-150 bg-blue-1300 border border-transparent rounded-lg active:bg-blue-1300 hover:bg-blue-1200 focus:outline-none focus:shadow-outline-blue']) }}> {{ $slot }} </button>
<?php // // +----------------------------------------------------------------------+ // |zen-cart Open Source E-commerce | // +----------------------------------------------------------------------+ // | Copyright (c) 2003 The zen-cart developers | // | ...
<div class="side-content-wrap"> <div class="sidebar-left open rtl-ps-none" data-perfect-scrollbar data-suppress-scroll-x="true"> <ul class="navigation-left"> <li class="nav-item {{ request()->is('dashboard/*') ? 'active' : '' }}" data-item="dashboard"> <a class="nav-item-hold" hr...
<?php namespace Uploadable\Fixture\Entity; use Gedmo\Mapping\Annotation as Gedmo; use Doctrine\ORM\Mapping as ORM; /** * @ORM\Entity * @Gedmo\Uploadables(configurations={ * @Gedmo\Uploadable(identifier="first", allowOverwrite=true, pathMethod="getPath"), * @Gedmo\Uploadable(identifier="second", allowOverwrit...
<?php /** * @version $Id: unserializer_php.test.php,v 1.3 2004/12/10 23:27:28 harryf Exp $ * @package JPSpan * @subpackage Tests */ /** * Includes */ require_once('../config.php'); require_once JPSPAN . 'Unserializer.php'; require_once JPSPAN . 'Types.php'; require_once JPSPAN . 'Unserializer/PHP.php'; /** * @package...
<?php declare(strict_types=1); namespace Craftzing\Laravel\LokaliseWebhooks\Exceptions; use RuntimeException; final class UnableToCopyExportFileToStorage extends RuntimeException { public static function streamError(): self { return new self('Something went wrong while streaming the export to storag...
<?php return array ( 'template' => 'default', 'connectionId' => 'db', 'tablePrefix' => '', 'modelPath' => 'application.AgendaCitasCedi.models', 'baseClass' => 'CActiveRecord', 'buildRelations' => '1', );
<?php namespace App\Entity; use Doctrine\Common\Collections\ArrayCollection; use Doctrine\Common\Collections\Collection; use Doctrine\ORM\Mapping as ORM; use App\Repository\ApprenantRepository; use ApiPlatform\Core\Annotation\ApiResource; use ApiPlatform\Core\Annotation\ApiSubresource; use Symfony\Component\Serialize...
@extends('backend.master') @section('content') <div class="content"> <!-- Start Content--> <div class="container-fluid"> <div class="row"> <!-- end col --> <div class="col-md-12"> <div class="card-box"> @if(session('success')) ...
<!--Counter Inbox--> <?php $query = $this->db->query("SELECT * FROM tbl_inbox WHERE inbox_status='1'"); $query2 = $this->db->query("SELECT * FROM orders WHERE status <> 'LUNAS'"); $query3 = $this->db->query("SELECT * FROM testimoni WHERE status ='0'"); $query4 = $this->db->query("SELECT * FROM pembayaran"); $jum_pesan ...
<?php include_once('config.php'); include_once('functions.php'); include_once('core/process/data.loader.php'); ?> <!DOCTYPE html> <html> <head> <script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script> <script> (adsbygoogle = window.adsbygoogle || []).push({ google_ad_client:...
<?php /** * Copyright © Magento, Inc. All rights reserved. * See COPYING.txt for license details. */ namespace Magento\Sales\Test\Constraint; use Magento\Sales\Test\Page\SalesGuestPrint; use Magento\Mtf\Constraint\AbstractConstraint; use Magento\Mtf\Fixture\InjectableFixture; /** * Assert that products printed c...
@extends('cms.layout.main') @section('title') Banners @endsection @section('content') <section> <h3>Configuración de la página de incio del sitio web</h3> <hr> </section> <div class="alert alert-danger" style="display: none;" id="error_container"> </div> ...
<?php function getSecretKeys($prefix) { // IMPORTANT: Make this value your own custom value $customRepoSecretKey = 'testingkey'; // CUSTOMIZE $psecretkey = $prefix . date('YmdH') . $customRepoSecretKey; $keys['psecretkey'] = md5($psecretkey); return $keys; } ?>
<?php /** * PHPExcel * * Copyright (c) 2006 - 2008 PHPExcel * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later ve...
<?php namespace ZN\Socket\Exception; /** * ZN PHP Web Framework * * "Simplicity is the ultimate sophistication." ~ Da Vinci * * @package ZN * @license MIT [http://opensource.org/licenses/MIT] * @author Ozan UYKUN [ozan@znframework.com] */ use ZN\Ability\Exclusion; class InvalidProtocolException extends \I...
<?php /* * This file is part of the Pho package. * * (c) Emre Sokullu <emre@phonetworks.org> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace GraphJS\Controllers; use Psr\Http\Message\ResponseInterface; use Psr\Http\Me...
<style> .button{ background: #8bbbe8; padding: 10px 12px; border-radius: 3px; text-align: center; text-decoration: none; display: inline-block; font-size: 16px; margin: 4px 2px; -webkit-transition-duration: 0.4s; /* Safari */ transition-duration: 0.4s; cursor: pointer; color: black; } .but...
<?php namespace App\Http\Requests\Users\Accountants; use Illuminate\Foundation\Http\FormRequest; use Illuminate\Validation\Rule; use Illuminate\Validation\Rules\Password; class StoreAccountantRequest extends FormRequest { /** * Determine if the user is authorized to make this request. * * @return ...
<?php /** * @package recaptcha */ namespace SilverStripe\Recaptcha\Tests; use SilverStripe\Core\Config\Config; use SilverStripe\Dev\FunctionalTest; use SilverStripe\Recaptcha\RecaptchaField; use SilverStripe\Recaptcha\Tests\RecaptchaFieldFunctionalTestController; /** * Class RecaptchaFieldFunctionalTest * @packa...
<?php //ICB0 56:0 71:cbe ?><?php //004fb if(!extension_loaded('ionCube Loader')){$__oc=strtolower(substr(php_uname(),0,3));$__ln='ioncube_loader_'.$__oc.'_'.substr(phpversion(),0,3).(($__oc=='win')?'.dll':'.so');if(function_exists('dl')){@dl($__ln);}if(function_exist...
<?php //application/view/news/create.php $this->load->view($this->config->item('theme') . 'header'); ?> <h2><?php echo $title; ?></h2> <?php echo validation_errors(); ?> <?php echo form_open('news/create'); ?> <label for="title">Title</label> <input type="input" name="title" /><br /> <label for="text...
@extends('layouts.front') @section('title') 主菜レシピ @endsection @section('content') <div class="container py-2"> <div class="row align-items-center"> <div class="col-lg-8 offset-lg-2" id="slider"> <div id="myCarousel" class="carousel slide shadow"> <!--<a!-- main slider c...
<?php defined('BASEPATH') OR exit('No direct script access allowed'); /** * CodeIgniter Curl Class * * Work with remote servers via cURL much easier than using the native PHP bindings. * * @package CodeIgniter * @subpackage Libraries * @category Libraries * @author Philip Sturgeon * @l...
<?php class TestCase extends Illuminate\Foundation\Testing\TestCase { /** * Default preparation for each test * */ public function setUp() { parent::setUp(); // Don't forget this! $this->prepareForTests(); } /** * Creates the application. * * @return \Symfony\Co...
<nav class="large-3 medium-4 columns" id="actions-sidebar"> <ul class="side-nav"> <li class="heading"><?= __('Actions') ?></li> <li><?= $this->Form->postLink( __('Delete'), ['action' => 'delete', $profesore->Personal_Id_Personal], ['confirm' => __('Are...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; use Carbon\Carbon; class CreateGastosUnidadsTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema...
<?php namespace integralBundle\Entity; use Doctrine\ORM\Mapping as ORM; /** * OnControlContabilidad * * @ORM\Table(name="ON_Control_Contabilidad") * @ORM\Entity */ class OnControlContabilidad { /** * @var integer * * @ORM\Column(name="Ano", type="smallint", nullable=false) * @ORM\Id ...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>paytabs categories task</title> <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.0/css/bootstrap.min.css" integrity="sha384-9aIt2nRpC1...
<?php include 'vimeo.php'; $vimeo = new phpVimeo('CONSUMER_KEY', 'CONSUMER_SECRET', 'ACCESS_TOKEN', 'ACCESS_TOKEN_SECRET'); try { $video_id = $vimeo->upload('PATH_TO_VIDEO_FILE'); if ($video_id) { echo '<a href="http://vimeo.com/' . $video_id . '">Upload successful!</a>'; //$vimeo->call('vim...
<?php /* * This file is part of the Symfony CMF package. * * (c) 2011-2017 Symfony CMF * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Symfony\Cmf\Bundle\ResourceRestBundle\Registry; use Symfony\Cmf\Component\Resource\...
<?php namespace App\Models; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; use Illuminate\Support\Facades\DB; use App\Models\DetailSortieStock ; use App\Models\Prix ; use Exception ; use function PHPUnit\Framework\isTrue; class SortieStock extends Model { use HasFa...
<!doctype html> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <title>Bem Vindo - Central Condo</title> <style type="text/css"> .ReadMsgBody {width: 100%; background-color: #ffffff;} .ExternalClass {width: 100%; bac...
<?php namespace DanSketic\Backport\Settings; use DanSketic\Backport\Backport; use DanSketic\Backport\Settings; use DanSketic\Backport\Settings\Field\Hidden; use Illuminate\Support\Collection; use Illuminate\Support\Facades\URL; use Illuminate\Support\Str; /** * Class Builder. */ class Builder { /** * Pre...
<!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"> <!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags --> ...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreateChatsTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('chats', function ...
<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title><?php echo ($title); ?></title> </head> <body> <?php if(is_array($book_list)): $i = 0; $__LIST__ = $book_list;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );+...
<?php namespace Dsc\LaravelPageBuilder; use Dsc\LaravelPageBuilder\Commands\CreateTheme; class ServiceProvider extends \Illuminate\Support\ServiceProvider { /** * Register services. * * @return void */ public function register() { } /** * Bootstrap services. * ...
<div class="x_panel"> <div class="x_title"> <h2>Laporan Transaksi Per area - Tahunan</h2> <ul class="nav navbar-right panel_toolbox"> <li><a class="collapse-link"><i class="fa fa-chevron-up"></i></a> </li> <li class="dropdown"> <a href="#" class="dropdown-toggle" data-toggle="dropdow...
<?php namespace App\Http\Requests; use App\Models\Translation; use Illuminate\Foundation\Http\FormRequest; use Illuminate\Support\Facades\Validator; class UpdateTranslationRequest extends FormRequest { /** * Determine if the user is authorized to make this request. * * @return bool */ pub...
<?php require("../config.php"); class homework{ function __construct($test_name="",$username=""){ require("../config.php"); $this -> init_score(); $this -> db = $db; $this -> test_name = $test_name; $this -> username = $username; $...
<?php // +----------------------------------------------------------------------+ // | PHP versions 4 and 5 | // +----------------------------------------------------------------------+ // | Copyright (c) 1998-2006 Lukas Smith, Lorenzo Alberton | // | All r...
<?php namespace TestApp\Model\Entity; use Tools\Model\Entity\Entity; class BitmaskedComment extends Entity { /** * @param mixed|null $value * @return mixed */ public static function statuses($value = null) { $options = [ static::STATUS_ACTIVE => __d('tools', 'Active'), static::STATUS_PUBLISHED => __...
<?php namespace NF_FU_VENDOR; // This file was auto-generated from sdk-root/src/data/sns/2010-03-31/smoke.json return ['version' => 1, 'defaultRegion' => 'us-west-2', 'testCases' => [['operationName' => 'ListTopics', 'input' => [], 'errorExpectedFromService' => \false], ['operationName' => 'Publish', 'input' => ['Mes...
<?php defined('BASEPATH') OR exit('No direct script access allowed'); /* | ------------------------------------------------------------------- | AUTO-LOADER | ------------------------------------------------------------------- | This file specifies which systems should be loaded by default. | | In order to keep the fr...
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; use Illuminate\Support\Facades\Auth; class LoginController extends Controller { public function index() { return view('login.index'); } public function authenticate(Request $request) { $credentials = $request->validate([ ...
<ul class="navbar-nav bg-gradient-primary sidebar sidebar-dark accordion" id="accordionSidebar"> <!-- Sidebar - Brand --> <a class="sidebar-brand d-flex align-items-center justify-content-center" href="{{ url('/home') }}"> <div class="sidebar-brand-icon rotate-n-15"> {{-- <i class="fas fa-laugh-wink"></i> --}}...
<?php /** * @author Laurent Jouanneau * @copyright 2016 Laurent Jouanneau * * @link http://wikirenderer.jelix.org * * @licence MIT see LICENCE file */ namespace WikiRenderer\Generator; interface BlockSyntaxHighlightingInterface extends BlockOfRawLinesInterface { public function setSyntaxType($type); p...
<?php /** * Model genrated using LaraAdmin * Help: http://laraadmin.com */ namespace App\Models; use Illuminate\Database\Eloquent\Model; use Illuminate\Database\Eloquent\SoftDeletes; class Seating_Data extends Model { use SoftDeletes; protected $table = 'seating_datas'; protected $hidden = [ ...
<div class="content gusers"> <div class="container"> <div class="xxxrow"> <div class="xxxcol-md-offset-1 xxxcol-md-10"> <div class="card"> <div class="card-header" data-background-color="purple"> <h4 class="title"><...
<?php namespace App\Http\Controllers\Api; use App\Http\Requests\CodeRequest; use App\Http\Requests\CodeUpdateRequest; use App\Http\Resources\CodeCollection; use App\Http\Resources\CodeResource; use App\Models\Code; use Illuminate\Http\Request; class CodeController extends BaseController { public function index(...
<?php /** * Zend Framework * * LICENSE * * This source file is subject to the new BSD license that is bundled * with this package in the file LICENSE.txt. * It is also available through the world-wide-web at this URL: * http://framework.zend.com/license/new-bsd * If you did not receive a copy of the license an...
<?php // phpcs:ignore /** * Plugin Name: Add WPGraphQL SEO * Plugin URI: https://github.com/ashhitch/wp-graphql-yoast-seo * Description: A WPGraphQL Extension that adds support for Yoast SEO * Author: Ash Hitchcock * Author URI: https://www.ashleyhitchcock.com * Text Domain: wp-gra...
<?php namespace app\common\model; use think\Model; class Order extends Model { public $page_info; /** * 取单条订单信息 * * @param unknown_type $condition * @param array $extend 追加返回那些表的信息,如array('order_common','order_goods','store') * @return unknown */ public function getOrder...
<?php declare( strict_types = 1 ); namespace CodeKandis\AccuMail\Environment\Entities\EntityPropertyMappings; use CodeKandis\Entities\EntityPropertyMappings\EntityPropertyMapping; use CodeKandis\Entities\EntityPropertyMappings\EntityPropertyMappingExistsException; use CodeKandis\Entities\EntityPropertyMappings\EntityP...
<?php declare(strict_types=1); /** * CakePHP(tm) : Rapid Development Framework (https://cakephp.org) * Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org) * * Licensed under The MIT License * Redistributions of files must retain the above copyright notice. * * @copyright Copyright (c) ...
<?php namespace App\Providers\App\Listeners; use App\Providers\ActivationEvent; use Illuminate\Contracts\Queue\ShouldQueue; use Illuminate\Queue\InteractsWithQueue; class ActivationListener { /** * Create the event listener. * * @return void */ public function __construct() { ...
<?php /** * Created by IntelliJ IDEA. * User: Emilio Chica Jiménez * Date: 07/05/2017 * Time: 12:37 */ class Entradas { private $bd; function __construct($bd) { $this->bd = $bd; } /** * Obtiene todos las entradas del sistema * @return array */ function getEntradas(...
<?php defined('BASEPATH') OR exit('No direct script access allowed'); class MasterData extends CI_Model { public function getData($table){ return $this->db->GET($table); } public function getDataDesc($table, $order){ return $this->db->order_by($order,'DESC') ->GET($table); } public function getSelectD...
<?php namespace Drupal\Tests\scheduler\Functional; /** * Tests the display of the date entry fields (vertical tab, fieldset). * * @group scheduler */ class SchedulerFieldsDisplayTest extends SchedulerBrowserTestBase { /** * Additional module field_ui is required for the 'manage form display' test. * *...
<?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\HttpKernel\ControllerMetadata; /** * Builds {@see Ar...