blob_id
stringlengths
40
40
language
stringclasses
1 value
repo_name
stringlengths
5
116
path
stringlengths
2
241
src_encoding
stringclasses
31 values
length_bytes
int64
14
3.6M
score
float64
2.52
5.13
int_score
int64
3
5
detected_licenses
listlengths
0
41
license_type
stringclasses
2 values
text
stringlengths
14
3.57M
download_success
bool
1 class
6fe730b29bf20feaae14c9ceae3aeb39bca1163f
PHP
oleksiial/persons-server
/person.php
UTF-8
305
3.046875
3
[]
no_license
<?php class Person { public $id; public $fn; public $ln; public $age; public $numbers; function Person($id, $name, $last_name, $age, $numbers) { $this->id = $id; $this->fn = $name; $this->ln = $last_name; $this->age = $age; $this->numbers = $numbers; } } ?>
true
42ea6e1bec7a7ca19fcb61d8eb605fc358afd3d3
PHP
jnav24/sql-migrations
/migrations/SqlMigrations.php
UTF-8
3,616
2.875
3
[]
no_license
<?php namespace Migration; class SqlMigrations { private $db; protected $filepath; private $m_db; private $ignore_errors = false; public function __construct($params) { if (!$params[1] instanceof \Database\DB || !$params[2] instanceof \Database\DB) { throw new \Exception('Must be from Database DB instance...
true
044790dbb8477958d465e7d112930a17a5c91586
PHP
edgar82/teste
/models/user.php
UTF-8
960
3.046875
3
[]
no_license
<?php // Classe do banco de dados class Usuario{ // atributo nome public $nome, $email, $mensagem; // construtor public function __construct($nome,$email,$mensagem){ $this->nome = $nome; $this->email = $email; $this->mensagem = $mensagem; } } class News{ ...
true
ef2b9eabc728f8fbdcd443d17e5bc14f7788eb00
PHP
barryvanveen/allunited-import-news
/tests/_support/Helper/ExtendedDb.php
UTF-8
2,557
2.78125
3
[ "MIT" ]
permissive
<?php namespace Helper; class ExtendedDb extends \Codeception\Module\Db { /** * @param string $table * @param array $criteria * * @return array */ public function grabRowFromDatabase($table, $criteria = []) { $query = $this->driver->select('*', $table, $criteria); ...
true
5bf0d8e775ed47fd759e688a4926c3bb287e8533
PHP
d0dic/myapps
/builder/apps/puzzle/models/Piece.php
UTF-8
1,339
2.59375
3
[]
no_license
<?php namespace app\models; use Yii; /** * This is the model class for table "piece". * * @property integer $id * @property string $image * @property integer $number * @property integer $puzzle * @property integer $created */ class Piece extends \yii\db\ActiveRecord { /** * @inheritdoc */ p...
true
9e81f732e652e528d4e2c3d0ce005bb53ded66b2
PHP
eduardobogoni/stuffrepos-cakephp
/plugins/Operations/Lib/ModelOperations.php
UTF-8
2,132
2.6875
3
[]
no_license
<?php App::uses('UndoableOperation', 'Operations.Lib'); App::uses('CommitableOperation', 'Operations.Lib'); class ModelOperations { public static function save($model, $data) { return new ModelOperations_Save($model, $data); } public static function delete($model, $id) { return new Model...
true
44d2b2b21a4b719742b71be35054527656932a23
PHP
MahmoudSallams/ijobs
/app/Repositories/JobRepository.php
UTF-8
1,003
2.6875
3
[ "MIT" ]
permissive
<?php namespace App\Repositories; use App\Models\Job; use InfyOm\Generator\Common\BaseRepository; /** * Class JobRepository * @package App\Repositories * @version January 24, 2018, 3:51 pm UTC * * @method Job findWithoutFail($id, $columns = ['*']) * @method Job find($id, $columns = ['*']) * @method Job first(...
true
11b7c0abfd129f956f0de5c71be20efccdd0c3d7
PHP
RogierGrobbee/Eenmaalandermaal
/partial files/models/voorwerp.php
UTF-8
7,278
2.53125
3
[]
no_license
<?php require_once ('databaseString.php'); // Replaces: getVoorwerp($voorwerpId) function getVoorwerpById($voorwerpnummer) { global $db; $query = $db->prepare("SELECT * FROM voorwerp WHERE voorwerpnummer = :voorwerpnummer"); $query->execute(array(':voorwerpnummer' => $voorwerpnummer)); return $query-...
true
73138c81f22d5514ba116f79228021ecc14eb343
PHP
sivasq/autohub
/application/modules/apiv1/models/Shippingmethod_model.php
UTF-8
838
2.609375
3
[]
no_license
<?php require_once APPPATH . 'core/Generic_model.php'; class Shippingmethod_model extends Generic_model { var $table = 'shipping_methods'; var $prfx = 'shm_'; public function __construct() { parent::__construct($this->table, $this->prfx); $this->load->model(array( 'apiv1/Product_model'...
true
15166e2ed09b3fbec23754f6b114f6cfb6cb2041
PHP
etalon/aprp
/classes/StringExtensions.php
UTF-8
530
3.53125
4
[]
no_license
<?php class StringExtensions { public static function StartsWith($haystack, $needle) { $len = strlen($needle); if (strlen($haystack) < $needle) { return false; } return substr($haystack, 0, $len) === $needle; } public static function EndsWith($haystack,...
true
6a3086463ac68008b82977b174d4a9c040df5197
PHP
ntwalibas/contracts
/tests/Contracts/Predicates/BooleanPredicatesTest.php
UTF-8
3,929
2.875
3
[ "MIT", "LicenseRef-scancode-unknown-license-reference" ]
permissive
<?php /** * Contracts libray - a design by contracts library * * @author Ntwali Bashige <ntwali.bashige@gmail.com> * @copyright 2015 Ntwali Bashige * @link http://www.ntwalibas.me/contracts * @license http://www.ntwalibas.me/contracts/license * @version 0.1.0 * * MIT LICENSE */ use Cont...
true
ff5da6f8647eacd0f8e37a8f3259767e61aa7141
PHP
DevelopersDextrous/Ecommerce
/application/models/cart_model.php
UTF-8
554
2.53125
3
[ "LicenseRef-scancode-unknown-license-reference", "MIT" ]
permissive
<?php class Cart_model extends CI_Model { public function getCartValue($userId, $itemId) { // $content = array( // 'invoice' => uniqid(), // 'user_id' => $userId, // 'prod_id' => $itemId, // 'quantity' => 1, // 'order_date' => date("Y-m-d"), // ...
true
e24e7d0da5d5f0447d2ce8d23356ab8fd53ef5cf
PHP
ca4ti/php-sip-1
/src/Auth/Digest/ResponseParams.php
UTF-8
3,506
2.90625
3
[ "MIT", "LicenseRef-scancode-unknown-license-reference" ]
permissive
<?php /** * RTCKit\SIP\Auth\Digest\ResponseParams Class */ declare(strict_types = 1); namespace RTCKit\SIP\Auth\Digest; use RTCKit\SIP\Exception\AuthException; /** * Digest response parameters class */ class ResponseParams extends AbstractParams { /** @var string Session digest suffix */ public const ALG...
true
5611e0e4b3e2af60505dd04a85b56925b253350c
PHP
fm-technology/fm_consumabili
/stampanti.php
UTF-8
4,028
2.6875
3
[]
no_license
<!DOCTYPE html> <html lang="en"> <head> <title> Stampanti </title> <link href="style.css" rel="stylesheet"> <meta charset="utf-8"> <meta name="generator" content="AlterVista - Editor HTML"/> </head> <body> <h1> Scegli Stampante </h1> <?php $host='localhost'; $user='root'; $pwd='root';//...
true
4bcff62ff80bc801cee1fee7d8db726994511620
PHP
ferk28/inventario
/app/Http/Controllers/Admin/AreaController.php
UTF-8
2,571
2.53125
3
[]
no_license
<?php namespace App\Http\Controllers\Admin; use App\Area; use App\Http\Requests\AreaFormRequest; use App\Http\Requests\AreaEditFormRequest; use App\Http\Controllers\Controller; class AreaController extends Controller { /** * Display a listing of the resource. * * @return \Illuminate\Http\Response ...
true
53a8679eeed3780b123fc08306454ba70a49fed2
PHP
ProfilerTeam/Profiler
/protected/modules_core/comment/controllers/CommentController.php
UTF-8
7,938
2.640625
3
[ "MIT", "Apache-2.0" ]
permissive
<?php /** * CommentController provides all comment related actions. * * @package profiler.modules_core.comment.controllers * @since 0.5 */ class CommentController extends Controller { // Used by loadTargetModel() to avoid multiple loading private $cachedLoadedTarget = null; /** * @return array ...
true
7464fddf682d367a48249d8acb2e67be9b2be93e
PHP
tiagosot1/IdearAz
/api/play/application/models/MensagensChat.php
UTF-8
2,226
2.5625
3
[ "LicenseRef-scancode-unknown-license-reference", "MIT" ]
permissive
<?php /** * */ defined('BASEPATH') OR exit('No direct script access allowed'); class MensagensChat extends CI_Model { function __construct() { } public function insertMensagem($data){ if($data){ $this->load->library('session'); $hoje = date('Y-m-d'); $hora = date('H:i'); $dadosInsert = array(...
true
5cdb8d62d745a866904d32965fe52b7ec94e7b15
PHP
yuyang2/digitalnz
/controllers/IndexController.php
UTF-8
4,964
2.671875
3
[]
no_license
<?php require_once 'DigitalNZImport.php'; require_once 'DigitalNZItem.php'; class DigitalNZ_IndexController extends Omeka_Controller_Action { /** * Front Digital New Zealand page. */ public function indexAction() { $message = $this->_getParam('message'); if(!get_option('digitalnz_api_key')) ...
true
0f95746dee5ce019baf7990d162b4094f7cb4f5b
PHP
Reinbier/muziektherapie
/include/classes/cls.Answer.php
UTF-8
2,378
3.171875
3
[]
no_license
<?php /* * Name: Ronald van der Weide, Reinier Gombert * Date: 24/11/2016 */ Class Answer extends DAL { public function __construct() { parent::__construct(); } /** * Method for retrieving answer data * * @param int $answerID * @return object */ public functi...
true
eb5b9a56bf7242471c6e91bf4b69a4156550da8e
PHP
codedre/airgame
/functions/airgame-packs-functions.php
UTF-8
1,742
2.515625
3
[]
no_license
<?php // This file, which is require_once'd by style-functions.php, uses // conditional statements to determine which variable values to feed to that // file, based on the settings the user has determined in the backend // Customizer screen. /* * =========== [ Airgame Style Variables ] */ $selectedColors = get_the...
true
6eec8c4259c587088c32850d95c5e8d230d155d9
PHP
SevenDareK/ForgeCMSv2
/class/Cols.class.php
UTF-8
262
2.625
3
[]
no_license
<?php namespace App; class Cols { public function Row() { echo '<div class="row">'; } public function Col($col) { echo '<div class="'.$col.'">'; } public function endCol() { echo '</div>'; } public function endRow() { echo '</div>'; } }
true
48502b22282e3cce2d9f4bfac91af1a1ec605f24
PHP
bmoll/symfo
/src/Chipin/DBBundle/Entity/Adminuser.php
UTF-8
4,038
2.53125
3
[ "MIT" ]
permissive
<?php namespace Chipin\DBBundle\Entity; use Doctrine\ORM\Mapping as ORM; /** * Adminuser * * @ORM\Table(name="adminUser") * @ORM\Entity * @ORM\HasLifecycleCallbacks() */ class Adminuser { /** * @var integer * * @ORM\Column(name="id", type="integer", nullable=false) * @ORM\Id * @ORM...
true
ce647f01f32710332c5212cb3d712ca5431fc8bc
PHP
MamianS12/Veni_Compra
/Web/plugins/function.hidden.php
UTF-8
1,104
2.859375
3
[ "Unlicense" ]
permissive
<?php /** * Smarty plugin */ /** * Smarty {hidden} plugin * Type: function<br> * Name: hidden<br> * Purpose: crea un componente hidden<br> * Input:<br> * name = name of the hidden (optional) * id = id of the hidden (optional) * value = value of the hidden (opt...
true
4798c2cd3116f0a8215e7488c071ae27fd3e7028
PHP
emeraldhycient/centcoin-backend
/models/admin.php
UTF-8
14,925
2.515625
3
[]
no_license
<?php include_once('../../config/config.php'); class admin extends Connection { public static function users() { $data = []; $sql = "SELECT * FROM users"; $query = self::$connect->prepare($sql); $query->execute(); $result = $query->get_result(); if ($result->nu...
true
1e784bc4a47cdbe4e2cd3ae9eac93e82c661d1b9
PHP
JubayerRony/Online-Drugstore
/controllers/models/myFunctions.php
UTF-8
527
2.796875
3
[]
no_license
<?php function cleanInput($dbCon, $value) { $value = htmlspecialchars($value, ENT_QUOTES, 'UTF-8'); $value = mysqli_real_escape_string($dbCon, $value); return $value; } function hashPassword($value) { return password_hash($value, PASSWORD_DEFAULT, ['cost' => 12]); } function sendMail($to, $subject, $txt, $hea...
true
dbb7d2ee919a931872ebd74f21df9fbe9aab9f80
PHP
themorrisonagency/palmetto-dunes-2011
/web/booking/classes/weblink/Pull.Class.php
UTF-8
2,512
3.1875
3
[ "MIT" ]
permissive
<?php /* * Class to interface with availability/pricing pull times and differences * @author <meder.omuraliev@sabre.com> */ class Pull { protected $db; // The sync id protected $id; // Is the script running protected $isRunning = false; // The start time protected $starttime = null;...
true
3b2899c277ecf0caabaadaba5c14c736d1b01e46
PHP
kovi01/Tradebyte-Projects
/ajax.php
UTF-8
752
2.640625
3
[]
no_license
<?php include 'dbconfig.php'; $conn = connect(); if (isset($_POST['action'])) { switch ($_POST['action']) { case 'stop': stop(); break; case 'status': status(); break; } } function status() { $sql =...
true
d4f24d897526d920ef34a80dc7b3240c4d032cb2
PHP
BsitGeeks/online-grading-laravel
/app/controllers/UserController.php
UTF-8
2,212
2.515625
3
[ "MIT" ]
permissive
<?php class UserController extends BaseController { public function __construct() { $this->beforeFilter('csrf', ['on' => 'post']); $this->beforeFilter('auth', ['only' => ['getMain', 'getMyProfile', 'getAdmins', 'getProfessors']]); } public function getLogin() { if(Auth::check()) { if(Auth::user()->type =...
true
190fbc324274e7345f5f0363a9dead02d5c8c2a8
PHP
AbuAzizi/bookmyshow.com
/PROJECT/book2.php
UTF-8
1,084
2.515625
3
[ "Apache-2.0" ]
permissive
<html> <head> <title>PROJECT</title> <link rel="stylesheet" type="text/css" href="style.css"> <body> <div class="loginbox"> <img src="index.png" class="avatar"> <h1> <?php session_start(); $w=$_POST['a']; $x=$_POST['b']; $e=$_SESSION['name']; if($w==""||$x=="") { echo "Ple...
true
5b38ff89a0ef45596560335ae08dd5e669cee3ef
PHP
zetrider/ComplexExample
/Complex/Values/Re.php
UTF-8
353
3.203125
3
[]
no_license
<?php namespace Complex\Values; final class Re { /** @var float */ private $value; public function __construct($value) { $this->value = $value; } public function value(): float { return (float)$this->value; } public function __toString(): string { ret...
true
608fab2b5df03a1f669dd702dbc905737b298711
PHP
Upinion/intl
/src/UpinionIntl/Utils.php
UTF-8
5,039
3.203125
3
[]
no_license
<?php namespace UpinionIntl; /** * Class Utils * @package UpinionIntl * * Functions to use the Intl in PHP/Hack projects. */ class Utils { protected $locales; /** * Utils constructor. * * Retrieve the locales from the JSON file and store them in an object, to be used in this class. ...
true
f3193722eabd3264f797fade8a6450cd056f1f51
PHP
top9teen/Project
/models/userModel.php
UTF-8
3,653
3.09375
3
[]
no_license
<?php class userModel { // database connection and table name private $conn; private $table_name = ""; // object properties public $id; public $username; public $password; public $status; public $prename; public $userlastname; public $userid; public $usermajer; ...
true
a8d52fd13b6cb2e7ef8046520ff7607fce54390d
PHP
Tsunaa-Alexis/Projet2
/modifville/creationville.php
UTF-8
26,778
2.515625
3
[]
no_license
<!DOCTYPE html> <html> <head> <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/css/bootstrap.min.css" integrity="sha384-Vkoo8x4CGsO3+Hhxv8T/Q5PaXtkKtu6ug5TOeNV6gBiFeWPGFN9MuhOf23Q9Ifjh" crossorigin="anonymous"> <script src="https://kit.fontawesome.com/768b55194c.js" crossorigin="a...
true
302e511e86d7924e4f5b17c4444bd0e45f70bfbe
PHP
happen-zhang/data-collector
/src/DataCollector/Interfaces/FormatterInterface.php
UTF-8
202
2.625
3
[]
no_license
<?php namespace Zhp\DataCollector\Interfaces; interface FormatterInterface { function formatVar($data); function formatDuration($seconds); function formatBytes($size, $precision = 2); }
true
7cd3da2f6b520eaf1e168fd8a4080093b8406d49
PHP
LuckyMan120/clewed
/lib/clewed/company/featured/view/helper.php
UTF-8
2,844
2.828125
3
[]
no_license
<?php /** * @author oleg bursacovschi <o.bursacovschi@gmail.com> */ namespace Clewed\Company\Featured\View; class Helper { /** * Escape short syntax * * @param $string * @return string */ public function e($string) { return $this->escape($string); } /** * Es...
true
341e58a1530b75038e960e7443cc68ad7df94c2c
PHP
jakofranko/client-php
/feed/index.php
UTF-8
2,842
2.765625
3
[]
no_license
<?php ini_set("allow_url_fopen", 1); // options $imgSize = 125; // image thumbnail width // get my feed $f = '../feed.json'; // replace with your feed URL $myFeed = json_decode(file_get_contents($f)); // get list of portals i'm following $following = $myFeed->portal; // helper function to sort tim...
true
536821b0d4216bb9b80dba7d713095c5cdaacd07
PHP
ichte/xtlab-core
/src/Common/User.php
UTF-8
702
2.640625
3
[]
no_license
<?php namespace XT\Core\Common; trait User { public static $rbacManager; /** * Checks whether the given user has permission. * @param User|null $user * @param string $permission * @param AssertionAbstract|string|null $assert */ public static function isGranted($permission, $ass...
true
06ddc47fc02722aed6efc7fdcbe506154e4f984e
PHP
azlabsphp/auth-jwt-guard
/tests/GuardTest.php
UTF-8
4,514
2.53125
3
[ "MIT" ]
permissive
<?php declare(strict_types=1); /* * This file is part of the drewlabs namespace. * * (c) Sidoine Azandrew <azandrewdevelopper@gmail.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ use Drewlabs\Auth\Jwt\Contracts\TokenProvid...
true
421dcecb7477b1b9d9eaef1b5c4960ac7c4dc3ba
PHP
forkbb/forkbb
/app/Models/User/Load.php
UTF-8
3,302
2.8125
3
[ "MIT", "LicenseRef-scancode-unknown-license-reference" ]
permissive
<?php /** * This file is part of the ForkBB <https://github.com/forkbb>. * * @copyright (c) Visman <mio.visman@yandex.ru, https://github.com/MioVisman> * @license The MIT License (MIT) */ declare(strict_types=1); namespace ForkBB\Models\User; use ForkBB\Models\Action; use ForkBB\Models\User\User; use InvalidA...
true
0d85d23a7e7a0337693eeb96e2dbb0c3a220ce51
PHP
MODX-Club/modxSDK
/core/components/modxsdk/processors/mgr/builder/package/makeanddownload.class.php
UTF-8
950
2.546875
3
[]
no_license
<?php /* Make and download Package */ require_once dirname(dirname(dirname(__FILE__))).'/vapor/package/createpackage.class.php'; require_once dirname(__FILE__).'/download.class.php'; class modxSDKMgrBuilderPackageMakeanddownloadProcessor extends modProcessor{ public function process(){ // Make pac...
true
80fd0a1ee23fa944d4fa298a41a82cbeb5dcae74
PHP
AOSiraj/sample-server
/public/phpinfo.php
UTF-8
255
2.53125
3
[]
no_license
<?php // check if environment is authorized to view php info if (in_array(getenv('APPLICATION_ENV'), array('local', 'aws-qa'))) { // display php info phpinfo(); } else { // display error message echo '<img src="/img/phpinfo.jpg">'; }
true
ccac0deb12b54129c844b823a0445889645d6633
PHP
shiftenterdev/classOop
/bank_acc_final/account.php
UTF-8
832
3.46875
3
[]
no_license
<?php class Account { private $number; private $date; private $balance; private $calculator; function __construct($number, $date) { $this->number = $number; $this->date = $date; $this->balance = 0; $this->calculator = new Calculator(); } pub...
true
c0b956f6d551fdfd662ee0f1fc44cfe9ffafa799
PHP
Alexey8k/MVC_Framework
/app/controllers/AccountController.php
UTF-8
2,288
2.578125
3
[]
no_license
<?php class AccountController extends Controller { public function __construct() { parent::__construct(); } // public function actionLogin(string $returnUrl) // { // !isset($_POST['login']) ? $this->loginGet($returnUrl) : $this->loginPost(); // } public function actionLoginGet...
true
b03c1cf7b84527ac9b9463a5bc0720ce06bdec40
PHP
webignition/php-basil-models
/src/PageElementReference/PageElementReference.php
UTF-8
1,510
2.96875
3
[ "MIT" ]
permissive
<?php declare(strict_types=1); namespace webignition\BasilModel\PageElementReference; class PageElementReference implements PageElementReferenceInterface { private const PART_DELIMITER = '.'; private const EXPECTED_PART_COUNT = 3; private const EXPECTED_ELEMENTS_PART = 'elements'; private const IMPO...
true
0f85210e1f7f997a54d0592c0d3295f40828b6e2
PHP
klyxmaster/procedural_mvc_prj1
/controller/online.php
UTF-8
2,005
2.625
3
[]
no_license
<?php /** RCENT GAMES - JUST USE THE GENRE AS A TEMPLATE **/ /** TODO: incorporate some type of loop for the view page **/ function online() { /** * Recent page will just use the genre.tpl * it is the same. TODO: incorporate one page to do it all * */ $page = file...
true
a52b6c3bd875114c10ca35588e8254b599c8c4f0
PHP
MarosAware/zakladka
/app/member.php
UTF-8
4,936
2.640625
3
[]
no_license
<?php session_start(); require_once('includes/functions/functions_all.php'); if(isset($_SESSION['valid_user'])) { $log_in_username = $_SESSION['valid_user']; } else { if(isset($_POST['login'])) { $username = trim($_POST['username']); $password = trim($_POST['password']); try { if(!empty_input($_POST))...
true
286d7e8d8073a0ab47246d6842209d9d85cfc599
PHP
x6x6/PhpPractice
/D004.php
UTF-8
263
3.625
4
[]
no_license
<?php $input_line = (int)fgets(STDIN); $strings = array(); $hello = "Hello "; for($i=0;$i<$input_line;$i++){ $strings[$i] = trim(fgets(STDIN)); $hello .= $strings[$i].","; } $hello = substr($hello,0, -1); $hello .= "."; echo $hello; ?>
true
9075306d63da278ef646b5ccf04f35b5c14dcf04
PHP
pflashpunk/autoknoxss
/BurpRequest.php
UTF-8
3,454
2.8125
3
[]
no_license
<?php /** * I don't believe in license * You can do want you want with this program * - gwen - */ class BurpRequest extends Request { public $time; public $_url; public $host; public $host_ip; public $protocol; public $method; public $path; public $extension; public $request; public $status; public $re...
true
f369a3af87e29c379dee5f2a0e14cf0bd8774a2d
PHP
spatie/attended.io
/app/Domain/Event/Actions/UpdateEventAction.php
UTF-8
360
2.515625
3
[]
no_license
<?php namespace App\Domain\Event\Actions; use App\Domain\Event\Models\Event; class UpdateEventAction { public function execute(Event $event, array $attributes): Event { $event->update($attributes); activity() ->performedOn($event) ->log("Event `{$event->name}` was upd...
true
cf8f2a5d7cda0a552c412d01e939c7e66e1f5028
PHP
ehovel/ehovel
/modules/cms/classes/model/cms/model.php
UTF-8
2,866
2.625
3
[ "BSD-3-Clause" ]
permissive
<?php defined('SYSPATH') or die('No Direct Script Access.'); // $Id$ /** * 内容发布模型管理模型类 * * @package Cms * @category Model * @author Bruno Xu * @version $Id$ * @copyright Ketai, 2011 * @since 2011-12-07 */ class Model_Cms_Model extends ORM { protected $_disabled_column = "disabled"; const INDIVIDUAL_DATA ...
true
791a91d2e878466e7f403fc60912fbc67230e3a9
PHP
gaoshangs/toolbox
/func/for/for_continue.php
UTF-8
534
2.5625
3
[]
no_license
<?php function checkEmpty($req_param){ $res = array( 'status'=>200, 'msg'=>'' ); foreach ($req_param as $key => $param) { if (empty($param)) { $res['status'] = 400; $res['msg'] = array( 'code' => 400, 'msg' => 'Bad Argument: The...
true
5dd7b660f014817ab3a7da77f3474cd5dcb2fba9
PHP
Symfony-Plugins/wspPingdomPlugin
/lib/pingdom/PingdomApiClient.class.php
UTF-8
12,482
2.75
3
[]
no_license
<?php /** * @author Toni Uebernickel <toni@uebernickel.info> * @link http://toni.uebernickel.info/ * * @package wspPingdomPlugin * @subpackage pingdom.lib * @version $Id$ * @link $HeadURL$ */ /** * This is a wrapper SoapClient providing Pingdom API access. * * @uses S...
true
b401e9ae4d724fc0cf91ccb8b05a9558afd9074a
PHP
sidsravan/backend
/application/models/City_model.php
UTF-8
1,554
2.59375
3
[ "MIT" ]
permissive
<?php class City_model extends CI_Model { function __construct() { parent::__construct(); } function get_cities_state($cid) { return $this->db->get_where('cities',array('state_id'=>$cid))->result_array(); } /* * Get city by id */ function get_city($id) ...
true
b751aec8a65a6fb4ecc7e9556ce22f0434965f39
PHP
asuther/ThePiki
/components/pikiView/getTabData.php
UTF-8
508
2.515625
3
[]
no_license
<?php require_once('../connectToDatabase.php'); $pikiID = $_GET['pikiID']; //Get piki information $tabIDResult = $conn->query("SELECT tabid FROM tablinks WHERE pikiid = $pikiID"); $tabIDArray = array(); while($tabIDRow = $tabIDResult->fetch_assoc()) { //echo $tabIDRow['tabid']; ...
true
be9fa6cc837dca2fc2fa57289522f25242033ea8
PHP
dev1dev2tf/tf
/classes/DB.class.php
UTF-8
808
2.9375
3
[]
no_license
<?php class DB { protected $_db; public function __construct() { try { $this->_db = new Mysqli('localhost', 'root', '129300', 'trueface'); if ($this->_db->connect_errno) throw new Exception ($this->_db->connect_error); } catch (Exception $e) { echo $e->getMessage(); return false; ...
true
3c98e39760f785367a9e86cd8fcb79ee326c104a
PHP
BunlongPheng/Online-Grocery-Shopping
/pages/product-detail/addToCart.php
UTF-8
3,803
2.875
3
[]
no_license
<?php include '../../connection/databaseCon.php'; $product_id = $_GET["product_id"]; $selected_quantity = $_POST["selected_quantity"]; $query_string = "select * from products where product_id = " . $product_id; $result = mysqli_query($connection, $query_string); $num_rows = mysqli_num_rows($result); $items = mysqli...
true
525519bb053dc60e27982a49040fdbeedbf228e6
PHP
tyler-allen/db
/move.php
UTF-8
2,220
3.203125
3
[]
no_license
<?php include("header.php");?> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>Move Entry</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <link rel="stylesheet" type="text/css" href="style.css"/> <form action="move.php" method="POST"> <input type="text" ...
true
bf99e521556d43dc1d90db471f8f1bb9a86d65ac
PHP
dogchris/gvo_parser
/Command/parseQuest.php
UTF-8
232
2.71875
3
[]
no_license
<?php require_once 'base.php'; use Parser\Quest; $questId = $argv[1] ?? ''; if (!preg_match('/^[1-9][0-9]*$/', $questId)) { echo "please input quest id.\n"; exit; } $parser = new Quest(); $parser->parseQuest($questId);
true
b9e8161707da8caffbaf58dd3ac4811685a879a5
PHP
Manocchio/concessionaria-ayrton-senna
/dao/MarcaDAO.php
UTF-8
2,975
2.78125
3
[]
no_license
<?php require_once(__DIR__.DIRECTORY_SEPARATOR."..".DIRECTORY_SEPARATOR."global.php"); class MarcaDAO { public function cadastrar($marca) { try { $conn = Conexao::getConexao(); $sql = "INSERT INTO tbmarca(nomeMarca) VALUES(?)"; $pstm = $conn->prepare($sql); ...
true
6481c404cf8dcdc61cadb3390981b47a6522ec83
PHP
poseidonand/admin.plusarchive.com
/tests/unit/components/FormatterTest.php
UTF-8
6,987
2.546875
3
[ "MIT" ]
permissive
<?php /* * This file is part of the admin.plusarchive.com * * (c) Tomoki Morita <tmsongbooks215@gmail.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ declare(strict_types=1); namespace app\tests\unit\components; use Yii; u...
true
79b4a3d35e816b231b6a93f4b89d2e94cb13ea7d
PHP
proyectoADSIFabis/videos
/capitulo3/exer1/select.php
UTF-8
643
2.65625
3
[]
no_license
<?php //Relaizamos la conexion $conexion = mysql_connect("localhost","fabiola","fabiola"); //Estructura de control por si falla if (!$conexion) { die ("No he podido conectar porque: ".mysql_error()); } //Seleccion de base de datos mysql_select_db("agenda",$conexion); //Realizo la peticion $peticion...
true
5edd5ee239b23b26e08885b5db2282068fb2e085
PHP
adjanorpro18/kf_beta
/src/Controller/ResetPasswordController.php
UTF-8
1,944
2.546875
3
[]
no_license
<?php namespace App\Controller; use App\Entity\User; use App\Form\ChangePasswordType; use App\Repository\UserRepository; use Doctrine\ORM\EntityManagerInterface; use Symfony\Bundle\FrameworkBundle\Controller\AbstractController; use Symfony\Component\HttpFoundation\Request; use Symfony\Component\HttpFoundation\Respons...
true
40060eafd6fefee77fedfeae74dcf5f086520bd4
PHP
addshore/UFCFX3-15-3
/assignment/src/DataObjects/Champion.php
UTF-8
1,243
3.015625
3
[]
no_license
<?php require_once( __DIR__ . '/../../viewsource.php' ); /** * Class Champion representing a single Champion */ class Champion { /** * @var null|int */ private $id; /** * @var string */ private $name; /** * @var string|null */ private $enwikilink; /** * @var Location[] */ private $locati...
true
2cc0a378876d48ead884db879eea39c01bd62a52
PHP
VirendraVerma1/Show-Time-Website
/Website Pages/bookshow.php
UTF-8
3,164
2.671875
3
[]
no_license
<?php session_start(); include("db_con.php"); ?> <!DOCTYPE html> <html> <title>Book Show</title> <body> <table> <tr> <td><?php $movieID=$_SESSION['MovieID']; $moviename=""; $movierating=""; $mov...
true
181461eb42482e4dbb431457444007ee9b14ba39
PHP
Goudarzi-hahram/phpfox
/PF.Src/Core/Route.php
UTF-8
1,755
2.6875
3
[]
no_license
<?php namespace Core; /** * Class Route * @package Core * * @method Route auth($authenticate) * @method Route run($callback) * @method Route accept($methods) * @method Route call($class) * @method Route where($regex) * @method Route url($url) */ class Route { public static $routes = []; public static $gro...
true
ddc41c1e20579897fc57e3fea524d33b6af8a7e6
PHP
ArthurPatriot/onvif-ptz-php
/SourceReference.php
UTF-8
1,348
3.21875
3
[]
no_license
<?php class SourceReference { /** * @var ReferenceToken $Token */ protected $Token = null; /** * @var string $any */ protected $any = null; /** * @var anyURI $Type */ protected $Type = null; /** * @param ReferenceToken $Token * @param string $any ...
true
41d91c969f0cf8c66c5e1f25e68bcd3f5ab75719
PHP
digitalowlnyc/Roost-Laravel-Library
/src/Roost/LaravelTools/Laravel/Forms/FormHelper.php
UTF-8
2,955
2.71875
3
[]
no_license
<?php /** * Creator: Bryan Mayor * Company: Blue Nest Digital, LLC * License: (All rights reserved) */ namespace Roost\LaravelTools\Laravel\Forms; use Roost\LaravelTools\Laravel\Logging\UserLog; use Illuminate\Http\Request; use Roost\LaravelTools\Html\HtmlHelpers; class FormHelper { private static $loggingO...
true
65e746eb8e525abbf6c146237e702546ae35f150
PHP
cedtanghe/elixir-cache
/src/Arr.php
UTF-8
2,109
2.8125
3
[]
no_license
<?php namespace Elixir\Cache; use Elixir\Util\Arr as ArrUtils; /** * @author Cédric Tanghe <ced.tanghe@gmail.com> */ class Arr extends CacheAbstract { /** * @var array|\ArrayAccess */ protected $provider; /** * @param array|\ArrayAccess $provider */ public function __construct(...
true
6bf4f9fde7a49707d410666c921d06f779d033dc
PHP
AhmedSaidAsmail/souvenir-shamr
/app/src/Payment/PaymentResponse.php
UTF-8
2,095
2.984375
3
[ "MIT" ]
permissive
<?php namespace App\Src\Payment; class PaymentResponse { /** * Determine payment is success or not * * @var boolean $payment_approval */ public $payment_approval; /** * Determine which payment method was used * * @var string $payment_method */ public $payment_m...
true
71d9e1a2635d29eaba77112709b9f5fcce241acb
PHP
ChazyTheBest/daw-stuff.xyz
/models/UserCart.php
UTF-8
1,721
2.765625
3
[]
no_license
<?php namespace models; use framework\ActiveRecord; use framework\App; use PDO; final class UserCart extends ActiveRecord { public int $product_id; public int $quantity; public int $created_by; /** * @return string the table name. */ public static function tableName(): string { ...
true
039cf18ed24ee50baf763ced063499b1ad61df26
PHP
kitchenWebApplication/exmaple
/app/Jobs/FinishCooking.php
UTF-8
1,033
2.515625
3
[]
no_license
<?php namespace App\Jobs; use App\Events\OrderStatusUpdated; use App\Models\Order; use Illuminate\Bus\Queueable; use Illuminate\Queue\SerializesModels; use Illuminate\Queue\InteractsWithQueue; use Illuminate\Contracts\Queue\ShouldQueue; class FinishCooking implements ShouldQueue { use InteractsWithQueue, Queueab...
true
a610826f1b31ddf851172e26203a8fc02f787bf0
PHP
oscar490/DWES
/pelis/pelis.php
UTF-8
1,466
2.6875
3
[]
no_license
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>Videoclub</title> </head> <body> <?php require 'auxiliar.php'; try { $titulo = filter_input(INPUT_GET, 'titulo') ?? ''; $pdo = conectar(); $sent = buscarPelicula($titulo, $pdo); ...
true
ecd188724713228024f255868fccca9f7bc12d72
PHP
fullarray/PHP
/scripts/app2/api/products.php
UTF-8
3,137
2.78125
3
[]
no_license
<?php //by fullarray //Connect to database $connection=mysqli_connect('localhost','root','','apiapp2'); $request_method=$_SERVER["REQUEST_METHOD"]; switch($request_method) { case 'GET': //Retrieve Products if(!empty($_GET["productid"])) { $product_id=intval($_GET["productid"]); get_products($...
true
8975c81b5f88f4eb393a92ff50a012f9bb0a9aed
PHP
shaunbramley/advent-of-code-2017
/src/Day9/StreamProcessor.php
UTF-8
1,043
3.390625
3
[ "MIT" ]
permissive
<?php namespace Advent\Day9; class StreamProcessor { private $matchs = 0; public function score(string $input) : int { $input = $this->removeCancel($input); $input = $this->removeGarbage($input); $score = 0; $level = 0; foreach (str_split($input) as $char) { ...
true
ded8e9cdfeb4903b47515c9c008b7f4ceaeb98cb
PHP
Blixter/oophp-v5
/view/guess/play.php
UTF-8
1,344
3.03125
3
[]
no_license
<?php namespace Anax\View; /** * Render content within an article. */ // Show incoming variables and view helper functions //echo showEnvironment(get_defined_vars(), get_defined_functions()); ?><h1 class="game header">Play the game</h1> <div class="aligner"> <div class="aligner-item"> <?php if (isset($res) &...
true
0da44f73776b39524cc3c83668ce6067daf6fccf
PHP
l396635210/crawler
/src/AppBundle/Entity/Area.php
UTF-8
2,374
2.53125
3
[]
no_license
<?php namespace AppBundle\Entity; use Doctrine\ORM\Mapping as ORM; /** * Area * * @ORM\Table(name="area") * @ORM\Entity(repositoryClass="AppBundle\Repository\AreaRepository") */ class Area { /** * @ORM\OneToMany(targetEntity="Company", mappedBy="area") */ private $companies; /** * @va...
true
629a2da31c98052c2dd95caf05ffadd9461e0d20
PHP
milen-k/PHP-Very-Very-Very-Simple-Storage-System-API-Multiple-Framework-Implementations
/v3s3-symfony3-Framework-Specific-Layer/src/V3s3Bundle/FrameworkSpecific/SF3/Repository/V3s3Repository.php
UTF-8
3,434
2.640625
3
[]
no_license
<?php namespace V3s3Bundle\FrameworkSpecific\SF3\Repository; use V3s3Bundle\FrameworkSpecific\FrameworkSpecificInterface; use V3s3Bundle\FrameworkSpecific\FrameworkSpecificTaskDispatcherTrait; use V3s3Bundle\FrameworkSpecific\SF3\Entity; use V3s3Bundle\Entity\V3s3 as FrameworkIndependentV3s3Entity; use V3s3Bundle\...
true
a3f83553fcc0d028523dab2074b23d76e397a8b3
PHP
rsouflaki/TodoList
/public_html/Old/Version3/addtasks.php
UTF-8
1,931
2.671875
3
[]
no_license
<?php require_once 'header.php'; require_once 'menubar.php'; require_once 'userstatus.php'; if (!isset($_SESSION['email'])) { header("Location: start.php"); } if (!isset($_POST['addtask'])) { outputAddTaskForm(""); } else { $errorMessage = proc...
true
695b68285813bdc19c68a1f6581ff6e414a227b0
PHP
remysiri/hobby-app
/controller/StoreController.php
UTF-8
3,462
2.6875
3
[]
no_license
<?php require_once __DIR__ . '/Controller.php'; require_once __DIR__ . '/../dao/StoreDAO.php'; require_once __DIR__ . '/../dao/UserDAO.php'; class StoreController extends Controller{ function __construct() { $this->storeDAO = new StoreDAO(); $this->userDAO = new UserDAO(); } public function index() { $year...
true
2ccacb12b2c58021429cd4605a6f1e0ff3e81635
PHP
erayd/dogfood
/src/Internal/Handlers/ItemsHandler.php
UTF-8
2,058
2.703125
3
[ "ISC" ]
permissive
<?php namespace Dogfood\Internal\Handlers; use Dogfood\Exception\ValidationException; use Dogfood\Internal\State; use Dogfood\Internal\ValueHelper; use Dogfood\Internal\SchemaHelper; use Dogfood\Internal\BaseValidator; /** * Handler for the following keywords: * "items" * "additionalItems" * * @package eray...
true
0e6b1882358b4624fc8d1228d4ba5a276873324e
PHP
leobeal/api_demo
/src/Entity/Category.php
UTF-8
1,402
2.640625
3
[]
no_license
<?php declare(strict_types=1); namespace App\Entity; use App\Traits\TimestampTrait; use Doctrine\ORM\Mapping as ORM; use JMS\Serializer\Annotation as Serializer; /** * @ORM\Entity(repositoryClass="App\Repository\CategoryRepository") */ class Category { public function __construct() { $this->created...
true
e93bc7b1a56e1667bbabab2b66c49995b9d516f1
PHP
CrazyTata/myproject
/blog/pattern/01.php
UTF-8
450
3.265625
3
[]
no_license
<?php //正则表达式简单匹配使用 //① 获得一个被匹配的目标字符串内容 $str = "2016beijing-2008beijing"; //② 设计一个正则表达式 $pat = "/beijing/"; //③ 正则表达式去匹配目标内容 // preg_match(正则,目标内容,匹配结果[,下标信息]); preg_match($pat,$str,$out); //打印匹配到的结果 print_r($out); echo "<hr />"; preg_match($pat,$str,$out1,PREG_OFFSET_CAPTURE); print_r($out1);
true
51236742084f088da2c0cc483336d68353781424
PHP
etienne-tillier/ProjetPiscine
/model/ModelTypeIngredient.php
UTF-8
1,635
2.890625
3
[]
no_license
<?php require_once File::build_path(array("model", "Model.php")); /*------------------------------------------------------------------------------------------*/ /* On se dispose dans ce fichier des fonctions (getters, setters, etc.) qui ont but de */ /* représente les données qui vont être utilisées dan...
true
1d5a59566518575fd34cfd75162e8a66c9e3ca09
PHP
bLittle1996/info-3106-project-two
/App/Connection.php
UTF-8
429
2.796875
3
[]
no_license
<?php class Connection { public static function make() { $config = require 'config.php'; $config = $config['database']; try { return new PDO( $config['DB_DRIVER'] . ':host=' . $config['DB_HOST'] . ';dbname=' . $config['DB_NAME'], $config['DB_USER'], $config['DB_PASSWORD'], ...
true
d1ecfc5be9f17e8a10af7dffaf1c9d30fe95a56b
PHP
yasKaraca/toDoList-CRUD
/index.php
UTF-8
1,521
2.890625
3
[]
no_license
<?php require_once "connexion.php"; $requete = "SELECT `id`, `titre`, `resume`, `date` FROM `list` ;"; $stmt = $conn->prepare($requete); $stmt->execute(); $todos = $stmt->fetchAll(); ?> <!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-w...
true
29e14f0d44e238d3f02a4f3d19e9ed0c8c5e1abb
PHP
SitecRESA/ToolKit
/SitecRESA/Datatype/DisponibiliteProduit.php
UTF-8
640
2.5625
3
[ "MIT" ]
permissive
<?php namespace SitecRESA\Datatype; /** * Objet indiquant les disponibilités d'un produit. * * @author Marc FRICOU <marc.fricou@sitec.fr> * * @property-read int $quantiteDispo quantité disponible * @property-read array $plansTarifaires liste de plans tarifaires * @property-read string $dureeFormatee durée au ...
true
721c9c90d2a83f22f04560d5efbfaa91b607b6ec
PHP
deckerrj/marcomage
/library/Writer/File.php
UTF-8
587
2.96875
3
[]
no_license
<?php /** * File specific writer */ namespace Writer; class File extends WriterAbstract { /** * @param array $config log specific config * @param array $data */ public function log(array $config, array $data) { // process large uri if (isset($data['uri']) && mb_strlen($dat...
true
28851e693b2f8c3a820670ffb984f963bf8815ac
PHP
Sophie-Williams/irc-games
/cloud9/phase.solo.php
UTF-8
1,498
2.765625
3
[]
no_license
<?php class phaseCloud9Solo { var $r; var $desc; function __construct($root) { $this->r = $root; $this->desc = 'Solo'; } function init() { $this->r->required = null; $this->r->nUser($this->r->currentPlayer->nick, "Your hand: ".implode(', ', $this->r->currentPlayer->hand)."."); $this->r->m...
true
ff78e97606717b8300a817500f4497ee358597bc
PHP
DarkUltraPSP/PPE02
/Developpement/Pages/Commande/Commande.php
UTF-8
14,444
2.734375
3
[]
no_license
<?php $tacos = TacosManager::findAllTacos(); $tailles = TailleManager::findAllTailles(); $viandes = ViandeManager::findAllViandes(); $sauces = SauceManager::findAllSauces(); $frites = FritesManager::findAllFrites(); $boissons = BoissonManager::findAllBoissons(); if (empty($_GET["typeProduit"])) { ?> <div class=...
true
bdaf68f4458639673554b280d537a8e197d8b32d
PHP
stoyantodorovbg/PHP-Web-Development-Basics
/Homework PHP Functional Programming/problem2/filterPeople.php
UTF-8
286
2.90625
3
[ "MIT" ]
permissive
<?php $people = [ ['name'=> 'John' , 'height'=> 1.65], ['name'=> 'Peter' , 'height'=> 1.85], ['name'=> 'Silvia', 'height'=> 1.69], ['name'=> 'Martin', 'height'=> 1.82] ]; $result = array_filter($people, function($el) {return $el['height'] > 1.80;}); print_r($result);
true
857a1b7093ecf2b60ddc2b4289cfef3b2096178a
PHP
thib123/TPJ
/Notes/PHP/oop/static_reference.php
UTF-8
247
2.796875
3
[ "MIT" ]
permissive
<?php class Cars { static $wheel_count = 4; static function car_detail(){ return self::$wheel_count; } } class Trucks extends Cars { static function display() { echo parent::car_detail(); } } Trucks::display(); ?>
true
7ff770d3dd84911d9f6b79dfa26dcb7adacfe61d
PHP
teamzac/laravel-bluepay
/src/Reports/SettlementReport.php
UTF-8
2,222
2.53125
3
[ "MIT", "LicenseRef-scancode-warranty-disclaimer" ]
permissive
<?php namespace TeamZac\BluePay\Reports; use TeamZac\BluePay\Client; use TeamZac\BluePay\TamperProofSeal; class SettlementReport { /** @var Client */ protected $client; /** @var array */ protected $parameters; public function __construct(Client $client) { $this->client = $client; ...
true
7449d57f99b5d736296daa1b67b19243bf5884cb
PHP
miag-ampt/PHP-Study
/sample020.php
UTF-8
849
4.0625
4
[]
no_license
<?php //3.2 演算子 //3.2.1 PHPの演算子 /* 演算→式に対して何かしらの別の価を生み出すために行われる操作。 PHPの演算子→単項演算子・二項演算子・三項演算子 ・単項演算子 一つの式に対して行われる演算(ex.!:否定) ・二項演算子 左辺と右辺の2つの式に対して演算。 ・代入演算子 */ echo $a = 10; //演算の評価値が代入値10なので、10が出力 /*・代数演算子 四則演算と剰余を行う演算子。 数値型(整数型or浮動小数点数型)に対して行われ、それ以外は数値にキャストされる。 */ $b = 1 + 2; //3 $c = '1.5' - 2; //-0.5 '1.5'は数字にキ...
true
c4ffb980d570a7d43169ed6ac782692c00c53f65
PHP
Hleb-DF/PHP_test2.0
/zad4.php
UTF-8
155
2.875
3
[]
no_license
<?php $str="Я знаю как работать со строковыми переменными в PHP"; $str=str_replace(" ","_",$str); echo $str; ?>
true
1ee14bf6289ec858d5806a81247c44e13e4ae319
PHP
serviceCuCu91/PhalconOauth2RESTfulServer
/app/models/Users.php
UTF-8
1,483
2.8125
3
[ "Apache-2.0" ]
permissive
<?php use Phalcon\Mvc\Model\Validator\Email as Email; class Users extends \Phalcon\Mvc\Model { /** * @var integer */ public $id; /** * * @var string */ public $username; /** * * @var string */ public $password; /** * * @var string */ ...
true
36a57771b481a20a94ff783908d27af67c9eee14
PHP
khamsany/MagnificientDashboardX
/app/Models/Client.php
UTF-8
539
2.515625
3
[ "MIT" ]
permissive
<?php namespace App\Models; use App\User; use Illuminate\Database\Eloquent\Model; /** * Class Client * @package App\Models * @property string $name * @property string $created_at * @property string $updated_at */ class Client extends Model { protected $table = 'clients'; public function members() ...
true
b6c04b0413b3afa0a2aed1c27acd4b4b83254e12
PHP
aashan10/livewire-table
/src/Helpers/ColumnHelper.php
UTF-8
613
2.640625
3
[ "MIT" ]
permissive
<?php namespace LivewireTable\Helpers; use LivewireTable\Table\ColumnInterface; class ColumnHelper { /** * @param $columns * @return ColumnInterface[] */ public static function getActionColumns($columns): array { return collect($columns)->filter(fn (ColumnInterface $column) => $co...
true
3783a465dea3b83298fb05f480a43b6e9dfddd05
PHP
atudz/SFAReport
/app/Http/Controllers/InvoiceController.php
UTF-8
2,801
2.671875
3
[]
no_license
<?php namespace App\Http\Controllers; use App\Core\ControllerCore; use App\Factories\ModelFactory; use App\Http\Requests\InvoiceRequest; use App\Http\Requests\InvoiceDelete; use App\Factories\PresenterFactory; class InvoiceController extends ControllerCore { /** * Validate Invoice * @param unknown $start * @...
true
b82408bf3e7d5dbaae0bc84abfb78979c2c5791e
PHP
Exanrus/crm-bundle
/Service/Manager/AccountManager.php
UTF-8
2,077
2.59375
3
[]
no_license
<?php namespace Perfico\CRMBundle\Service\Manager; use Doctrine\ORM\EntityManagerInterface; use Perfico\CoreBundle\Entity\Account; use Perfico\CoreBundle\Entity\Channel; use Perfico\CoreBundle\Entity\DealState; use Perfico\CRMBundle\Entity\UserInterface; class AccountManager { /** @var Account */ protected $...
true
b0ee3949b6310b075a553eb832bcf0aa4f85335d
PHP
sky98/misiones
/app/Http/Controllers/ClientesController.php
UTF-8
3,860
2.59375
3
[ "MIT" ]
permissive
<?php namespace App\Http\Controllers; use DateTime; use App\Models\clientes; use App\Models\misiones; use Illuminate\Http\Request; use Carbon\Carbon; class ClientesController extends Controller { /** * Display a listing of the resource. * * @return \Illuminate\Http\Response */ public func...
true