text
stringlengths
2
1.03M
<?php use Twig\Environment; use Twig\Error\LoaderError; use Twig\Error\RuntimeError; use Twig\Markup; use Twig\Sandbox\SecurityError; use Twig\Sandbox\SecurityNotAllowedTagError; use Twig\Sandbox\SecurityNotAllowedFilterError; use Twig\Sandbox\SecurityNotAllowedFunctionError; use Twig\Source; use Twig\Template; /* @W...
<?php namespace frontend\models; use Yii; class Test { public static function getNewsList($max) { $max = intval($max); $sql = 'SELECT * FROM News LIMIT '.$max; $result = Yii::$app ->db->createCommand($sql)->queryAll(); $helper = Yii::$app->stringHelper; if(!empty($resul...
<?php namespace App\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 $middleware =...
<?php declare(strict_types=1); use Doctrine\Tests\Models\Company\CompanyPerson; $metadata->setPrimaryTable( ['name' => 'company_person'] ); $metadata->addNamedNativeQuery( [ 'name' => 'fetchAllWithResultClass', 'query' => 'SELECT id, name, discr FROM company_persons ...
<?php // +---------------------------------------------------------------------- // | OneThink [ WE CAN DO IT JUST THINK IT ] // +---------------------------------------------------------------------- // | Copyright (c) 2013 http://www.onethink.cn All rights reserved. // +-----------------------------------------------...
<!doctype html> <html lang="{{ str_replace('_', '-', app()->getLocale()) }}"> @include('layouts.style') <body> <div class="container login_form"> <center><img src="{{asset('image\avatar.png')}}" alt="Girl in a jacket"></center> <form action="/check" method="POST"> @csrf <div class="row"> ...
<?php namespace App\Entite; use Illuminate\Database\Eloquent\Model; class Listutilisateur extends Model { /** * Generated */ protected $table = 'listutilisateur'; protected $fillable = ['IDUTILISATEUR', 'IDPERSONNEPHYSIQUE', 'LIBELLE', 'DROIT', 'DATECREATION', 'UPDATED_AT', 'CREATED_AT']; pro...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="description" content="Creative - Bootstrap 3 Responsive Admin Template"> <meta name="author" content="GeeksLabs"> <meta name="keyword" content="Creative, Dashboard...
<?php namespace App\Http\Controllers; use App\Models\Permission_Role; use Illuminate\Http\Request; class PermissionRoleController extends Controller { /** * Display a listing of the resource. * * @return \Illuminate\Http\Response */ public function index() { // } /** ...
@extends('layouts.api_webfront') @section('content') <h2>How to use the seeded Rights</h2> <div class="links"> <a href="{{url('/howto')}}">⬅️ back</a> </div> <div class="text-left m-b-md" style="height: 500px; overflow: auto;"> <i>The users on this demo API-server</i><br> <br> ...
<?php namespace App\Filters; use Imagick; use Intervention\Image\Image; use Intervention\Image\Filters\FilterInterface; class GlossFilter implements FilterInterface { public function applyFilter(Image $image) { $image->getCore()->modulateImage(100, 150, 100); $image->gamma(.8); $image->co...
<?php /** * Part of CI PHPUnit Test * * @author Kenji Suzuki <https://github.com/kenjis> * @license MIT License * @copyright 2015 Kenji Suzuki * @link https://github.com/kenjis/ci-phpunit-test */ namespace Kenjis\MonkeyPatch\Patcher; require __DIR__ . '/FunctionPatcher/NodeVisitor.php'; require _...
<?php namespace Admin\Controller; use Think\Controller; /** * 考勤月记录 */ class AttendanceMonth1Controller extends AdminController{ /** */ public function index(){ $uid=is_login(); $group=D('User')->where("id='$uid'")->getField('group'); if($group== 3){ $keyword = I('keyword', '', 'string')...
@extends('layouts.app') @section('content') <div class="main-content"> <div class="page-content"> <div class="row"> <div class="col-12"> <div class="page-title-box d-flex align-items-center justify-content-between"> <h4 class="page-title mb-0 font-size-18">A...
<?php namespace App\Charts\Jtse; use Illuminate\Support\Facades\DB; use ArielMejiaDev\LarapexCharts\LarapexChart; class PerbandinganGolongan { protected $chart; public function __construct(LarapexChart $chart) { $this->chart = $chart; } public static function getCurrentTime($scope) ...
<?php defined('BASEPATH') OR exit('No direct script access allowed'); class Teacher extends CI_Controller { public function __construct() { parent::__construct(); $this->load->view('header'); $this->load->model('model'); } public function index(){ $this->load->view('...
@extends('layouts.admin') @section('content') <div class="container"> <div class="row justify-content-center"> <div class="col-md-12"> <div class="card"> <div class="card-header"> Tambah Data Kota </div> <div class="card-body"> ...
<?php ///////////////////////////////////////////////////////////////// /// getID3() by James Heinrich <info@getid3.org> // // available at https://github.com/JamesHeinrich/getID3 // // or https://www.getid3.org // // or http://getid3.sourceforge.net ...
<?php namespace Oro\Bundle\ApiBundle\Tests\Unit\Processor\GetMetadata\Loader; use Oro\Bundle\ApiBundle\Config\EntityDefinitionConfig; use Oro\Bundle\ApiBundle\Config\EntityDefinitionFieldConfig; use Oro\Bundle\ApiBundle\Metadata\EntityMetadata; use Oro\Bundle\ApiBundle\Model\EntityIdentifier; use Oro\Bundle\ApiBundle...
@extends('layouts.app') @section('content') <script src="{{ url('/js/controller/categoryController.js') }}"></script> <div class="container" ng-controller="Ctrl"> <div class="row"> <div class="col-md-6"> <div class="panel panel-default"> <div class="panel-heading"></div> ...
<?php namespace ContainerZGPxu85; use Symfony\Component\DependencyInjection\Argument\RewindableGenerator; use Symfony\Component\DependencyInjection\Exception\RuntimeException; /** * @internal This class has been auto-generated by the Symfony Dependency Injection Component. */ class getTranslation_ExtractorService ...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreateGalleryTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('gallery', funct...
<?php namespace Hkonnet\QuiptApi\Common\SimpleType; /** * WarrantyProviders * * @author Sadam Hussain <dami_sadam@yahoo.com> * @package PHP Quipt API wrapper * @subpackage Inventory Service */ class WarrantyProviders extends \Hkonnet\QuiptApi\AbstractSimpleType { const _None = 0; const _Manu...
<?php namespace App\Command\Installer; use App\Command\Helper\CommandsRunner; use App\Installer\Provider\DatabaseSetupCommandsProviderInterface; use Symfony\Component\Console\Command\Command; use Symfony\Component\Console\Input\InputInterface; use Symfony\Component\Console\Output\OutputInterface; use Symfony\Componen...
<form action="#" method="post" data-url="<?php echo admin_url('admin-ajax.php'); ?>"> <div class="form-group"> <input type="text" class="form-field" placeholder="Your Name" id="name" name="name" required> <small class="field-msg error">Your Name is Required</small> </div> <div class="form-group"> <input type...
<?php namespace OAuth2\Storage; /** * Simple in-memory storage for all storage types * * NOTE: This class should never be used in production, and is * a stub class for example use only * * @author Brent Shaffer <bshafs at gmail dot com> */ class Memory implements AuthorizationCodeInterface, UserCredentials...
<?php namespace App\View\Components; use Illuminate\View\Component; class match-picks extends Component { /** * Create a new component instance. * * @return void */ public function __construct() { // } /** * Get the view / contents that represent the component. ...
<?php namespace App; use Illuminate\Database\Eloquent\Model; class multiple_image extends Model { // }
@props([ 'classes' => 'mr-4 h-6 w-6 text-amber-200 dark:text-gray-400', ]) @if($classes) <svg class="{{$classes}}" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor"> <path fill-rule="evenodd" d="M3.293 9.707a1 1 0 010-1.414l6-6a1 1 0 011.414 0l6 6a1 1 0 01-1.414 1.414L11 5.414V17a1 1...
<?php namespace App\Http\Controllers\Home; use App\Http\Controllers\Controller; use Illuminate\Http\Request; use Illuminate\Support\Facades\DB; use App\Post,App\Imgpost,App\User,App\Cmt,App\Info,Auth; use Illuminate\Support\Facades\URL; class ShowController extends Controller { public function getHome(){ ...
<?php defined('BASEPATH') OR exit('No direct script access allowed'); class Pedido_model extends CI_Model{ function __construct(){ parent::__construct(); } function listar(){ $this->db->select('*'); $this->db->from('pedido'); $this->db->join('meioPag','meioPag.idmeiopa...
<?php session_start(); unset( $_SESSION['id_usuario'], $_SESSION['nome'], $_SESSION['email'], $_SESSION['senha'], $_SESSION['niveis_acesso_id'] ); $_SESSION['logindeslogado'] = "Deslogado com sucesso"; header("location: ../login.php"); ?>
<nav class="header-navbar navbar-expand-md navbar navbar-with-menu navbar-without-dd-arrow fixed-top navbar-dark bg-cyan navbar-shadow navbar-brand-center"> <div class="navbar-wrapper header_vr"> <div class="navbar-header"> <ul class="nav navbar-nav flex-row"> <li class="nav-item...
<?php class Fingerprint { static function calculatePercentages($items) { $total = 0; while (list($k,$v) = each($items)) { $total += $v['value']; } reset ($items); while (list($k,$v) = each($items)) { $items[$k]['percentage'] = round(($v['value'] / $total) * 100); if ($items[$k]['perc...
<?php namespace Drupal\KernelTests\Core\Config\Entity; use Drupal\Core\Config\Entity\ConfigEntityUpdater; use Drupal\Core\Site\Settings; use Drupal\KernelTests\KernelTestBase; /** * Tests \Drupal\Core\Config\Entity\ConfigEntityUpdater. * * @coversDefaultClass \Drupal\Core\Config\Entity\ConfigEntityUpdater * @gro...
<?php return array( /* |-------------------------------------------------------------------------- | PDO Fetch Style |-------------------------------------------------------------------------- | | By default, database results will be returned as instances of the PHP | stdClass object; however, you may desire t...
<div id="{{ $resource['name'] }}" class="subsection"> <h4 class="mb-4">Find a Subscriber</h4> <div class="row"> <div class="col-md-6 pr-5"> <p>Find a Subscriber</p> <div class="mt-4"> <h5>Parameters</h5> <div class="mt-3">...
<?php /* |-------------------------------------------------------------------------- | Application Routes |-------------------------------------------------------------------------- | | Here is where you can register all of the routes for an application. | It's a breeze. Simply tell Laravel the URIs it should respond ...
<div class="page-header"> <h2><?= t('Categories') ?></h2> <ul> <li> <?= $this->modal->medium('plus', t('Add a new category'), 'CategoryController', 'create', array('project_id' => $project['id'])) ?> </li> </ul> </div> <?php if (empty($categories)): ?> <p class="alert"><?= t(...
<?php return [ /* |-------------------------------------------------------------------------- | Third Party Services |-------------------------------------------------------------------------- | | This file is for storing the credentials for third party services such | as Stripe, Mailgun, ...
<?php /* forms/fields/number/number.html.twig */ class __TwigTemplate_c8f138ac305bf481e2583739312027f92fc55dff91619efbf242cc91a61a6698 extends Twig_Template { public function __construct(Twig_Environment $env) { parent::__construct($env); // line 1 $this->parent = $this->loadTemplate("...
@extends('layouts.popup') @section('title') 国検索 @endsection @section('stylesheet') {!! public_url('modules/popup/css/search_country.css')!!} @endsection @section('page_javascript') {!! public_url('modules/popup/js/search_country.js')!!} @endsection @section('content') <!-- Main content --> <div class="row for...
<?php use Illuminate\Http\Request; use Illuminate\Support\Facades\Route; /* |-------------------------------------------------------------------------- | API Routes |-------------------------------------------------------------------------- | | Here is where you can register API routes for your application. These | r...
<?php function searchImages($search = '',$page = 0){ $limit = 45; $offset = $limit * $page; $offsetInject = "OFFSET $offset"; if ($offset > 0){ $offsetInject = ""; } $imageArray = array(); $pieces = explode(" ", $search); if (count($pieces) > 5){ //...
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreateNewUsersTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('users', function ...
<?php namespace PlanetaDelEste\ApiGoodNews\Classes\Event; use Lovata\GoodNews\Classes\Collection\ArticleCollection; use Lovata\GoodNews\Classes\Collection\CategoryCollection; use Lovata\GoodNews\Models\Article; use Lovata\GoodNews\Models\Category; use October\Rain\Events\Dispatcher; use PlanetaDelEste\ApiToolbox\Plugi...
@extends('layouts.front', ['subtitle'=>'Carrito de Compras']) @section('contenido') @include('partials.socialfixed') @include('partials.banner', ['brand'=>['name'=>'Carrito de Compras', 'img'=> asset('media/banner.jpg')]]) <div class="container contenido"> <div class="row justify-content-around"> <div class="col-...
<?php /* @Marketplace/getNewPluginsAdmin.twig */ class __TwigTemplate_4f925ca31c53b1631e5aae66fa1740a222603b2ce3f519a9ce6a463acbc58953 extends Twig_Template { public function __construct(Twig_Environment $env) { parent::__construct($env); $this->parent = false; $this->blocks = array( ...
<?php namespace KnpU\OAuth2ClientBundle\Security\Helper; use Symfony\Component\HttpFoundation\Request; trait PreviousUrlHelper { /** * Returns the URL (if any) the user visited that forced them to login. * * @param Request $request * @param string $providerKey * * @re...
<?php /* * This file is part of PHPExifTool. * * (c) 2012 Romain Neutron <imprec@gmail.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace PHPExiftool\Driver\Tag\KodakIFD; use JMS\Serializer\Annotation\ExclusionPolicy...
<?php class SocialSharing_Projects_Builder_Flat extends SocialSharing_Projects_Builder_Standard { /** * Returns the unique builder name. * * @return string */ public function getName() { return 'flat'; } /** * Returns button composite. * @param SocialSharing_...
<?php /** * This file is part of AMNL-Mollie. * * (c) Arno Moonen <info@arnom.nl> * * For the full copyright and license information, please view * the LICENSE file that was distributed with this source code. * * @author Arno Moonen <info@arnom.nl> * @copyright Copyright (c) 2012, Arno Moonen <info@arnom.nl> ...
<?php namespace App\Repositories; use App\Models\ClientModel; class ClientRepository { function __construct() { $this->client = new ClientModel(); } public function geAll() { $sql = "SELECT (cli.id)id, (cli.cnpjCpf)cnpjCpf, (cli.name)name, (cli.t...
<?php namespace App\Services; use Carbon\Carbon; use Carbon\CarbonPeriod; class EventService extends AbstractService { public function store(array $data): array { $event = $this->model->firstOrCreate([ 'name' => data_get($data, 'name') ]); $dates = $this->getDaysOfRange( ...
<?php use Illuminate\Database\Seeder; class DatabaseSeeder extends Seeder { /** * Seed the application's database. * * @return void */ public function run() { $this->call(UsersTableSeeder::class); $this->call(ChannelsTableSeeder::class); $this->call(Discussion...
<?php $__env->startSection('title', 'Page Expired'); ?> <?php $__env->startSection('message'); ?> The page has expired due to inactivity. <br/><br/> Please refresh and try again. <?php $__env->stopSection(); ?> <?php echo $__env->make('errors::layout', array_except(get_defined_vars(), array('__data', '__p...
<div class="container"> <div class="row"> <div class="col-md-12 mb-2 card"> <div class="card-body"> <?php if (!empty(session()->getFlashdata('error'))) : ?> <div class="alert alert-danger" role="alert"> <?php echo session()->getFlashdata('error'); ?> ...
<?php namespace Lmc\Matej\Model\Command; use Lmc\Matej\UnitTestCase; class SortingTest extends UnitTestCase { /** @test */ public function shouldBeInstantiableViaNamedConstructor() { $userId = 'user-id'; $itemIds = ['item-1', 'item-3', 'item-2']; $modelName = 'test-model-name'; ...
<?php class InvalidSignatureException extends Exception { }
<?php /** * This file was created by the developers from Infifni. * Feel free to contact us once you face any issues or want to start * another great project. * You can find more information about us on https://infifnisoftware.ro and write us * an email on contact@infifnisoftware.ro. */ declare(strict_types=1);...
<?php namespace App\Models; use Illuminate\Database\Eloquent\Model; class ViolationComment extends Model { public $primaryKey = 'comment_id'; public $timestamps = false; }
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; class LogicController extends Controller { public function index(){ return view('logic'); } public function Logic(Request $data){ $angka=$data->angka; $result = preg_replace("/[^0-9]/", "", $angka); return v...
<?php use App\Providers\RouteServiceProvider; use Laravel\Fortify\Features; return [ /* |-------------------------------------------------------------------------- | Fortify Guard |-------------------------------------------------------------------------- | | Here you may specify which authen...
<?php namespace App\Http\Requests; use Illuminate\Foundation\Http\FormRequest; class Homelinkinsert extends FormRequest { /** * Determine if the user is authorized to make this request. * * @return bool */ public function authorize() { return true; } /** * Get th...
<?php namespace App\Http\Controllers\Admin\Users; use App\Http\Controllers\Controller; use App\Models\Account; use Illuminate\Support\Facades\Auth; use Illuminate\Http\Request; use Illuminate\Support\Facades\Session ; class LoginController extends Controller { public function index(){ return view('admin....
<?php /* V4.98 13 Feb 2008 (c) 2000-2008 John Lim (jlim#natsoft.com.my). All rights reserved. Contributed by Ross Smith (adodb@netebb.com). 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....
<?php /* * This file is part of Cachet. * * (c) Alt Three Services Limited * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace CachetHQ\Plugins\Metrics\Bus\Events; interface EventInterface { // }
<?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 /* * This file is part of the Motana Multi-Kernel Bundle, which is licensed * under the MIT license. For the full copyright and license information, * please view the LICENSE file that was distributed with this source code. * * (c) Wenzel Jonas <mail@ramihyn.sytes.net> */ namespace Motana\Bundle\Multikern...
<?php return [ /* |-------------------------------------------------------------------------- | Validation Language Lines |-------------------------------------------------------------------------- | | The following language lines contain the default error messages used by | the validator ...
<?php add_action( 'cmb2_admin_init', 'areas_de_atuacao_page_register_metabox' ); function areas_de_atuacao_page_register_metabox() { $prefix = 'areas_de_atuacao_banner_'; $cmb_banner = new_cmb2_box( array( 'id' => $prefix . 'banner', 'title' => __( 'Banner', 'laf' ), 'object_types' => ar...
<?php namespace IntoTheSource\Events; class SkeletonClass { /** * Create a new Skeleton Instance */ public function __construct() { // constructor body } /** * Friendly welcome * * @param string $phrase Phrase to return * * @return string Returns the phr...
<head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <title>Advertisement Data |Add Advertisement</title> <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport"> <link rel="stylesheet" href="<?= base_url('assets/css/boots...
<?php echo form_open('users/login'); ?> <fieldset> <div class="m-auto w-50 pt-3"> <legend><?= $title ?></legend> <?php if($this->session->flashdata('login_failed')):?> <p class='text text-danger'> <?=$this->session->flashdata('login_failed')?> </p> <?php endif?> <?php echo validation_errors('<p cla...
<?= showMsg(); ?> <?= getBredcrum(ADMIN, array('#' => 'Site Settings')); ?> <div class="row margin-bottom-10"> <div class="col-md-6"> <!-- <h2 class="no-margin"><i class="entypo-window"></i> Update <strong>About Page</strong></h2> --> <h2 class="no-margin"><i class="fa fa-cogs"></i> Site <strong>Set...
<?php use Illuminate\Support\Facades\Schema; use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class CreateIdeesTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('idees', function ...
<!-- Footer Start --> <footer class="footer"> <div class="container-fluid"> <div class="row"> <div class="col-md-6"> <script>document.write(new Date().getFullYear())</script> © Quản trị website bán hàng </div> <div class="col-md-6"> <div cl...
<?php namespace App\Models; use Illuminate\Database\Eloquent\Model; class UserProgram extends Model { protected $table = 'user_programs'; protected $fillable = [ 'user_id', 'unit_id', 'program_id' ]; public function user() { return $this->belongsTo(User::class, '...
<?php /** * Example using the multi YML router file, and provides example of how to * receive responses from routes which route messages to multiple PHP classes. */ use Apex\Cluster\Dispatcher; use Apex\Cluster\Message\MessageRequest; // Load needed files require_once(__DIR__ . '/init.php'); init('multi'); // S...
<?php include("includes/header.php"); include("includes/classes/User.php"); include("includes/classes/Postj.php"); //session_destroy(); if(isset($_POST['Post'])) { $post=new Postj($con,$userLoggedIn); $post->submitPost($_POST['post_text'],'none'); } ?> <div class="user_details column"> <a href="<?php echo $userL...
@extends('layouts.master') @section('page','Pengeluaran') @section('content') <form action="{{ route('pengeluaran.store') }}" method="POST"> {{ @csrf_field() }} <div class="form-group"> <label for="exampleFormControlInput1" class="form-control-label text-white">Nominal</label> ...
<?php /* Smarty version Smarty-3.1.19, created on 2016-01-29 05:22:00 compiled from "/home/sumit/public_html/html/hotelcommerce-master/admin267x7js2k/themes/default/template/footer.tpl" */ ?> <?php /*%%SmartyHeaderCode:124458505056ab3d480e5485-61248983%%*/if(!defined('SMARTY_DIR')) exit('no direct access allow...
<?php class Post_model extends CI_model{ public function __construct(){ $this->load->database(); } //retrieve all posts if slug=false. public function get_posts($slug=FALSE){ if($slug===FALSE){ $this->db->order_by('posts.id', 'DESC'); $this->db->join('categories',...
<?php if (!defined('THINK_PATH')) exit(); /*a:1:{s:75:"C:\xampp\htdocs\thinkphp\public/../application/user\view\user\settings.html";i:1530602440;}*/ ?> <!DOCTYPE HTML> <html> <head> <title>Settings : user</title> <link href="/thinkphp/public/static/css/bootstrap.css" rel='stylesheet' type='text/css' /> <!-- jQuery (nec...
<!-- Info boxes --> <div class="card"> <div class="card-header"> <h3 class="card-title"><?php echo $titulo ?></h3> </div> <div class="card-header"> <td> <a href="<?php echo base_url()?>/asignacion/agregar" class="btn btn-primary" >Agregar</a> </td> </div> <!-- /.card-heade...
<?php namespace App\Analytics\Domain\Services; use App\App\Domain\Services\Service; use App\App\Domain\Payloads\GenericPayload; use App\Analytics\Domain\Traits\AdStatistics; use App\Analytics\Domain\Traits\GoogleAnalytics; class ShowSoldierAnalyticService extends Service { use AdStatistics, GoogleAnalytics; ...
<?php namespace DoctrineProxies\__CG__\GDI\Dominio\Polizas\Pagos; /** * DO NOT EDIT THIS FILE - IT WAS CREATED BY DOCTRINE'S PROXY GENERATOR */ class PolizaPagoSemestralTarjetaCheque extends \GDI\Dominio\Polizas\Pagos\PolizaPagoSemestralTarjetaCheque implements \Doctrine\ORM\Proxy\Proxy { /** * @var \Closu...
<?php namespace MailPoet\Doctrine; if (!defined('ABSPATH')) exit; use MailPoetVendor\Doctrine\Common\Collections\Collection; use MailPoetVendor\Doctrine\Common\Collections\Criteria; use MailPoetVendor\Doctrine\ORM\EntityManager; use MailPoetVendor\Doctrine\ORM\EntityRepository as DoctrineEntityRepository; use MailP...
<?php namespace Ixudra\Toggl\Traits; use stdClass; trait ProjectTrait { /** * Get projects visible to user * * @return stdClass */ public function projects() { return $this->sendGetMessage( $this->baseUrl .'/api/v8/projects' ); } /** * Summary report returns th...
@extends('layouts.app') @section('content') <div class="container"> <div class="row justify-content-center"> <div class="col-md-8"> <div class="card"> <div class="card-header">{{ __('Register') }}</div> <div class="card-body"> <form method="P...
<?php namespace App\Http\Controllers\Dashboard; use Illuminate\Http\Request; use App\Http\Controllers\Controller; use App\Model\Maps; use Illuminate\Support\Facades\DB; class MapsController extends Controller { /** * Display a listing of the resource. * * @return \Illuminate\Http\Response */ ...
<?php declare(strict_types=1); namespace Product\Controller; use Laminas\Mvc\Controller\AbstractActionController; use Laminas\View\Model\ViewModel; use Laminas\Db\Adapter\Adapter; use Laminas\Log\Logger; use Application\Library\Session; use Laminas\Db\Sql\Sql; use Laminas\View\Model\JsonModel; class ProductOptionGro...
--TEST-- Test ksort() function : usage variations - unexpected values for 'sort_flags' argument --FILE-- <?php /* Prototype : bool ksort(array &array_arg [, int sort_flags]) * Description: Sort an array by key, maintaining key to data correlation * Source code: ext/standard/array.c */ /* * Testing ksort() by prov...
<?php namespace Laravel\Passport\Http\Resources; use Illuminate\Http\Resources\Json\JsonResource; abstract class Resource extends JsonResource { /** * Create a new resource instance. * * @param mixed $resource * @return void */ public function __construct($resource) { p...
<div id="content" class="content"> <ol class="breadcrumb float-xl-right"> <li class="breadcrumb-item"><a href="<?php echo base_url('home'); ?>">Dashboard</a></li> <li class="breadcrumb-item"><a href="<?php echo base_url(uri_string());?>"><?= $title; ?></a></li> </ol> <h1 class="page-header">Rekap Kelebih...
<?php use Illuminate\Http\Request; use Illuminate\Support\Facades\Route; use App\Http\Controllers\loginController; /* |-------------------------------------------------------------------------- | API Routes |-------------------------------------------------------------------------- | | Here is where you can register ...
@extends('layouts.admin-theme') @section('content') @include('sweetalert::alert') <div class="card-header"> <h5>Daftar Admin</h5> <div class="card-header-right"> <ul class="list-unstyled card-option"> <li><a href="{{route('admin.create')}}"><i class="fa fa-plus" title="Tambah Admin"></i></a>...
<?php namespace PhpOffice\PhpSpreadsheet\Worksheet; class Column { /** * \PhpOffice\PhpSpreadsheet\Worksheet\Worksheet. * * @var Worksheet */ private $parent; /** * Column index. * * @var string */ private $columnIndex; /** * Create a new column. ...
<?php /** * array 10 point choice Html * * @var $sColumns : the columns, generated with the view columns/col.php * @var $sHeaders : the headers, generated with the view rows/cell/thead.php * @var $sRows : the rows, generated with the view rows/answer_row.php * @var $extraclass * @var $answerwidth */ ?>...
<?php /* Prototype : proto int xml_set_notation_decl_handler(resource parser, string hdl) * Description: Set up notation declaration handler * Source code: ext/xml/xml.c * Alias to functions: */ echo "*** Testing xml_set_notation_decl_handler() : error conditions ***\n"; //Test xml_set_notation_decl_handler w...