text
stringlengths
2
1.03M
<?php $page_content = $page_content; //$content = array('page_content' => $page_content, 'side_menus' => $page_side_menus, 'custom_blocks' => $custom_blocks); if (isset($page_content) && $page_content) { $title = (Yii::$app->language == 'sw') ? $page_content->PageTitleSw : $page_content->PageTitleEn; ?> <d...
<?php defined('BASEPATH') OR exit('No direct script access allowed'); class Aset extends CI_Controller { public function __construct() { parent::__construct(); if($this->session->has_userdata('logged_in')) { $session_data = $this->session->userdata('logged_in'); if($session_data['role'] != 'User') { r...
<?php namespace App; use Illuminate\Database\Eloquent\Model; class liste_profession_table extends Model { protected $fillable = ['code_profession', 'lib_professions']; protected $table = 'liste_professions'; }
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; use App\Models\User; use Illuminate\Support\Facades\Hash; class AuthController extends Controller { // Register public function register(Request $request){ $fields = $request->validate([ 'email' => 'required|string|unique:...
<?php class ApiProdutosTest extends TestCase { public function testCriarProduto() { $this->post('/api/produtos', [ "id" => 10000, "nome" => "Produto de teste", "descricao" => "Tijela de 300ml", "tamanho" => 300, "unidade" => "ml", ...
<?php return [ /* |-------------------------------------------------------------------------- | Application Name |-------------------------------------------------------------------------- | | This value is the name of your application. This value is used when the | framework needs to plac...
<div class="page-content"> <div class="container-fluid"> <div class="box-typical box-typical-padding"> <h4><?php echo $titulo; ?></h4> <div class="row"> <div class="col-md-12 p-t-1"> <?php if (isset($validation)) { ?> <div c...
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <!-- ========================== Meta Tags =========================== --> <meta http-equiv="Content-Type" content="te...
<?php namespace App\Http\Controllers; use App\Http\Requests\StoreReserveringRequest; use App\Models\Auto; use App\Models\User; use App\Models\Reservering; use Illuminate\Http\Request; use Illuminate\Support\Facades\Auth; class ReserveringController extends Controller { /** * Display a listing of the resourc...
@extends('layouts.app') @section('content') <!-- details for each car --> <div class="container"> <div class="row justify-content-center"> <div class="col-md-8"> <div class="card text-white bg-dark mb-3"> <div class="card-header"> <div class="card-body"> ...
<?php /** * This file is part of Oyst_Oyst for Magento. * * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 * @author Oyst <dev@oyst.com> <@oystcompany> * @category Oyst * @package Oyst_Oyst * @copyright Copyright (c) 2017 Oyst (http://www.oyst.com) */ /** * Resource_Notificati...
<?php //La ruta de donde se ubica el modelo namespace App\Models; //Definir el modelo de CodeIgniter use CodeIgniter\Model; //Clase mismo nombre del archivo class MesasModel extends Model { protected $table = 'mesa'; protected $primaryKey = 'idMesa'; protected $useAutoIncrement = true; protected...
<?php namespace App; use Illuminate\Database\Eloquent\Model; class Region extends Model { public function items() { return $this->hasMany('App\Item'); } }
<?php include 'metadata.php'?> <body> <?php require 'nav.php'?> <div class="row main-content"> <div class="large-6 large-centered columns container"> <h3>Blocked List</h3> <?php if (!is_null($list)) {?> <table> <thead> <tr> <th width="223">Picture</th> <th width="160">Username</th> ...
<?php // $Id: index.php,v 1.3 2006/08/21 14:03:39 ggiunta Exp $ $query = ''; if (isset($_GET['run'])) { $path = parse_url($_GET['run']); if (isset($path['query'])) $query = '?'.$path['query']; } ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtm...
<div class="modal fade" id="cerrar_modal_e" role="dialog"> <div class="modal-dialog modal-sm"> <div class="modal-content"> <div class="modal-header"> </div> <div class="modal-body"> <h2>¿Esta seguro que desea cerrar el modal de editar actividad?</h2> ...
<?php namespace App\Models; use DB; use Crocodicstudio\Cbmodel\Core\Model; class Anime extends Model { public static $tableName = "anime"; public static $connection = "mysql"; private $id; private $judul; private $judul_alternatif; private $rating; private $voter; private $status; private $total...
--TEST-- Test is_writable() and its alias is_writeable() function: usage variations - diff. path notations --SKIPIF-- <?php require __DIR__ . '/../skipif_root.inc'; ?> --FILE-- <?php /* test is_writable() & is_writeable() with file having different filepath notation */ require __DIR__.'/file.inc'; echo "*** Testing is_...
<?php /** * Markdown Helper * * Markdown is a text-to-HTML conversion tool for web writers by John Gruber. Markdown allows you to write using an easy-to-read, easy-to-write plain text format, then convert it to structurally valid XHTML (or HTML). * Learn more about markdown here: http://daringfireball.net/projects/...
<div class="box box-info padding-1"> <div class="box-body"> <div class="form-group"> {{ Form::label('N. Inventario') }} {{ Form::text('num_inventario', $producto->num_inventario, ['class' => 'form-control' . ($errors->has('num_inventario') ? ' is-invalid' : ''), 'placeholder...
<?php /** * Created by PhpStorm. * User: jefferson * Date: 04/06/17 * Time: 21:49 */ class Ranking extends CI_Controller { function __construct() { parent::__construct(); $this->load->model('Exercises_model', 'exercises_model'); $this->load->model('Users_model', 'users_model'); }...
@extends('Admin.master') <style> li:hover{ cursor: pointer; } </style> @section('content') <div class="col-sm-9 col-sm-offset-3 col-md-10 col-md-offset-2 main"> <div class="page-header head-section"> <h2>ایجاد فایل</h2> </div> @include('Admin.section.errors') ...
<?php namespace App\Http\Controllers\modulos\master\empresas; use App\API\ApiErros; use App\Http\Controllers\Controller; use Illuminate\Http\Request; use Illuminate\Support\Facades\DB; //razao social, cnpj, cidade, rua, bairro, numero, categoria class BuscarEmpresaController extends Controller { public function...
<?php namespace App\Models; use Illuminate\Database\Eloquent\Model; class Book_User extends Model { protected $table = 'book_user'; protected $primaryKey = 'id'; protected $fillable = [ 'user_id', 'book_id', ]; protected $guarded = []; public function order() { ...
<?php /** * Copyright © 2015 Magento. All rights reserved. * See COPYING.txt for license details. */ namespace Magento\Cms\Test\Constraint; use Magento\Cms\Test\Fixture\CmsPage; use Magento\Cms\Test\Page\Adminhtml\CmsPageIndex; use Magento\Mtf\Constraint\AbstractConstraint; /** * Assert Cms page is absent in gri...
<!DOCTYPE html> <!-- This is a starter template page. Use this page to start your new project from scratch. This page gets rid of all links and provides the needed markup only. --> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <meta http...
<!DOCTYPE html> <html lang="en"> <?php $this->load->view('_partials/head.php');?> <body class=""> <nav class="navbar navbar-vertical fixed-left navbar-expand-md navbar-light bg-white" id="sidenav-main"> <div class="container-fluid"> <?php $this->load->view('_partials/navbar.php');?> ...
<?php return [ '@class' => 'Grav\\Common\\File\\CompiledYamlFile', 'filename' => '/Users/maik/Sites/maikw.github.io/user/plugins/admin/languages/fa.yaml', 'modified' => 1616003172, 'data' => [ 'PLUGIN_ADMIN' => [ 'ADMIN_NOSCRIPT_MSG' => 'لطفاً جاوا اسکریپت را در مرورگرتان فعال کنید.'...
<?php declare(strict_types=1); /** * This file is part of phpDocumentor. * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. * * @link http://phpdoc.org */ namespace phpDocumentor\Descriptor; use phpDocumentor\Descriptor\Interfaces\Cl...
<?php defined('BASEPATH') OR exit('No direct script access allowed'); class Main_model extends CI_Model { public function __construct(){ parent::__construct(); } public function validate_user($data){ $this->db->select('rowID, username, firstname') ->where(array('username' => $data['username'...
<?php use Illuminate\Support\Facades\Schema; use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class CreateEmergencyFeesTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('emergency...
<?php use Illuminate\Database\Seeder; class DatabaseSeeder extends Seeder { /** * Run the database seeds. * * @return void */ public function run() { $this->call(FirstSeeder::class); $this->call(SettingSeeder::class); } }
<?php namespace CodeIgniter\Router; use CodeIgniter\Config\Services; use CodeIgniter\Exceptions\PageNotFoundException; use CodeIgniter\HTTP\IncomingRequest; use CodeIgniter\Test\CIUnitTestCase; use Config\Modules; /** * @internal */ final class RouterTest extends CIUnitTestCase { /** * @var RouteCollecti...
@extends('layouts.app') @section('content') <div class="container-fluid bg-dark"> <div class="container bg-info"> <nav class="navbar navbar-expand-sm bg-dark navbar-dark"> <ul class="navbar-nav"> <a class="nav-link" href="{{ url('/home') }}">Home</a> <a class="nav-link" href="{{ route...
<?php namespace Flagrow\Mason\Access; use Flarum\Core\Access\AbstractPolicy; use Flarum\Core\Discussion; use Flarum\Core\User; class DiscussionPolicy extends AbstractPolicy { protected $model = Discussion::class; public function updateFlagrowMasonAnswers(User $actor, Discussion $discussion) { if...
<?php namespace app\models; use Yii; use yii\db\ActiveRecord; /** * Регистрация в голосованиии */ class RegistrationInVoting extends ActiveRecord { /* * Статус участния в голосования */ // Пользователь поставлен на регистрацию, Отправлено СМС const STATUS_DISABLED = 0; // Поль...
<?php namespace App\View\Components; use Illuminate\View\Component; class item extends Component { public $item; /** * Create a new component instance. * * @return void */ public function __construct($item) { $this->item = $item; } /** * Get the view / conten...
<?php namespace App; use Illuminate\Database\Eloquent\Model; class ConteudoProva extends Model { protected $table = 'conteudos_provas'; public function prova(){ return $this->belongsTo('App\Prova'); } public function disciplina(){ return $this->belongsTo('App\Disciplina'); } }
<?php namespace Utils; use Utils\Session\Flashbag; use Utils\Session\Storage; use Utils\Theme\Menu; use Utils\Theme\Option; use Utils\Theme\Size; use Utils\Theme\Taxonomy; use Utils\Theme\Types; use Utils\Theme\Webpack; class Provider { public static function init() { self::listeners(); } prote...
<?php /** * This file is part of Temporal 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 Temporal\Exception\Failure; use Temporal\DataConverter\DataConverterInterface; use Temporal\Dat...
<?php # $Id$ # Testing PHPlot - Multiple plot, sticky settings for tick increment # This tests for a problem with under-development R6 PHPlot which calculated # tick steps and stored them back into the object, unlike R5. The result # was that the 2nd plot used the correct range (because it was reset) but # the tick ste...
<?php namespace App\Http\Requests\Order; use Illuminate\Foundation\Http\FormRequest; use Illuminate\Support\Facades\Auth; class UpdateBranchOfficeRequest extends FormRequest { /** * Determine if the user is authorized to make this request. * * @return bool */ public function authorize() ...
<?php namespace App\Providers; use Illuminate\Foundation\Support\Providers\AuthServiceProvider as ServiceProvider; use Illuminate\Support\Facades\Gate; use Laravel\Passport\Passport; class AuthServiceProvider extends ServiceProvider { /** * The policy mappings for the application. * * @var array ...
@extends('restaurant.base') @section('content') {{App::setLocale(Session::get('locale'))}} <?php use Carbon\Carbon; ?> <div class="ms-content-wrapper"> <div class="row"> <div class="col-md-12"> <nav aria-label="breadcrumb"> <ol class="breadcrumb pl-0"> <li cl...
<?php if (isset($_POST["account"])) { require_once("dbtools.inc.php"); //取得登入資料 $login_users = $_POST["account"]; $login_password = $_POST["password"]; //建立資料連接 $link = create_connection(); //檢查帳號密碼是否正確 $sql = "SELECT account, name FROM users Where account = '$login_use...
<!-- Begin Page Content --> <div class="container-fluid"> <!-- Page Heading --> <h1 class="h3 mb-4 text-gray-800"><?= $title; ?></h1> <div class="row"> <div class="col-lg-6"> <?= form_error('menu', '<div class="alert alert-danger" role="alert">', '</div>'); ?> <?= $this->s...
<?php namespace SSystems\EstocBundle\Entity; use Doctrine\ORM\Mapping as ORM; use Gedmo\Mapping\Annotation as Gedmo; use Symfony\Component\Validator\Constraints as Assert; /** * ClientProfile * * @ORM\Table() * @ORM\Entity(repositoryClass="SSystems\EstocBundle\Entity\ClientProfileRepository") */ class ClientPro...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreateCountriesTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('countries', f...
<?php /******************************************************************************* * Copyright 2013 * Telecooperation (TK) Lab * Technische Universität Darmstadt * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may o...
<!doctype html> @extends('layouts.app') @section('title', __('basket.ordering') ) @section('content') <h1>@lang('basket.approve_order')</h1> <div class="container"> <div class="row justify-content-center"> <p>@lang('basket.full_cost') <b>{{ $order->getFullSum() }} {{$currencySymbol}}</b></p> ...
<?php return[ 'Marketstack_ServerKey' => env('MARKETSTACK_ServerKey',null), ]; ?>
<?php use yii\helpers\Html; /* @var $this yii\web\View */ /* @var $model common\models\Metatags */ $this->title = 'Create Metatags'; $this->params['breadcrumbs'][] = ['label' => 'Metatags', 'url' => ['index']]; $this->params['breadcrumbs'][] = $this->title; ?> <div class="metatags-create"> <h1><?= Html::encode...
<?php // +------------------------------------------------------------------------+ // | class.upload.hu_HU.php | // +------------------------------------------------------------------------+ // | Copyright (c) Balázs Bosternák 2013. All rights reserved. | //...
<?php /* * This file is part of the Imagine package. * * (c) Bulat Shakirzyanov <mallluhuct@gmail.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace yii\imagine\Imagine\Gmagick; use yii\imagine\Imagine\Image\Abstract...
<?php namespace App\Http\Controllers; use Storage; use App\User; use App\Traits\GeneralTrait; use Illuminate\Http\Request; use Intervention\Image\Facades\Image; use App\Http\Requests\Employee\StoreRequest; use App\Http\Requests\Employee\UpdateRequest; class EmployeeController extends Controller { /** * Get ...
<?php namespace App\Providers; use Illuminate\Foundation\Support\Providers\RouteServiceProvider as ServiceProvider; use Illuminate\Support\Facades\Route; class RouteServiceProvider extends ServiceProvider { /** * This namespace is applied to your controller routes. * * In addition, it is set as th...
@extends('layouts.master') @section('content') <div class="container-fluid"> <div class="row mb-4"> <div class="col-md-6"> <h4>New Carousel item</h4> </div> </div> <div class="bg-white rounded-lg p-3"> <form method="POST" action="{{action("CarouselController@store")}}" ...
@extends('mahasiswas.layout') @section('content') <div class="container mt-5"> <div class="row justify-content-center align-items-center"> <div class="card" style="width: 24rem;"> <div class="card-header"> Tambah Mahasiswa </div> <div class="card-bod...
@extends('layouts.admin.base') @section('title', 'Pre Pay') {{--@section('breadcrumbs', Breadcrumbs::render('style'))--}} @section('content') <div class="row"> <div class="col-md-11"> <div class="box box-default"> <div class="box-header"> {{--<a class="bt...
<?php namespace Database\Seeders; use Illuminate\Database\Seeder; use Illuminate\Support\Facades\DB; class ProductSectionSeeder extends Seeder { /** * Run the database seeds. * * @return void */ public function run() { for ($section_id = 1; $section_id < 5; $section_id++) { ...
<section id="content"> <section class="vbox"> <section class="scrollable padder"> <div class="m-b-md"> <h3 class="m-b-none">pelanggaran santriwati</h3> </div> <section class="panel panel-default"> <header class="panel-heading"> Input pelanggaran <?php echo $santriwati['nama_lengkap']?> / <?php...
<?php declare(strict_types=1); namespace GCCISWebProjects\Utilities\DatabaseTable\Exceptions\MariaDBException; use GCCISWebProjects\Utilities\DatabaseTable\Exceptions\MariaDBException; class ViewMultiupdate extends MariaDBException { }
<?php namespace App\Http\Controllers\Auth; use App\Http\Requests\Auth\LoginRequest; use App\Http\Controllers\Controller; use Illuminate\Http\Request; use App\Http\Requests\Auth; class LoginController extends Controller { /** * Handle the incoming request. * * @param \Illuminate\Http\Request $request ...
<?php namespace yii\amqp\helpers; use yii\amqp\client\Exchange; /** * Class AmqpHelper * * @package yii\amqp\helpers */ class AmqpHelper { /** * @param Exchange|string $exchange * * @return string */ public static function getExchangeName($exchange) { return !($exchange in...
<?php $__env->startSection('content'); ?><p>An award-winning film maker and television presenter found out a dark family secret when he was just a child by hiding a recording device under the couch when he went to bed.</p> <p>Todd Sampson appeared on Anh Do's latest episode of Brush With Fame on Tuesday night and reve...
<?php class Submenu { public static function make($parent_model,$child_model,$foreignkey){ $str = ''; $data = \$parent_model::all(); foreach ($data as $k=>$item){ $data2 = $child_model::where($foreignkey,'=',$k); foreach($data2 as $item2){ $str .= "<li><a href='#'>".$item2->tieude_vn."</a></li>"; ...
@extends('layouts.master') @section('title') List Materi @endsection @section('add-script') @parent <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/dropzone/5.5.1/dropzone.css"> <script src="https://cdnjs.cloudflare.com/ajax/libs/dropzone/5.5.1/dropzone.js"></script> <link href="https://cdnjs.cloud...
<?php /** * Setup routes with a single request method: * * $app->get('/', App\Action\HomePageAction::class, 'home'); * $app->post('/album', App\Action\AlbumCreateAction::class, 'album.create'); * $app->put('/album/:id', App\Action\AlbumUpdateAction::class, 'album.put'); * $app->patch('/album/:id', App\Action\Albu...
<?php /** * DO NOT EDIT THIS FILE! * * This file was automatically generated from external sources. * * Any manual change here will be lost the next time the SDK * is updated. You've been warned! */ namespace maiorADV\eBaySDK\MerchantData\Enums; class DepositTypeCodeType { const C_CUSTOM_CODE = 'CustomCode...
<?php /** * A password strategy based on multiple rounds of hashes. * The default implementation encodes passwords using 100 rounds of sha1 * @author Charles Pick * @package packages.passwordStrategy */ class AHashPasswordStrategy extends APasswordStrategy { /** * The work factor used when hashing passwords. ...
<?hh // disable array -> "Array" conversion notice <<__EntryPoint>> function main_1442() { error_reporting(error_reporting() & ~E_NOTICE); echo(array("\0" => 1)); echo(array("\0" => "\0")); echo(array("\0" => "\\")); echo(array("\0" => "\'")); echo(array("\\" => 1)); echo(array("\\" => "\0")); echo(array("\\" => "\\...
<?php namespace App\Models; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; class Login extends Model { use HasFactory; protected $fillable =[ 'id', 'body', 'title' ]; }
<?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 | ...
@extends('backend.app') <style> .well{ border: 2px dashed red !important; border-radius:0 !important; } </style> @section('breadcrumb') <ol class="breadcrumb"> <li><a href="{{URL::to('home')}}"><i class="fa fa-home"></i> Home</a></li> <li class="{{URL::to('notice-admin')}}">...
<?php namespace App\Models; use Illuminate\Support\Facades\App; use Illuminate\Database\Eloquent\Model; use Illuminate\Database\Eloquent\Factories\HasFactory; class Category extends Model { use HasFactory; protected $guarded = ["id", "created_at", "updated_at"]; public function department() { ...
<div class="container"> <div class="row"> <?php foreach($contactos as $contacto): ?> <div class="panel panel-default col-md-6"> <div class="panel-body"> <div class="page-header"> <h1> <?php echo $contacto->nombre; ?> ...
<?php /* @var $this EventOwnerController */ /* @var $model EventOwner */ /* @var $form CActiveForm */ ?> <div class=""> <?php $form = $this->beginWidget('ActiveForm', array( 'id' => 'event-owner-form', // Please note: When you enable ajax validation, make sure the corresponding // controller action is handling aj...
<?php namespace AmoCRM2\Models; use ArrayAccess; use AmoCRM2\Exception; use AmoCRM2\Helpers\Format; use AmoCRM2\Request\Request; /** * Class AbstractModel * * Абстрактный класс для всех моделей * * @package AmoCRM\Models * @author dotzero <mail@dotzero.ru> * @link http://www.dotzero.ru/ * @link https://githu...
<?php $install_wizard_pass=1; function install_init(&$a){ global $install_wizard_pass; if (x($_POST,'pass')) $install_wizard_pass = intval($_POST['pass']); } function install_post(&$a) { global $install_wizard_pass, $db; switch($install_wizard_pass) { case 1: case 2: return; break; // just in case...
<?php declare(strict_types=1); namespace PhpParser\Node\Stmt; use PhpParser\Node; class Const_ extends Node\Stmt { /** @var Node\Const_[] Constant declarations */ public $consts; /** * Constructs a const list node. * * @param Node\Const_[] $consts Constant declarations * @param a...
<?php declare(strict_types=1); namespace Psl\Type\Exception; /** * @psalm-immutable */ final class TypeTrace { /** * @psalm-var list<string> $frames */ private array $frames = []; public function withFrame(string $frame): self { $self = clone $this; $self->frame...
<!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>Penjualan - Login</title> <!-...
<?php $lang['lang'] = 'en'; $lang['title'] = '%s: Social Dialing'; $lang['loginplease'] = 'Debes conectarte para realizar esta acción'; $lang['contactadd'] = 'Se añadió correctamente un usuario a la lista de contactos'; $lang['contactdelete'] = 'Se eliminó correctamente el contacto del usuario'; $lang['...
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; use Illuminate\Support\Facades\Auth; class ListsController extends Controller { public function index($id) { $board = Auth::user()->boards()->find($id); $listData = Auth::user()->lists()->leftJoin('todos', function($join) { ...
<?php namespace App\Models; //Reservamos el espacio de nombre de la ruta app\models use CodeIgniter\Model; class ParametrosModel extends Model{ protected $table = 'parametros'; /* nombre de la tabla modelada/*/ protected $primaryKey = 'id'; protected $useAutoIncrement = true; protected $returnTy...
<?php /** * This code is licensed under the BSD 3-Clause License. * * Copyright (c) 2017, Maks Rafalko * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * * Redistributions of source code...
<?php /* * This file is part of the Sonata Project package. * * (c) Thomas Rabaix <thomas.rabaix@sonata-project.org> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Sonata\DoctrineMongoDBAdminBundle\Filter; use Sonata\...
<?php namespace App\Mail; use Illuminate\Bus\Queueable; use Illuminate\Mail\Mailable; use Illuminate\Queue\SerializesModels; use Illuminate\Contracts\Queue\ShouldQueue; class UserMailChanged extends Mailable { use Queueable, SerializesModels; public $user; /** * Create a new message instance. ...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreateArticlesTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('articles', fun...
<?php /* * This file is part of the Sylius package. * * (c) Paweł Jędrzejewski * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ declare(strict_types=1); namespace Sylius\Bundle\UiBundle\DataCollector; use Sylius\Bundle\UiBundle\...
<?php /* * This file is part of Psy Shell. * * (c) 2012-2018 Justin Hileman * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Psy\CodeCleaner; use PhpParser\Node; use PhpParser\Node\Expr; use PhpParser\Nod...
<?php namespace App\Providers; use Illuminate\Support\ServiceProvider; use Illuminate\Support\Str; class AppServiceProvider extends ServiceProvider { /** * Bootstrap any application services. * * @return void */ public function boot() { /** * Clean up new lines in str...
<?php namespace Illuminate\Cookie; use Carbon\Carbon; use Illuminate\Support\Arr; use Symfony\Component\HttpFoundation\Cookie; use Illuminate\Contracts\Cookie\QueueingFactory as JarContract; class CookieJar implements JarContract { /** * The default path (if specified). * * @var string */ ...
<?php return [ 'site_title' => 'پنل مدیریت نظرات و پیشنهادات', 'login_title' => 'ورود به ناحیه کاربری', ];
<?php namespace Tests\Feature; use Illuminate\Foundation\Testing\RefreshDatabase; use Illuminate\Foundation\Testing\WithFaker; use Tests\TestCase; use App\User; use App\Models\Friendship; class CanRequestFriendshipsTest extends TestCase { use RefreshDatabase; /** *@test */ public function guests_users_cann...
<?php namespace App\Repositories; use App\Book; use Illuminate\Support\Facades\DB; class BookRepositoryEloquent implements BookRepositoryInterface { private $model; public function __construct() { $this->model = new Book(); } public function findAll($search) { if ($search) {...
<?php /* V4.80 8 Mar 2006 (c) 2000-2006 John Lim (jlim#natsoft.com.my). All rights reserved. Released under both BSD license and Lesser GPL library license. Whenever there is any discrepancy between the two licenses, the BSD license will take precedence. Set tabs to 8. Revision 1: (02/25/2005) Update...
<?php /** * The Horde_RPC_soap class provides an SOAP implementation of the * Horde RPC system. * * $Horde: framework/RPC/RPC/soap.php,v 1.13.10.17 2009/01/06 15:23:32 jan Exp $ * * Copyright 2003-2009 The Horde Project (http://www.horde.org/) * * See the enclosed file COPYING for license information (LGPL). If...
<?php namespace backend\modules\usermanager\controllers; use backend\controllers\BackendController; use backend\modules\kursmanager\models\Enroll; use backend\modules\kursmanager\models\Kurs; use Yii; use backend\modules\usermanager\models\User; use backend\modules\usermanager\models\search\UserSearch; use yii\data\A...
<?php namespace backend\models; use Yii; /** * This is the model class for table "user_shopping_list". * * @property integer $id * @property string $name * @property string $date_created * @property string $status * @property integer $user_id * * @property ShoppingListItems[] $shoppingListItems * @property...