text
stringlengths
2
1.03M
<?php namespace App\Models; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; use App\Models\EventSpeakerActivities; class EventSpeakers extends Model { use HasFactory; protected $fillable = ['name', 'email', 'linkedin']; public function eventSpeakerActivit...
<?php namespace extCMS\Manager\Forms; use Zend\Form\Form; class AddExtensionForm extends Form { public function __construct($name = null) { parent::__construct('extensionAdd'); $this->setAttribute('method', 'post'); $this->add(array( 'name' => 'name', 'type' => 'Text', ...
<?php /* * This file is part of the Prophecy. * (c) Konstantin Kudryashov <ever.zet@gmail.com> * Marcello Duarte <marcello.duarte@gmail.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Prophecy\Argument\Token; ...
<?php //00551 // -------------------------- // Created by Dodols Team // -------------------------- 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...
<?php namespace App\Http\Controllers\Api; use App\Http\Controllers\Controller; use Illuminate\Http\Request; use App\Tag; class TagController extends Controller { // Per contare i related posts nella index // $tag->number_of_related_posts = $tag->posts->count(); public function show($slug) { $...
<?php /** * This file is part of the TelegramBot package. * * (c) Avtandil Kikabidze aka LONGMAN <akalongman@gmail.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Longman\TelegramBot\Commands\SystemCommands; use Lo...
<?php namespace app\models; use Faker\Provider\Uuid; use Yii; use yii\base\Model; use yii\helpers\FileHelper; use yii\web\UploadedFile; class UploadForm extends Model { public function uploadDir(){ return Yii::getAlias('@app').'/uploads/'; } //return $uploadDir; /** * @var UploadedFile file attribute ...
<?php class CommentController extends \BaseController { /** * Display a listing of the resource. * * @return Response */ public function index() { // } /** * Show the form for creating a new resource. * * @return Response */ public function create() { // } /** * Store a newly 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 App\Http\Middleware; use Closure; use Illuminate\Support\Facades\Auth; class LoginMiddleware { /** * Handle an incoming request. * * @param \Illuminate\Http\Request $request * @param \Closure $next * @return mixed */ public function handle($request, Closure $...
@extends('auth.admin.dashboard') @section('title','Create Category') @section('content-admin') <section class="content-header"> <div class="container-fluid"> <div class="row mb-2"> <div class="col-sm-6"> <h1>Create Product</h1> </div> <div class="col-sm-6"> <ol class="breadcrumb float-sm-right...
@component('components.app') <div> @foreach($users as $user) <a href="{{ $user->path() }}" class="flex items-center mb-5"> <img src="{{ $user->avatar }}" alt="{{ $user->username }}'s avatar" width="60" ...
<?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\Form\Tests\Extension\DataCollector; use Symfony\Compo...
<?php /** * @package yii2-grid * @author Kartik Visweswaran <kartikv2@gmail.com> * @copyright Copyright &copy; Kartik Visweswaran, Krajee.com, 2014 - 2021 * @version 3.3.6 */ namespace kartik\grid; use Closure; use Exception; use kartik\base\BootstrapInterface; use kartik\base\BootstrapTrait; use kartik\...
<?php /** * ------- U-232 Codename Trinity ----------* * ---------------------------------------------* * -------- @authors U-232 Team --------------* * ---------------------------------------------* * ----- @site https://u-232.duckdns.org/ ----* * ---------------------------------------------* * ----- ...
<!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title></title> <!-- <link href="<?php echo base_url() ?>materialize/css/Main.css" rel="stylesheet"/>--> <script src="https://code.jquery.com/jquery-3.3.1.slim.min.js" integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreatePurchaseDetailsTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('purchas...
@extends('layouts.template') @section('breadcrumb') <div class="col-sm-6"> <ol class="breadcrumb float-sm-right"> <li class="breadcrumb-item"><a href="/home">Home</a></li> <li class="breadcrumb-item"><a href="{{ route('ticketAssignments.index') }}">Ticket Assignments</a></li> <li ...
<?php /** @noinspection PhpUndefinedClassInspection */ namespace Tests\Feature; use App\Configs; use Illuminate\Support\Facades\Schema; use Tests\TestCase; class InstallTest extends TestCase { /** * Testing the Login interface. * * @return void */ public function test_install() { /* * Get previous c...
<?php /** * @property PHPParser_Node_Expr $cond Condition * @property PHPParser_Node_Stmt_Case[] $cases Case list */ class PHPParser_Node_Stmt_Switch extends PHPParser_Node_Stmt { /** * Constructs a case node. * * @param PHPParser_Node_Expr $cond Condition * ...
<?php namespace Anomaly\Streams\Platform\Stream; use Anomaly\Streams\Platform\Entry\Command\GenerateEntryModelClassmap; use Anomaly\Streams\Platform\Search\Command\DeleteEntryIndex; use Anomaly\Streams\Platform\Stream\Command\CreateStreamsEntryTable; use Anomaly\Streams\Platform\Stream\Command\DeleteStreamAssignments;...
<?php namespace admin\controllers; use Yii; use common\models\Publisher; use common\search\PublisherSearch; use yii\web\Controller; use yii\web\NotFoundHttpException; use yii\filters\VerbFilter; /** * PublisherController implements the CRUD actions for Publisher model. */ class PublisherController extends Controll...
<div class="content-wrapper"> <!-- Content Wrapper. Contains page content --> <section class="content-header"> <!-- Content Header (Page header) --> <h1>Expense Item </h1> </section> <section class="content"> <!-- Main content --> <div class="row"> <div class='col-md...
<!-- Portfolio--> <div id="portfolio"> <div class="container-fluid p-0"> <div class="row no-gutters"> [block slug="portfolio-box"] [block slug="portfolio-box"] [block slug="portfolio-box"] [block slug="portfolio-box"] [block slug="portfolio-box"] ...
@extends('layouts.admin') @section('content') <div class="container"> <div class="row"> <div class="col-lg-3 col-md-3 col-12"> <div class="card-top bg-three"> <h6>Visitor's</h6> </div> </div> <div class="col-lg-3 col-md-3 col-12"> <div class="...
<?php /** * @see https://github.com/laminas/laminas-view for the canonical source repository * @copyright https://github.com/laminas/laminas-view/blob/master/COPYRIGHT.md * @license https://github.com/laminas/laminas-view/blob/master/LICENSE.md New BSD License */ namespace LaminasTest\View\Strategy; use ...
<!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>CBT Talenta School</titl...
<?php namespace frontend\controllers; use common\services\containers\MailMessage; use frontend\models\Company; use frontend\models\Deal; use Yii; use common\services\GmailClient; use common\services\GoogleAuthClientFactory; use common\services\MailClient; use frontend\models\Contact; use frontend\models\EmailSearchF...
@extends('layouts.app') @section('content') <div class="container"> <div class="row"> <div class="col-md-12"> <div class="card"> <div class="card-body"> <h3>Edit {{ $book->title }}</h3> {!! Form::model($book, ['route' => ['book.update', $book],'method' =>'patch', 'files' => true])!!} @includ...
<?php namespace App\Http\Controllers; use App\Models\Product; use Illuminate\Http\Request; use App\Models\ProductCategory; use App\Models\ProductImage; use Illuminate\Support\Facades\Storage; class ProductController extends Controller { /** * Display a listing of the resource. * * @return \Illumin...
<?php namespace Phonebook\Http; use Illuminate\Foundation\Http\Kernel as HttpKernel; class Kernel extends HttpKernel { /** * The application's global HTTP middleware stack. * * These middleware are run during every request to your application. * * @var array */ protected $middle...
<?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 namespace Icecave\Chrono\Interval; use Icecave\Chrono\Date; use PHPUnit_Framework_TestCase; /** * @covers Icecave\Chrono\Interval\Year * @covers Icecave\Chrono\Detail\Iso8601 */ class YearTest extends PHPUnit_Framework_TestCase { public function setUp() { $this->year = new Year(2012); } ...
<div class="content-wrapper"> <!-- Content Header (Page header) --> <section class="content-header"> <h1> <i class="fa fa-users"></i> Todas las tareas <small>Tareas en el panel</small> </h1> </section> <section class="content"> <div class="col-xs-12"> <div class="box"> <div...
<?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 namespace frontend\assets; use yii\web\AssetBundle; /** * Main frontend application asset bundle. */ class AppAsset extends AssetBundle { public $basePath = '@webroot'; public $baseUrl = '@web'; public $css = [ 'css/site.css', ]; public $js = [ ]; public $depends = [ ...
@extends('layouts.main') @section('content') Homepage @stop
<nav class="navbar navbar-default navbar-inverse"> <div class="container-fluid"> <!-- Brand and toggle get grouped for better mobile display --> <div class="navbar-header"> <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collap...
@extends('template') @section('content') <!-- BEGIN CONTENT AREA --> <div id="content" class="main-content"> <div class="container"> <div class="container"> <br> <div> <nav class="breadcrumb-one" aria-label="breadcrumb"> <ol class="breadcrumb"> ...
<?php /** * Created by PhpStorm. * User: Administrator * Date: 2019/3/4 * Time: 14:03 */ namespace app\tuanj\controller; use think\Db; use controller\BasicAdmin; use service\DataService; class Clearcate extends BasicAdmin { private $dataform = 'clear_title'; public function index() { $this->ti...
<meta charset="utf-8" /> <title>@yield('title') | Minible - Admin & Dashboard Template</title> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta content="Premium Multipurpose Admin & Dashboard Template" name="description" /> <meta content="Themesbrand" name="author" /> <!-- App favicon --> <l...
@extends('admin::layouts.content') @section('page_title') {{ __('admin::app.promotions.catalog-rules.edit-title') }} @stop @section('content') <div class="content"> <catalog-rule></catalog-rule> </div> @stop @push('scripts') @parent <script type="text/x-template" id="catalog-rule-templ...
@extends('layouts.main') @section('content') @include('frontend.sections.headsection') @include('frontend.sections.slidersection') @include('frontend.sections.welcomesection') @include('frontend.sections.servicesection') {{-- @include('frontend.sections.aboutussection') --}} @include('frontend.sections.newfeaturedsecti...
<?php declare(strict_types=1); /** * DO NOT EDIT THIS FILE as it will be overwritten by the Pbj compiler. * @link https://github.com/gdbots/pbjc-php * * Returns an array of curies using mixin "triniti:dam:mixin:document-asset:v1" * @link http://acme-schemas.triniti.io/json-schema/triniti/dam/mixin/document-asset/...
<?php namespace common\models\search; use yii\base\Model; use yii\data\ActiveDataProvider; use common\models\ClassifiedDisplayAdLocations; /** * ClassifiedDisplayAdLocationsSearch represents the model behind the search form of `common\models\ClassifiedDisplayAdLocations`. */ class ClassifiedDisplayAdLocationsSearc...
<?php /** * This file was generated by phpSPO model generator 2019-10-12T18:54:53+00:00 16.0.19402.12016 */ namespace Office365\SharePoint; use Office365\Runtime\ClientValue; /** * Microsoft.SharePoint.Client.ProvisionedMigrationQueueInfo * is not applicable.<268> */ class ProvisionedMigrationQueueInfo extends ...
<div class="footer"> <br>&nbsp;<br><span style="font-size:12px;opacity:0.7"><sup>*</sup> Disclaimer: All the website's content is automatically generated. The website's creator accepts no liability for content deemed offensive or illegal</span></br> {{-- <div class="pure-menu pure-menu-horizontal"> <ul>...
<?php if (!defined('BASEPATH')) exit('No direct script access allowed'); /** * A very simple sitemap link generator * * This class uses the PHP5 Reflection class to find all the public methods * in a CodeIgniter controller class and generate a list of links. * * @author Jonathon Hill <jonathon@compwrigh...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreateKomentarsTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('komentars', f...
<?php // This file was auto-generated from sdk-root/src/data/cloudfront/2020-05-31/docs-2.json
<?php namespace Acme\TestBundle\Tests\Controller; use Symfony\Bundle\FrameworkBundle\Test\WebTestCase; class DefaultControllerTest extends WebTestCase { public function testIndex() { $client = static::createClient(); $crawler = $client->request('GET', '/hello/Fabien'); $this->assert...
<?php namespace App\Http\Middleware; use Closure; use Illuminate\Support\Facades\Auth; class SuperAdmin { /** * Handle an incoming request. * * @param \Illuminate\Http\Request $request * @param \Closure $next * @return mixed */ public function handle($request, Closure $next)...
<?php use app\common\model\Category; use fast\Form; use fast\Tree; use think\Db; if (!function_exists('build_select')) { /** * 生成下拉列表 * @param string $name * @param mixed $options * @param mixed $selected * @param mixed $attr * @return string */ function build_select($name,...
<!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"> <title>Laravel Quickstart - Basic</title> <!-- Fonts --> <link href="https://cdnjs.cloudflare.com/ajax/libs/...
<?php namespace App\Http\Controllers; use App\Models\camposDocumentoPlanoModel; use PhpOffice\PhpSpreadsheet\IOFactory; use PhpOffice\PhpSpreadsheet\Worksheet\Drawing; class exportExcelController extends Controller { public function leerExcel($idDocPlano) { $camposDocumentoPlano = camposDocumentoPla...
@extends('base') @section('mainBody') <main id="main"> <div class="container"> <div class="row topspace"> <div class="col-sm-8 col-sm-offset-2"> <article class="post"> <header class="entry-header"> <div class="entry-meta"> <span class="posted-on"><time class="entry-date published" date="...
@extends('layouts.app') @section('content') <div class="container"> <br> <h4>Update | Category</h4> <br> <form id="UpdateCategoryForm" name="sentMessage" novalidate> <div class="control-group"> <div class="form-group floating-label-form-group controls"> <la...
<?php namespace Core\Controller; class Controller { use \Core\Loads; }
<?php namespace app\controller\user; use app\BaseController; use app\model\Banner as BannerModel; class Banner extends BaseController { /**获取所有广告信息 */ public function getAllBanner(){ $res = BannerModel::getAllbanner(); return $this->success($res); } public function getBanner($...
<?php return [ 'optician_name' => "Nom opticien" ];
<?php use Illuminate\Database\Eloquent\Model; use Illuminate\Database\Seeder; use LootTracker\Repositories\User\Permission; use LootTracker\Repositories\User\Role; use LootTracker\Repositories\User\User; class EntrustSeeder extends Seeder { /** * Run the database seeds. * * @return void */ ...
<?php namespace App\Classes; use App\Classes\Sesion; use Illuminate\Http\Request; use App\Models\Usuario; class Sesion { public static function iniciado(Request $request) { $iniciado = false; $usuario_id = session('usuario_id'); if($usuario_id){ $usuario = Usuario:...
<?php namespace IhrV2\Models; use Illuminate\Database\Eloquent\Model; class State extends Model { protected $table = 'states'; public function RegionName() { return $this->belongsTo('IhrV2\Models\Region', 'region_id'); } public function ListDistrict() { return $this->hasMany('IhrV2\Models\District', ...
<?php return [ 'parameters' => [ 'foo' => 'existing_foo', 'boolean' => false, 'another' => null, 'nested' => [ 'foo' => 'bar', 'bar' => 'baz', ], ], ];
<?php /* +------------------------------------------------------------------------+ | Phalcon Framework | +------------------------------------------------------------------------+ | Copyright (c) 2011-2012 Phalcon Team (http://www.phalconphp.com) | ...
<?php /** * BigBlueButton open source conferencing system - https://www.bigbluebutton.org/. * * Copyright (c) 2016-2018 BigBlueButton Inc. and by respective authors (see below). * * This program is free software; you can redistribute it and/or modify it under the * terms of the GNU Lesser General Public License a...
<?php /** * This code was generated by * \ / _ _ _| _ _ * | (_)\/(_)(_|\/| |(/_ v1.0.0 * / / */ namespace Twilio\Rest\Api\V2010\Account; use Twilio\Options; use Twilio\Values; abstract class CallOptions { /** * @param string $url Url from which to fetch TwiML * @param string $applic...
<?php return [ /* |-------------------------------------------------------------------------- | Mail Driver |-------------------------------------------------------------------------- | | Laravel supports both SMTP and PHP's "mail" function as drivers for the | sending of e-mail. You may specify which one you'...
<?php namespace App\Http\Controllers\Api\v1; use App\Http\Controllers\Controller; use App\Http\Requests\Api\v1\AttachmentController\CreateRequest; use App\Http\Requests\Api\v1\AttachmentController\UpdateRequest; use App\Http\Requests\Api\v1\FilterRequest; use App\Http\Requests\Api\v1\GetValuesByModelRequest; use App\...
<?php namespace MAF\EpgApi\Http\Controllers; use Illuminate\Foundation\Bus\DispatchesJobs; use Illuminate\Routing\Controller as BaseController; use Illuminate\Foundation\Validation\ValidatesRequests; use Illuminate\Foundation\Auth\Access\AuthorizesRequests; abstract class Controller extends BaseController { // us...
<?php /* * This file is part of the PHPJasper. * * (c) Daniel Rodrigues (geekcom) * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ declare(strict_types=1); namespace PHPJasper; class PHPJasper { /** * @var string ...
<?php namespace app\api\controller; header("Access-Control-Allow-Origin: *"); header("Access-Control-Allow-Methods: GET, POST"); // //同源策略 跨域请求 头设置 header('content-type:text/html;charset=utf-8'); header("Access-Control-Allow-Headers: Origin, No-Cache, X-Requested-With, If-Modified-Since, Pragma, Last-Modified, Cache-C...
<?php namespace App\Console\Commands; use App\Payments; use App\Cancelations; use Illuminate\Support\Facades\Log; use Illuminate\Console\Command; use Carbon\Carbon; use Mail; use App\Mail\RechazarTourporGuia\GuiaRechazarTourCliente; use App\Mail\RechazarTourporGuia\GuiaRechazarTourGuia; class TourCancelNoRespuesta...
<?php $this->extend('layouts/layout_mainnew'); $s = session(); // profile $profile = explode(',',$user['profile']); $check_user = ''; $check_admin = ''; $check_realestate = ''; if(in_array('admin', $profile)){ $check_admin = "checked";} if(in_array('realestate', $profile)){ $check...
<?php namespace App\Models; use Illuminate\Contracts\Auth\MustVerifyEmail; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Foundation\Auth\User as Authenticatable; use Illuminate\Notifications\Notifiable; use Laravel\Sanctum\HasApiTokens; class User extends Authenticatable { use HasFactory,...
@foreach ($user->getRoleNames() as $rol) {{ $rol }}, @endforeach
<?php namespace App\Entity; use Doctrine\ORM\Mapping as ORM; /** * Seance * * @ORM\Table(name="seance", indexes={@ORM\Index(name="test", columns={"id_matiere"}), @ORM\Index(name="test123", columns={"id_professeur"})}) * @ORM\Entity(repositoryClass="App\Repository\SeanceRepository") */ class Seance { /** ...
@extends('layouts.app') @section('content') <div class="row"> <div class="col-sm-12"> <h1 class="pull-left">Create New lampiran</h1> </div> </div> @include('core-templates::common.errors') <div class="row"> {!! Form::open(array('action' => ['Admin\LampiranControll...
<?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\Component\Subscriber; use Doctrine\Common\Even...
<div class="uk-width-1-1"> <nav class="uk-navbar"> <ul class="uk-navbar-nav"> <li><a href="<?php echo base_url('admin/dashboard') ?>">Dashboard</a></li> <li><a href="<?php echo base_url('admin/participants') ?>">Manage Contestant</a></li> <li><a href="<?php echo base_url(...
<?php /** * Created by PhpStorm. * User: quannd * Date: 5/3/17 * Time: 3:12 PM */ namespace common\models\amazon; use common\components\Cache; use common\components\RestClient; use common\models\model\AmazonApiSearchLog; use common\models\service\SiteService; use yii\helpers\Url; class AmazonClient { /** ...
<?php declare(strict_types=1); namespace Laminas\AutomaticReleases\Test\Unit\Github\Api\GraphQL; use Laminas\AutomaticReleases\Github\Api\GraphQL\RunGraphQLQuery; use Laminas\Diactoros\Request; use Laminas\Diactoros\Response; use PHPUnit\Framework\MockObject\MockObject; use PHPUnit\Framework\TestCase; use Psl\Secure...
<?php namespace App; use Illuminate\Database\Eloquent\Model; class Aluno extends Model { protected $fillable = [ 'rga', 'semestre', 'tel_id', 'pessoa_id', 'inst_id', 'campus_id', 'curso_id', 'end_id' ]; public function pessoa(){ return $this->belongsTo(Pessoa::class, 'pes...
<?php // This script have options to done, undone or delete note require_once 'app/init.php'; if(isset($_GET['as'], $_GET['item'])) { $as = $_GET['as']; $item = $_GET['item']; } switch($as) { case 'done': $doneQuery = $db->prepare(" UPDATE progress2 SET done = 1 WHERE id = :item A...
<?php /** * @category Model * @package ModernPdf\Component\ObjectType * @author Tristan Maindron <contact@owly-code.com> * @license http://opensource.org/licenses/MIT MIT * @link http://github.com/OwlyCode/ModernPdf */ namespace ModernPdf\Component\ObjectType; class PdfBoolean implements PdfTypeInterfac...
<?php namespace App\Models; use CodeIgniter\Model; class NewsModel extends Model { protected $table = 'news'; protected $allowedFields = ['title', 'slug', 'body']; public function getNews($slug = false) { if($slug === false) { return $this->findAll(); } ...
@extends('layouts.main') @section('title', 'Produtos') @section('content') <h1>Pagina de contato</h1> @endsection
<?php session_start(); require('./functions/getClues.php'); ?> <div class="title-container"> <h1 class="title"><div>D</div>icas</h1> <hr> </div> <div class="clues-container"> <div class="container clues-more clues"> <div class="clues-title"> <b>Dicas quentes!</b> <b...
<?php /** * Helper autocomplete for php solr extension. * * @author Pierre-Julien Mazenot <pj.mazenot@gmail.com> * @link https://github.com/pjmazenot/phpsolr-phpdoc */ /** * (PECL solr &gt;= 0.9.2)<br/> * Class SolrResponse<br/> * This class represents a response from the Solr server. * @link https://php.ne...
<?php namespace App\Http\Controllers; use Illuminate\Database\Schema\Blueprint; use Illuminate\Http\Request; use Illuminate\Support\Facades\Schema; use Illuminate\Support\Facades\Validator; class TableController extends Controller { public function create($name) { $tableName = $name; $fields = [...
<?php namespace YYHemail; class smtp { /* Public Variables */ var $smtp_port; var $time_out; var $host_name; var $log_file; var $relay_host; var $debug; var $auth; var $user; var $pass; /* Private Variables */ var $sock; /* Constractor */ functio...
@extends('layout') @section('title', 'Sotuv voronkasi tahlili') @section('header-text', "Sotuv voronkasi tahlili") @section('content') <div class="container tbl mb-5" > <!-- filter by date --> <div class="filter-by-date"> <form action="/analytics/funnel" class="filter-select"> ...
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; use App\Models\Karyawan; class KaryawanController extends Controller { /** * Display a listing of the resource. * * @return \Illuminate\Http\Response */ public function index() { return view('karyawan', [ ...
<!-- Top Bar Nav --> <nav class="w-full py-5 bg-white flex-col"> <div class="flex w-full container mx-auto justify-between items-center"> <nav> @if (Route::has('login')) <ul class="flex items-center align-center font-medium text-sm text-black uppercase no-underline"> @auth <li><a class...
<?php namespace App\Mail; use App\Models\User; use Illuminate\Bus\Queueable; use Illuminate\Mail\Mailable; use Illuminate\Queue\SerializesModels; use Illuminate\Contracts\Queue\ShouldQueue; class UserRegistered extends Mailable { use Queueable, SerializesModels; /** * The user instance. * * @...
<?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\Console\Question; /** * Represents a y...
<?php //dezend by http://www.yunlu99.com/ class LiveSocket { public function redis($server) { return redis(); } /** * @param $server * @param $data */ public function onMessage($server, $data, $fd) { global $_W; $data = $this->special($data); if (empty($data['type']) || empty($data['roomid...
<?php namespace App; use Illuminate\Database\Eloquent\Model; class TicketDetail extends Model { protected $table_name = 'ticket_details'; public function foo() { echo "Ovo je druga funkcija koja to mozda i nije"; } }
<?php /* * This file is part of the eluceo/iCal package. * * (c) 2021 Markus Poerschke <markus@poerschke.nrw> * * This source file is subject to the MIT license that is bundled * with this source code in the file LICENSE. */ namespace Eluceo\iCal\Presentation\Component\Property\Value; use Eluceo\iCal\Domain\V...
<?php /** * Implement posts metabox. * * @package Write Blog */ if ( ! function_exists( 'write_blog_add_theme_meta_box' ) ) : /** * Add the Meta Box * * @since 1.0.0 */ function write_blog_add_theme_meta_box() { $post_types = array( 'post', 'page' ); foreach ( $post_types as $post_type ) { add_...