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
d9219911cd84379c34c33c6f0bd33a0bb3688b2a
PHP
OpenMageModuleFostering/deutschepost_internetmarke
/lib/DeutschePost/ProdWs/Soap/extendedIdentifierType.php
UTF-8
2,995
2.6875
3
[]
no_license
<?php namespace DeutschePost\ProdWs\Soap; class extendedIdentifierType { /** * @var externIdentifierType[] $externIdentifier * @access public */ public $externIdentifier = null; /** * @var string_maxLen50 $ProdWSID * @access public */ public $ProdWSID = null; /** ...
true
73fe8f3ca8538045ffc35131a4fd0efd8dd3abf8
PHP
crypto-markets/binance
/src/Endpoints/OpenOrders.php
UTF-8
1,363
2.734375
3
[ "MIT" ]
permissive
<?php namespace CryptoMarkets\Binance\Endpoints; class OpenOrders extends Endpoint { /** * Determine if the request need authorized. * * @var bool */ protected $authorize = true; /** * Get the request url. * * @return string */ public function getUrl() { ...
true
d4528fb8882280b0c685963f75e83955828166b5
PHP
amrsamo/insta
/vendor/bolandish/instagram-grabber/test/instagram_script.php
UTF-8
5,728
2.671875
3
[ "LicenseRef-scancode-warranty-disclaimer" ]
no_license
<?php ini_set('max_execution_time', 3000); // printme('<h2>Loop number '.$count.'</h2>'); if(!is_array($media)){ echo 'not array'; exit(); } foreach ($media as $photo) { // printme($photo); $owner_account = $photo->owner; $user_data = array(); ...
true
901ab93958818ffc0899221d8ac496ad5c5ab3a5
PHP
profnaranjo/php_ajax
/getemployee.php
UTF-8
947
2.75
3
[]
no_license
<?php $q = intval($_GET['q']); include 'config.php'; $sql = "SELECT t.* FROM employees t where t.employeeNumber = '" . $q . "'"; $result = mysqli_query($conn, $sql); echo "<table class='table table-bordered'> <tr> <th width='45'>ID</th> <th width='110'>Lastname</th> <th width='110'>Firstname</th> <th width='80'>Ex...
true
fe78a33dacc54c867cae40fa4a2375007eee0c6c
PHP
kamil-123/petclinic
/app/Http/Controllers/PetController.php
UTF-8
1,855
2.515625
3
[ "MIT" ]
permissive
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; use App\Pet; class PetController extends Controller { public function index() { $pets = Pet::orderBy('name', 'asc')->paginate(100);; $view = view('pets/index', compact('pets')); return $view; } public function se...
true
f20597f06c5bf2d764b64d99f4e9f09ad807a2aa
PHP
zeng444/swoole-orm-db
/src/Coroutine/Db/Adapter.php
UTF-8
16,140
2.65625
3
[ "MIT" ]
permissive
<?php namespace Janfish\Swoole\Coroutine\Db; use Phalcon\Db\Exception; use Swoole\Coroutine\MySQL as CoroutineMySQL; use Janfish\Swoole\Coroutine\Db\Result\Pdo as ResultPdo; /** * Author:Robert * * Class Adapter * @package Janfish\Swoole\Coroutine\Db */ class Adapter implements AdapterInterface { /** ...
true
f0b04e47cb623068c12b24050bd12114a5e37bff
PHP
faniacisfo15/praktekweb2
/belajar/contohclass.php
UTF-8
300
2.71875
3
[]
no_license
<?php //membuat class dokter class dokter {//membuat atribut untuk class dokter private $id_k; public $nama; public $tgl_lahir; public $alamat; public $no_hp; //membuat method untuk class dokter public function periksa_pasien { return "dokter sedang memeriksa seorang pasien"; } } ?>
true
b411d2029fc9fa825de333c1491b8b7ddf06ada5
PHP
a-romald/Resize_class_images_app
/upload_images.php
UTF-8
1,882
2.8125
3
[]
no_license
<?php require_once 'resize.class.php'; $db = new PDO('mysql:host=localhost;dbname=db1','user','password'); if (isset($_POST['submit'])) { $title = $_POST['title']; $resize = new Resize(); // Working with images if (!empty($_FILES['images']['tmp_name'][0])) { $file = array(); ...
true
3f7fecc292d42c84f6e2afd688fe42a9b5a12d13
PHP
white-gecko/ijew
/classes/Date.php
UTF-8
2,180
3.515625
4
[]
no_license
<?php class Date { private static $unixBegin = 719529; /** * The amount of seconds of a 'normal' day * 24*60*60 */ private static $secPerDay = 86400; private $_id; private $_title; private $_denominationId; private $_holidayId; private $_start; private $_...
true
ca8ada69675ff16235b357470404ca2cb2bd18c3
PHP
leonardofaria/Fast-Flickr
/fastflickr.php
UTF-8
1,960
2.625
3
[]
no_license
<?php /* Plugin Name: Fast Flickr Version: 1.0 Plugin URI: http://leonardofaria.net/2012/07/01/wordpress-plugin-fast-flickr/ Description: Plugin that shows Flickr sets in a lightbox window Usage: [fastflickr set=SET NUMBER] Author: Leonardo Faria Author URI: http://www.leonardofaria.net */ function enqueue_...
true
939c62ac2913c601e32bfdbb295da52ea83a1065
PHP
laraveler/omnipay-99bill
/src/Request/QueryRequest.php
UTF-8
3,127
2.71875
3
[ "MIT" ]
permissive
<?php /** * Author 阿伟同学. * Date: 2018/5/26 * Time: 19:01 */ namespace Omnipay\Bill99\Request; use Omnipay\Bill99\Common\Signer; use Omnipay\Bill99\Response\QueryResponse; use Omnipay\Common\Exception\InvalidRequestException; class QueryRequest extends AbstractRequest { protected $queryKey; protected $signType...
true
ec5a499fc08038e6e74d5e53758b5515865d8d72
PHP
dms-org/core
/src/Model/ITypedObject.php
UTF-8
796
2.796875
3
[ "MIT" ]
permissive
<?php declare(strict_types = 1); namespace Dms\Core\Model; use Dms\Core\Exception; /** * The typed object interface. * * @author Elliot Levin <elliot@aanet.com.au> */ interface ITypedObject { /** * Returns an associated array of the values indexed by the property names. * * This returns all pr...
true
69b5d6e71665e153e62c2cea867101744c5fb5e0
PHP
rafmjr/electronick
/tests/Unit/Models/ElectronicItemsTest.php
UTF-8
3,972
3.0625
3
[ "Apache-2.0" ]
permissive
<?php namespace Tests\Unit\Models; use App\Exceptions\UnexpectedItemType; use App\Models\Console; use App\Models\Controller; use App\Models\ElectronicItem; use App\Models\ElectronicItems; use App\Models\Microwave; use App\Models\Television; use PHPUnit\Framework\TestCase; class ElectronicItemsTest extends TestCase {...
true
658e2a25a5440a462de73880422b2086fa109d38
PHP
juniorlaye07/school
/universite/classes/Batiment.php
UTF-8
626
3.15625
3
[]
no_license
<?php class Batiment{ private $Id_batiment; public function __construct($Id_batiment){ $this->Id_batiment = $Id_batiment; } /** * Get the value of Id_batiment */ public function getId_batiment() { return $this-...
true
5008ef163151b08d4fd1b738f98e3ea3c484de50
PHP
dungpv10/bookvexe
/app/Http/Controllers/Admin/ManagerHolidayController.php
UTF-8
3,100
2.546875
3
[ "MIT" ]
permissive
<?php namespace App\Http\Controllers\Admin; use App\Services\ManageHolidayService; use Illuminate\Http\Request; use App\Http\Controllers\Controller; class ManagerHolidayController extends Controller { protected $service; public function __construct(ManageHolidayService $service) { $this->service ...
true
8b1fc084b1911bde15056e2b92e458350972d081
PHP
fabishodev/productos
/Products.php
UTF-8
563
2.671875
3
[]
no_license
<?php $id = intval($_GET['id']); include("mysql.php"); $sql = "SELECT * FROM productos WHERE id_producto = '".$id."'"; //$sql="SELECT * FROM productos WHERE id_producto = 2"; $result = mysqli_query($con,$sql); echo "<table class='table'> <tr> <th>Descripción</th> <th>Imagen</th> </tr>"; while($row = mysqli_fetch_arr...
true
d1a97144515f4f1d70787680eae626766344aaf6
PHP
erickz/snippet-kat
/includes/candidate.php
UTF-8
2,155
3.109375
3
[]
no_license
<?php class Candidate extends useRequirements { public function __construct($name = '', array $arrayList = []) { parent::__construct($name, $arrayList); } /** * Return wether the candidate possess the given asset type * * @return boolean */ public function hasAssetType(...
true
9dcc78503de42654caebaeaffed9098764ad603d
PHP
cha63506/avatar-46
/src/Canducci/Avatar/Contracts/AvatarInfoContract.php
UTF-8
427
2.59375
3
[]
no_license
<?php namespace Canducci\Avatar\Contracts; abstract class AvatarInfoContract { protected $avatarEmail; protected $avatarProperty; abstract function getPath(); abstract function getHash(); abstract function getWidth(); abstract function getEmail(); abstract function getTagImage(); ...
true
ca3d32739f91f6f99fd97f1d4154c52342472eb0
PHP
osians/dal
/src/DatabaseProviderInterface.php
UTF-8
260
2.578125
3
[ "MIT" ]
permissive
<?php declare(strict_types = 1); namespace Osians\Dal; interface DatabaseProviderInterface { /** * @param array $options */ public function __construct($options = []); public function conectar(); public function desconectar(); }
true
bddce444628f8599688ddd697a675df00fa4e5d6
PHP
saihari-Incipio/common-support-ticket
/models/CESModel.php
UTF-8
11,290
2.53125
3
[]
no_license
<?php class CESModel extends Model { public function __construct() { parent::__construct(); } public function getMeetingRequest() { if((isset($_REQUEST['date'])) && $_REQUEST['date'] == 'all'){ $conditionSql = ''; $conditionData = []; } else { $date = ((isset($_REQUEST['d...
true
909d01b9505944f288a645b5375c6450dae6c22d
PHP
ifcanduela/pew-app
/app/services/debugbar/Debugbar.php
UTF-8
3,712
2.703125
3
[ "MIT" ]
permissive
<?php namespace app\services\debugbar; use DebugBar\StandardDebugBar; use DebugBar\JavascriptRenderer; use DebugBar\DataCollector\DataCollector; use ifcanduela\events\CanListenToEvents; /** * A wrapper around maximebf/debugbar. */ class Debugbar { use CanListenToEvents; /** @var StandardDebugBar */ p...
true
888d1c48e920d4816eee938afab84a82b8811f42
PHP
MrDavidChz/certificado-sello
/src/Lib/KeyLib.php
UTF-8
1,487
2.890625
3
[]
no_license
<?php namespace MrDavidChz\Sat\Lib; use SplFileInfo; class KeyLib { /** * File to decode. * * @var string */ protected $file; protected $openSsl; /** * Password to decode the file. * * @var string */ protected $password; /** * Create a new key...
true
bfaf397ebe8f495f2aaa4fb8bd61838c251dbced
PHP
Webseed-Digital/crm-demo
/app/Http/Requests/StoreEmployee.php
UTF-8
916
2.546875
3
[]
no_license
<?php namespace App\Http\Requests; use Illuminate\Foundation\Http\FormRequest; use Illuminate\Validation\Rule; class StoreEmployee extends FormRequest { /** * Determine if the user is authorized to make this request. * * @return bool */ public function authorize() { return tru...
true
0a386968e1a805bcc7d36b7210ce96111ef28f91
PHP
huihuxidetong/we8.51ningmeng.cn
/we8.51ningmeng.cn/addons/zjhj_mall/core/vendor/wi1dcard/yii2-hejiang-event/lib/EventArgument.php
UTF-8
1,196
2.765625
3
[ "BSD-3-Clause" ]
permissive
<?php namespace Hejiang\Event; use yii\base\ArrayAccessTrait; class EventArgument implements \IteratorAggregate, \Countable, \ArrayAccess, \JsonSerializable { use ArrayAccessTrait; /** * Event sender (e.g. Controller) * * @var mixed */ protected $sender; /** * Event res...
true
ed924c06681f98dd505bfe50fdfce17e9c2cfca5
PHP
winnipeg21/advancedban-panel
/AdvancedBans/Request.class.php
UTF-8
1,187
2.8125
3
[ "MIT" ]
permissive
<?php namespace AdvancedBans; use AdvancedBans; class Request { private $relative; public function __construct(string $path) { $__root = AdvancedBans::getRoot( ); $path = clean($path); if( empty($path) ) $this->relative = "index.php"; else if( file_exists($__root . "/pages/" . $path . "/index.php...
true
a53b4129fce411a1647c9a3021b3c87955f3ea17
PHP
Kelzo/projet-sel
/manager/QueryAgenda.class.php
UTF-8
1,149
2.734375
3
[]
no_license
<?php class QueryAgenda{ function __construct(){ } function selectAll(){ $connection = new Connection(); $connection->open(); $query=mysql_query("SELECT * FROM agenda"); return $query; $connection->close(); } function update($agenda){ $connection = new Connection(); $connection->op...
true
20ad64e00f30aa81e9ff21dd2e59e5c6fd3a7ea3
PHP
rockysingh6769/salon
/app/Rules/GoogleMapAddress.php
UTF-8
937
2.78125
3
[ "MIT" ]
permissive
<?php namespace App\Rules; use Illuminate\Contracts\Validation\Rule; class GoogleMapAddress implements Rule { /** * Create a new rule instance. * * @return void */ public function __construct() { // } /** * Determine if the validation rule passes. * * @...
true
f85cbf5ea1ce671328dfd4d8872eacec50b1c25b
PHP
CoolColdUK/StoreSync2
/app/Http/Resources/EtsyListingCsvResource.php
UTF-8
4,809
2.578125
3
[ "MIT" ]
permissive
<?php namespace App\Http\Resources; use App\EtsyListing; use App\Http\CcHelpers\CcArray; use Illuminate\Http\Resources\Json\JsonResource; class EtsyListingCsvResource extends JsonResource { public static $COLUMNS = [ 'listing_id', 'sku', "title len", "title1", "title2", "title3", "title4", "title...
true
c9be15722abc4e208fe7624f2b9d9f05d50ab4a3
PHP
cdrubin/matchmaker
/src/rules.php
UTF-8
6,943
3.078125
3
[ "MIT" ]
permissive
<?php namespace matchmaker; /** * 1. If $key is null, it returns array of rules * 2. If $key is array, it sets new rules * 3. Otherwise, it returns matcher by $key * * @param null|array|string $key * * @return array|callable * * @throws \InvalidArgumentException * * @see https://github.com/ptrofimov/matchma...
true
1e117c090f564e18366810cfb549f8e8780732cd
PHP
Aryaw1jaya/weddingin
/application/models/Product_model.php
UTF-8
1,282
2.59375
3
[ "Apache-2.0", "MIT" ]
permissive
<?php defined('BASEPATH') OR exit('No direct script access allowed'); class Product_model extends CI_Model { public function getAllProduct() { return $this->db->get('products')->result_array(); } public function getProduct($id) { return $this->db->get_where('products', ['id' => $id])->row_array(); } pu...
true
95a0b2fc486b70784c1611328db1add0b605eb17
PHP
MalikZouhiri/DropIUT
/S3/ProgWeb/dsprogweb/documents/TP4ted/test.php
UTF-8
791
3.375
3
[]
no_license
<?php echo "<form action='' method='get'>"; echo "nom : <input type='text' name ='nom' /><br />"; echo "<input type='submit' name='ok' /></form>"; //$nom=$_GET["nom"]; //$ok= if(isset($_GET["nom"])) $nom=$_GET['nom']; echo ("affichage de GET : ".$nom." <br />"); if(isset($_POST["nom"])) echo("affichage de POST : ".$...
true
1d35a4d7e26f5739b32730de95d79ee09e36635b
PHP
quyvx07/ShopBanhLaravel
/app/Services/Impl/ProductServices.php
UTF-8
862
2.71875
3
[ "MIT" ]
permissive
<?php namespace App\Services\Impl; use App\Repository\Contracts\ProductRepositoryInterface; use App\Services\Services; class ProductServices implements Services { protected $productRepository; public function __construct(ProductRepositoryInterface $productRepository) { $this->productRepository...
true
d0d08ca459bb231e2ae6656bf7d3bd450aa7fad9
PHP
chungthehao/laravel-qa
/database/factories/QuestionFactory.php
UTF-8
754
2.6875
3
[ "MIT" ]
permissive
<?php use Faker\Generator as Faker; $factory->define(App\Question::class, function (Faker $faker) { return [ // Xóa dấu chấm mặc định ở cuối câu 'title' => rtrim($faker->sentence(rand(5, 10)), '.'), // param2=true để trả về là 1 string, chứ ko phải là 1 array 'body' => $faker->para...
true
30ed85d9bb30512d95456f4ba0bebce55c9af419
PHP
stratocentric/hunterio
/src/DomainSearch.php
UTF-8
4,818
3.3125
3
[ "MIT" ]
permissive
<?php namespace Messerli90\Hunterio; use Messerli90\Hunterio\Exceptions\InvalidRequestException; /** * This API endpoint searchers all the email addresses corresponding to one website. * * @package Messerli90\Hunterio */ class DomainSearch extends HunterClient { /** * Domain name from which you want to ...
true
7dee39ba9a0038466db54154736257ae896ca1a0
PHP
abumilhan78/latihan-php
/soal/login.php
UTF-8
3,905
2.5625
3
[]
no_license
<?php session_start(); if (isset($_POST['Login'])) { $user = $_POST['username']; $pass = $_POST['pass']; //periksa login if ($user == "candra" && $pass = "123456") { //menciptakan session $_SESSION['login'] = $user; //menuju ke halaman pemeriksaan session echo "<h1>Anda ...
true
2601583e684820f3aa952f5c85e818917dea61db
PHP
awmob/ebayapi
/ADWORDS/#bktmp/felix - Copy/app/pagination/pagination.inc.php
UTF-8
5,740
3.0625
3
[]
no_license
<?php Class pagination{ private $pages_array = array(); private $current_page; private $total_pages; private $pages_show_array = array(); private $pages_to_show; /* $count_of_entries = number of returned values from dbase $items_per_page = number of desired items to appear on each page $curren...
true
49495c217f2aeca4b02f2fafdf872f9c750efa7b
PHP
husseinelhussein/property-api
/database/factories/PropertyFactory.php
UTF-8
1,343
2.578125
3
[]
no_license
<?php namespace Database\Factories; use App\Models\Property; use App\Models\PropertyType; use App\Models\User; use Illuminate\Database\Eloquent\Factories\Factory; class PropertyFactory extends Factory { /** * The name of the factory's corresponding model. * * @var string */ protected $mod...
true
4bc7fdcad5a872d4ec9c67cbf7c55a5900bd7951
PHP
CyxapukoFF/lesson8
/framework/models/mysql/Model.php
UTF-8
2,982
3.078125
3
[ "MIT" ]
permissive
<?php namespace models\mysql; class Model extends \models\Model { protected $tableName = ''; protected $fieldNames = array(); protected $data = array(); //static public $conn; public function __construct() { $this->init(); } public function init() { $res = mysql_query("DESCRIBE $this->tableNa...
true
70fb01f8a8d697cf7598cc69bad25172ff28b2b6
PHP
philipliberato/CS-4750-Group-Project
/src/perscriptionpage.php
UTF-8
979
2.8125
3
[]
no_license
<?php include('session.php'); $drug_name = $_GET["DrugName"]; $fdanumber = $_GET["FDANumber"]; //$fdanumber = 123456789; $connection = mysqli_connect("stardock.cs.virginia.edu", "cs4750pnl8zp", "hospital", "cs4750pnl8zp"); if (!$connection) { //echo "connection failed"; } else { /...
true
54635747db7c96d19017e4380600c05a96d0b193
PHP
TerekhinNI/wpmovielibrary
/includes/utils/attachment-utils.php
UTF-8
878
2.890625
3
[]
no_license
<?php /** * The file that defines the attachment utils functions. * * @link https://wpmovielibrary.com * @since 3.0.0 * * @package wpMovieLibrary */ namespace wpmoly\utils\attachment; use wpmoly\utils; /** * Prefix attachment meta keys. * * @since 3.0.0 * * @param string $key Meta key. * @par...
true
9cfa2439e62c79b9e3368616bb7daf688d2fdb66
PHP
bhavikbagul/yii2shopping
/common/models/Cart.php
UTF-8
1,629
2.625
3
[]
no_license
<?php namespace common\models; use Yii; /** * This is the model class for table "cart". * * @property int $id * @property int|null $user_id * @property string $session_id * @property int|null $status * @property string|null $created_date * * @property User $user * @property CartDetails[] $cartDetails */ c...
true
d5bdc700d5b2f0ee31bf4f701067a46cbbbb5993
PHP
raseliet/bandymas
/veliava2.php
UTF-8
962
2.859375
3
[]
no_license
<!--HTML sukurti velivos fragmenta is triju spalvu (taip kaip Lietuvos veliava.--> <!--Trys spalvos.)--> <!----> <!--PHP apsirasyti tris spalvas RGB kurios keisis RANDOM 0-255 skaleje.--> <!--atvaizduoti php pagalba jas HTML’e--> <?php $spalva1 = rand(0,255) . ‘, ’ . rand(0,255) . ‘, ’ . rand(0,255); $spalva2 = rand(...
true
f018b44345b3010a6f1b1d512d1f392b2160169e
PHP
noikiy/laravel-app
/app/controllers/ChartController.php
UTF-8
17,773
2.65625
3
[]
no_license
<?php use Carbon\Carbon; class ChartController extends BaseController{ //require 'vendor/autoload.php'; //use Carbon\Carbon; public function getQuestionChart(){ $question_id = Input::get('question_id'); $title = Question::find($question_id)->content; $response = $this->generateQuestionChart($quest...
true
3c9c0c9ba97d0cc7835732689cd0aa25b3615fd9
PHP
rtumair/training2
/umaira.sajjad/MVC(template)/app/controllers/usercrud.php
UTF-8
6,044
2.75
3
[]
no_license
<?php /** * Created by PhpStorm. * User: umaira.sajjad * Date: 7/21/16 * Time: 10:16 AM */ error_reporting(E_ALL); ini_set('display_errors', 1); class Usercrud extends Controller { protected $user; protected $smarty; public function __construct() { session_start(); $this->user =...
true
9cf6481270b7a8d970bca46d0f9cdf6ed62e4a4d
PHP
alnugen/people_plan_task
/Libs/Utils.php
UTF-8
2,092
2.859375
3
[]
no_license
<?php class Utils { private function __construct() { } public static $templatePath = ""; public static function Render($template, $data=[]) { $templateFilePath = self::ConvertPath(self::$templatePath . $template); if (file_exists($templateFilePath)) { ob_start(); ...
true
ad81df848d4bb1ed8a1154d17f377758eed31f4d
PHP
spryker/business-on-behalf-data-import
/src/Spryker/Zed/BusinessOnBehalfDataImport/Business/Model/Step/CompanyUser/CustomerReferenceToIdCustomerStep.php
UTF-8
2,250
2.515625
3
[ "MIT" ]
permissive
<?php /** * MIT License * For full license information, please view the LICENSE file that was distributed with this source code. */ namespace Spryker\Zed\BusinessOnBehalfDataImport\Business\Model\Step\CompanyUser; use Orm\Zed\Customer\Persistence\Map\SpyCustomerTableMap; use Orm\Zed\Customer\Persistence\SpyCustom...
true
742c74506ad68645e68b552949a80e98bc18b45f
PHP
romkatsu/request-model
/src/MiddlewareFactory.php
UTF-8
2,310
2.703125
3
[ "LicenseRef-scancode-unknown-license-reference", "BSD-3-Clause" ]
permissive
<?php declare(strict_types=1); namespace Yiisoft\RequestModel; use InvalidArgumentException; use Psr\Container\ContainerInterface; use Psr\Http\Server\MiddlewareInterface; use Yiisoft\Middleware\Dispatcher\MiddlewareFactoryInterface; final class MiddlewareFactory implements MiddlewareFactoryInterface { private ...
true
d6db14fc537aa07078c1f0eee7c0282f61bdf4d8
PHP
Codifico/CodificoResourceBundle
/Repository/RepositoryFactory.php
UTF-8
963
2.59375
3
[]
no_license
<?php namespace Codifico\ResourceBundle\Repository; use Doctrine\ORM\EntityManagerInterface; use Doctrine\ORM\Repository\RepositoryFactory as BaseRepositoryFactory; class RepositoryFactory implements BaseRepositoryFactory { /** * Gets the repository for an entity class. * * @param \Doctrine\ORM\E...
true
296b86cf4371953f671f55c0c132528669973794
PHP
galileo/Typer
/src/Galileo/SimpleBet/MainBundle/Controller/GameController.php
UTF-8
916
2.53125
3
[ "MIT" ]
permissive
<?php namespace Galileo\SimpleBet\MainBundle\Controller; use Doctrine\ORM\EntityManager; use Symfony\Bundle\FrameworkBundle\Templating\EngineInterface; use Symfony\Component\HttpKernel\Exception\HttpException; class GameController { /** * @var \Doctrine\ORM\EntityManager */ protected $entityManage...
true
5cdcfcb0e5806fd71ae5704dc51d112cad811cb7
PHP
alejandrososa/FuncionalidadesTDD
/tests/acceptance/IndexPageCest.php
UTF-8
446
2.515625
3
[]
no_license
<?php class IndexPageCest { protected $demo; public function _before(AcceptanceTester $I) { } public function _after(AcceptanceTester $I) { } protected function _inject(){ $this->demo = 'Resultado crear anuncio'; } // tests public function tryToTest(AcceptanceTes...
true
1cd27b19f1fa0f004dcfc030f1749d38290f887f
PHP
BradenJCampbell/Portfolio
/PHP-BClib/Writer.php
UTF-8
1,241
3.15625
3
[]
no_license
<?php namespace BClib; class Writer { private $stream; private $indent; private $needs_indent; public function __construct($stream = false) { $this->stream = $stream; $this->indent = 0; $this->needs_indent = false; } public function Indent($spaces) { $this->indent += $spaces; if ($th...
true
ff928207ab7639029ad9dc01ff5602fda054c96a
PHP
RohanVania/PhpTestProject
/OnlineLectures/InstructorPanel/login_check.php
UTF-8
561
2.53125
3
[]
no_license
<?php require_once("../config.php"); print_r($_POST); $name = $_POST['username']; $email = $_POST['email']; echo $select = "SELECT * FROM instructors WHERE I_FIRSTNAME='$name' AND I_EMAIL='$email'"; $query = mysqli_query($connect, $select); $check = mysqli_num_rows($query); if ($check > 0) { session_...
true
16f430c111d4b5d10cea0153f20899a8920a648b
PHP
jeromesigg/quali
/database/migrations/2019_12_01_212332_create_survey_chapters_table.php
UTF-8
1,241
2.515625
3
[ "MIT" ]
permissive
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreateSurveyChaptersTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('survey_c...
true
ebaf6e5fa916b6a6d6b3e4254d4787d5163fa80e
PHP
acdcorp/obullo
/helpers/drivers/session/memcache_driver.php
UTF-8
25,741
2.578125
3
[]
no_license
<?php defined('BASE') or exit('Access Denied!'); /** * Obullo Framework (c) 2010. * Procedural Session Implementation With stdClass. * Less coding, Less Memory. * * @author Ersin Guvenc. * @version 0.1 * @version 0.2 added extend support * @version 0.3 added config_item('sess_die_cookie') a...
true
8ef0e796320a748d1179469b53a642a815c1d4fa
PHP
bobbybouwmann/laravel-training-shop
/app/Product.php
UTF-8
848
2.6875
3
[]
no_license
<?php namespace App; use Illuminate\Database\Eloquent\Model; use Illuminate\Database\Eloquent\Relations\BelongsTo; use Illuminate\Database\Eloquent\Relations\BelongsToMany; use Illuminate\Database\Eloquent\Relations\MorphOne; class Product extends Model { /** * The table associated with the model. * ...
true
013c7aae4bd3925d38dd1158b6562e85fa8bdaa6
PHP
jotamolas/att
/src/att/attBundle/Services/SerializeService.php
UTF-8
1,382
2.640625
3
[]
no_license
<?php namespace att\attBundle\Services; use Symfony\Component\Serializer\Serializer; use Symfony\Component\Serializer\Encoder\XmlEncoder; use Symfony\Component\Serializer\Encoder\JsonEncoder; use Symfony\Component\Serializer\Normalizer\ObjectNormalizer; class SerializeService { private $enc...
true
18932bb658ba6dc8594bf62f0c65b06fd2b23597
PHP
amolswnz/x-fuw
/api/curl/add-user.php
UTF-8
4,415
2.671875
3
[]
no_license
<?php require_once __DIR__ . '/../connect-inc.php'; try { // AND accessId is . . . where to get and where to store $sql = "SELECT * FROM gd_client WHERE clientEmail = ?"; $stmt = $pdo->prepare($sql); $stmt->bindValue(1, $_POST['clientEmail']); $stmt->execute(); $clientData = $st...
true
09e1da94c0705a031ec869426d67c445a646a0f7
PHP
hippiechaka/gsm
/inc/Db.frontclass.php
UTF-8
6,714
2.96875
3
[]
no_license
<?php class DBfront { private $pdo; private $sQuery; private $settings; private $bConnected = false; private $log; private $parameters; public function __construct() { $this->Connect(); $this->parameters = array(); } private function Connect() { $this->settings["dbname"]=DBNAME;...
true
7c68616259b5b3a819e659aae1ea0a3b0c313cf4
PHP
kavindarochana/KS_Blog
/app/Http/Controllers/PostController.php
UTF-8
838
2.5625
3
[ "MIT" ]
permissive
<?php namespace App\Http\Controllers; use App\Post; use Illuminate\Database\Eloquent\ModelNotFoundException; class PostController extends Controller { public function index() { return Post::all(); } public function show($id) { try { return Post::findOr...
true
0ea01cc98dbb96b76fcd2e07fbabf2631ba8ae63
PHP
veselaneznam/fishandplacessf
/src/FishAndPlaces/Infrastructure/Dam/Repository/Doctrine/ORM/DoctrineDamImageRepository.php
UTF-8
951
2.515625
3
[]
no_license
<?php namespace FishAndPlaces\Infrastructure\Dam\Repository\Doctrine\ORM; use FishAndPlaces\Domain\Dam\Repository\DamImageRepository; use FishAndPlaces\Domain\Dam\Model\DamImage; use FishAndPlaces\Infrastructure\Core\Repository\Doctrine\ORM\DoctrineRepository; class DoctrineDamImageRepository extends DoctrineReposito...
true
697d7705ab98c6a7d5a1a23799b28c711dc16589
PHP
triusdeeepak/Apps
/curl.php
UTF-8
1,925
2.5625
3
[]
no_license
<?php function get_data($url){ $curl_handle=curl_init(); curl_setopt($curl_handle, CURLOPT_URL, $url); curl_setopt($curl_handle, CURLOPT_CONNECTTIMEOUT, 2); curl_setopt($curl_handle, CURLOPT_RETURNTRANSFER, 1); curl_setopt($curl_handle, CURLOPT_USERAGENT, 'My Crawling'); $query = curl_exec($curl_handle); return ...
true
48d9887943a991227f3785a926344e5918e46e4c
PHP
shiva06366/Advocate
/advocate_api/appointment/allappointments.php
UTF-8
1,057
2.796875
3
[]
no_license
<?php /** * Returns the list of cars. */ require '../connect.php'; $todolist = []; $sql = "SELECT `id`, `title`,`date_time`, `notes` FROM `appointment`"; if($result = mysqli_query($con,$sql)) { $cr = 0; while($row = mysqli_fetch_assoc($result)) { $todolist[$cr]['id'] = $row['id']; ...
true
cae7b5c5786c378f79a4b3849679e5a900f78de5
PHP
webdevzeit/Blink
/models/profile_change.php
UTF-8
3,976
2.609375
3
[]
no_license
<?php require '../db/db.php'; $user = $_SESSION['logged_user']['name']; $item = R::findOne('users',' name = ? ',array($user)); $delete = "../images/userpic/".$_POST['old_picture']; if ($user == '' || $user != $item['name']) { var_dump($item); die('Access denied ! You do not have access rights ! <a href="../ind...
true
dd2b2b2fc78dd3d6907e1e273a273a9251f6a9ec
PHP
XeilaS/Travaux
/save moi/lien/ajax/modifierlogo.php
UTF-8
2,503
2.828125
3
[]
no_license
<?php // vérification de l'accès require '../../include/fonction.php'; require '../../class/class.database.php'; $db = Database::getInstance(); if (!estAutorise(30, $db)) { echo "Accès interdit"; exit; } // contrôle de l'existence des paramètres attendus if (!isset($_FILES['fichier'])) { echo "Demande...
true
ad2357e19bbe8243f0fdd621e379575555d0c03b
PHP
kalodiodev/plain-notes
/app/repositories/UserRepository.php
UTF-8
1,713
2.90625
3
[ "MIT" ]
permissive
<?php namespace App\Repository; use App\Model\User; /** * Interface UserRepository * * @package App\Repository */ interface UserRepository { /** * Get all users * * @return array of users */ function all(); /** * Save new user * * @param User $user */ fun...
true
5e3d6e027e5ea1dc9c748ec60309eb71139edd0b
PHP
stas/libertine
/archive.php
UTF-8
2,089
2.609375
3
[]
no_license
<?php get_header(); if (have_posts()) : ?> <?php $post = $posts[0]; // Hack. Set $post so that the_date() works. ?> <?php /* If this is a category archive */ if (is_category()) { ?> <h1 class="pagetitle">Archive for &#8216;<?php single_cat_title(); ?>&#8217; Category</h1> <?php /* If this is a tag archi...
true
142a794cd1f0d2fe2a9521598f0ec3e789eb9f35
PHP
PaulOfili/HNG_Chatbot
/HNGFun2/profiles/pepps01.php
UTF-8
1,619
2.53125
3
[]
no_license
<?php <<<<<<< HEAD if(!isset($_GET['id'])){ require "../config.php"; require '../db.php'; }else{ require "config.php"; require 'db.php'; } try { $sql = 'SELECT * FROM interns_data,secret_word WHERE username ="'.'pepps01'.'"'; $stmt = $conn->query($sql); $r = $stmt->fetch(PDO::FE...
true
6e09b094b518de301816891cd37953db5eaf0b7e
PHP
salarmehr/helpers
/tests/FsTest.php
UTF-8
884
2.640625
3
[]
no_license
<?php require __DIR__ . '/../src/fs.php'; class FsTest extends PHPUnit\Framework\TestCase { /** * @dataProvider fileSizeProvider */ public function testFileSize($original, $expected) { $this->assertEquals($expected,f\fs::fileSize($original)); } public function fileSizeProvider() ...
true
49c6729539ba3872425257449ff9ae870c48f6d1
PHP
webteractive/expressionengine-env
/system/ee/legacy/libraries/Xmlparser.php
UTF-8
6,698
2.796875
3
[ "LGPL-2.1-only", "OFL-1.1", "LicenseRef-scancode-unknown-license-reference", "Swift-exception", "Apache-2.0", "BSD-3-Clause", "BSD-2-Clause", "MIT" ]
permissive
<?php /** * This source file is part of the open source project * ExpressionEngine (https://expressionengine.com) * * @link https://expressionengine.com/ * @copyright Copyright (c) 2003-2019, EllisLab Corp. (https://ellislab.com) * @license https://expressionengine.com/license Licensed under Apache License...
true
90f0451655bb69a5b80e8b3c2bf8d71f3c464f71
PHP
brugambwa/webdevclass
/formdbinsert/index.php
UTF-8
2,471
2.609375
3
[]
no_license
<?php /* * All HTML & CSS Based on Templates from The Bootstrap Website. */ include('formfunctions.php'); if (isset($_POST['fullname']) && isset($_POST['emailaddress'])) { $fullname = $_POST['fullname']; $email = $_POST['emailaddress']; $username = $_POST['username']; $password = $_POST['password']; ...
true
33f01b868eddcbc7981183a2184811adda7d07f1
PHP
venkateshdasari/kirana
/opencart_storage/modification/system/library/cart/customer.php
UTF-8
10,344
2.515625
3
[]
no_license
<?php namespace Cart; if( !function_exists('apache_request_headers') ) { /// function apache_request_headers() { $arh = array(); $rx_http = '/\AHTTP_/'; foreach($_SERVER as $key => $val) { if( preg_match($rx_http, $key) ) { $arh_key = preg_replace($rx_http, '', $key); $rx_matches = array(); ...
true
0b312a84d8c05769a04e30587bac8fc0d925f8c7
PHP
Gelio/vote-app
/assets/php/login2.php
UTF-8
1,400
2.890625
3
[]
no_license
<?php /* New version - with classes */ require_once("init.php"); $email = $headersHandler->getHeader('email'); $password = $headersHandler->getHeader('password'); $outputHandler = new OutputHandler("output-login2.txt"); $outputHandler->write($headersHandler->getHeaders(true)); if($headersHandler->isAuthenticated())...
true
05232a286a7e3b93faee6cfb7ed8e11ba5ff3459
PHP
jhonker2/webserviceFuel
/controlador/KardexController.php
UTF-8
2,225
2.640625
3
[]
no_license
<?php require_once('../index.php'); //incluir archivo de conexion require_once('../modelo/Kardex.php'); require_once('../modelo/Dato.php'); class KardexController { private $connect; private $kardex; public function __construct($connect) //funcion que se autoejecuta cuando defines un objeto, le puedes p...
true
fc62aa0da6ecbe87173104099d224ff98d51cc6c
PHP
Cindy-Clijsters/Pizza
/App/Entities/Company.php
UTF-8
5,069
3.328125
3
[]
no_license
<?php declare(strict_types = 1); namespace App\Entities; /** * Class Company * * Hold the properties of the company */ class Company { private $id; private $name; private $address; private $city; private $phone; private $mail; private $vatNumber; private $aboutUs; private...
true
7ad4812b3d4fac925560cc09cf30f8ce6a445e21
PHP
ILuisNovoa/Empiregaming
/controllers/TeamController.php
UTF-8
3,431
2.6875
3
[]
no_license
<?php require 'models/User.php'; require 'models/Team.php'; require 'models/Team_detail.php'; /** * */ class TeamController { private $model; private $users; private $team_detail; public function __construct() { try{ $this->model = new Team; $this->users = new User; $this->team_detail = new Team_de...
true
19bbad746dc7a9fe07ae165d24def07a77265982
PHP
rafaLino/SoulStore
/src/model/Boleto.php
UTF-8
967
2.84375
3
[]
no_license
<?php /** * Created by PhpStorm. * User: Rafael Lino * Date: 02/11/2017 * Time: 13:01 */ namespace src\model; class Boleto { private $preco; private $codigo; private $dataVenc; /** * @return mixed */ public function getPreco() { return $this->preco; } /** ...
true
71d6f980db20eed002689c894910654355116a54
PHP
bigdig/sae-shop
/app/models/mall_order.php
UTF-8
2,002
2.671875
3
[]
no_license
<?php class MallOrder extends AppModel { var $name = 'MallOrder'; var $useTable = 'mall_orders'; var $hasMany = array( 'MallOrderGoods' => array( 'className' => 'MallOrderGoods', 'foreignKey' => 'order_id' ) ); var $belongsTo = array( 'User' => array( 'className' => 'User', 'foreignKey' => 'u...
true
d233e4b09b432be0416078952e8c6868a94e55a8
PHP
edwardlorilla/student
/app/Section.php
UTF-8
654
2.546875
3
[ "MIT" ]
permissive
<?php namespace App; use Illuminate\Database\Eloquent\Model; use App\Helper\DataViewer; class Section extends Model { use DataViewer; protected $fillable = [ 'name' ]; public static $columns = [ [ 'id' => 'id', 'name' => 'ID' ], [ '...
true
709f7a10f6c11f2291b43e4b7b7c980a19566c76
PHP
Nga2301/Laravel_Doan4
/app/Http/Requests/BackendNhanVienRequest.php
UTF-8
1,498
2.59375
3
[ "MIT" ]
permissive
<?php namespace App\Http\Requests; use Illuminate\Foundation\Http\FormRequest; class BackendNhanVienRequest extends FormRequest { /** * Determine if the user is authorized to make this request. * * @return bool */ public function authorize() { return true; } /** ...
true
9abd7ecc2fe2a0c42240ac84502be3d9f995f312
PHP
roffl/epicphp_b13
/02/if.php
UTF-8
125
3.5625
4
[]
no_license
<?php $age = 22; if ($age < 20){ echo "young, Jack"; } else if ($age > 30){ echo "old"; } else{ echo "middle"; }
true
e59cb4fb7673487ee99d00402f19251f5174aa19
PHP
justincdotme/physistrong
/tests/Feature/API/CreateExerciseTest.php
UTF-8
3,757
2.734375
3
[ "MIT" ]
permissive
<?php namespace Tests\Feature\API; use App\Core\User; use Tests\TestCase; use App\Core\Exercise; use ExerciseTypesTableSeeder; use App\Http\Resources\Exercise as ExerciseResource; use Illuminate\Foundation\Testing\DatabaseMigrations; class CreateExerciseTest extends TestCase { use DatabaseMigrations; protec...
true
bfc3a8fca1a478c4dbc5366a9c9bdde58ad9d174
PHP
josephmaxim/cloudestate
/user-password.php
UTF-8
5,675
2.828125
3
[]
no_license
<?php // Group # : 15 // Members : Joseph Dagunan, David Bond, Alex Waddell // File name : user-password.php // Page title $title = "Cloud Estate | Change password"; // Include header include_once('header.php'); // Check if there's an existing user session if(SessionCheck() == false) { header("Locat...
true
7562a90e7bf8402bc84df3082368c22a2e0b2bde
PHP
FanoBraus/test_for_GoodLine
/app/Services/MyIPService.php
UTF-8
633
2.953125
3
[ "MIT" ]
permissive
<?php namespace App\Services; class MyIPService { public function checkIP($ip): string { $ip = ip2long($ip); if(($ip >= ip2long("10.0.0.0") and $ip <= ip2long("10.255.255.255")) or ($ip >= ip2long("100.64.0.0") and $ip <= ip2long("100.127.255.255")) or ($ip >= ip2long("172.16....
true
de294abd9a17dd79d23547df40e93ec97163e4b1
PHP
piterka/SAPF
/Database/SQLDatabase.php
UTF-8
25,925
3
3
[ "MIT" ]
permissive
<?php namespace SAPF\Database; class SQLDatabase extends \PDO { const OPERATOR_PREFIX = ":"; const DONT_QUOTE_VALUE_PREFIX = "!"; // Debug and logging protected $_debug_mode = false; protected $_log = []; /** * Creates MySQL connection * @param type $host MySQL serv...
true
825bc02c31769a4778f6dec00c11a8cbf9f781b7
PHP
sharmavipin1608/BugHound
/functionalAreaAjax.php
UTF-8
1,311
2.578125
3
[]
no_license
<?php require_once 'dbConnection.php'; $query = "SELECT * FROM FUNCTIONAL_AREA WHERE PROGRAM_ID = ".$_GET['programId']; $result = mysql_query($query); $functionalAreasForProgram = ""; $count = 0; $resultText.="<table width='30%' align='center' border='1px solid black'>"; $resultText.="...
true
eb5176e7577eae8b2beee5ed9671909f56882903
PHP
cuma203/apss
/core/helpers/loader_helper.php
UTF-8
991
2.6875
3
[]
no_license
<?php define("LOADER", true); function stylesheet_load($files) { if(isset($files)) { $echo = ""; $files = explode(",", $files); foreach($files as $file) { $file = trim($file); $file = str_replace("/", "__", base64_encode($file)); $echo .= "<link rel=\"stylesheet\" type=\"text/css\" href=\"cSc...
true
ed8102e0dca8f46ed67537548d1870786a3bdfd2
PHP
Kandsweb/elite
/includes/functions/extra_functions/functions_email_check.php
UTF-8
8,843
2.671875
3
[]
no_license
<?php // support windows platforms function getmxrrA($hostname, &$mxhosts, &$mxweight) { if (!empty ($hostname) ) { $output = ""; @exec ("nslookup.exe -type=MX $hostname.", $output); $imx=0; foreach ($output as $line) { $parts = ""; if (preg_match ("/^$hostname\tMX prefer...
true
bc2dc6e518a28a4264686475847bf4cb709974f7
PHP
pithyone/wechat
/src/Traits/SecretTrait.php
UTF-8
257
2.78125
3
[ "MIT" ]
permissive
<?php namespace WeWork\Traits; trait SecretTrait { /** * @var string */ protected $secret; /** * @param string $secret */ public function setSecret(string $secret): void { $this->secret = $secret; } }
true
4af75fbb966ead7cb0b04abc2c35fe8edd97bee9
PHP
mustoffa/frontend-cendana-blog-oop
/config/config.php
UTF-8
2,811
2.671875
3
[]
no_license
<?php ob_start(); session_start(); // include('../class/class.user.php'); function __autoload($class){ $class = strtolower($class); $classpath = 'class/class.'.$class . '.php'; if ( file_exists($classpath)) { include_once $classpath; } $classpath = '../class/class.'.$class . '.php'; if ( file_e...
true
8e78998dc4cfe504d135a62a8f20a629240cfa8e
PHP
sysop1021/login
/login.php
UTF-8
713
2.78125
3
[]
no_license
<?php include("dbconnect.php"); session_start(); $userQuery = "SELECT * FROM users WHERE username = '" . $_POST['un'] . "'"; $userResult = mysqli_query($db, $userQuery); $userRows = mysqli_fetch_assoc($userResult); if (!$userRows) { echo "no such user"; } else ...
true
c3c79dc38d51827b4a3ac22c3c0e2521d03feddd
PHP
tylerforrester/CS340FinalProject
/php/addPokemon.php
UTF-8
3,440
2.734375
3
[]
no_license
<?php //Turn on error reporting ini_set('display_errors', 'On'); /** $host = 'mysql.eecs.oregonstate.edu'; $user = 'cs290_forrestt'; $password = '5955'; $database = 'cs290_forrestt'; $mysqli = new mysqli($host, $user, $password, $database); if($mysqli->connect_errno){ echo "Connection error " . $mysqli->con...
true
8abc5f8ee227c692b4d1c2de46e9fdf703ba74bf
PHP
carterzenk/slim-jsonapi
/src/Strategy/Filtering/ColumnEqualsValue.php
UTF-8
691
2.8125
3
[]
no_license
<?php namespace CarterZenk\JsonApi\Strategy\Filtering; use Illuminate\Database\Eloquent\Builder; /** * Class ColumnEqualsValue * * This filtering strategy adds a where clause for each filter. * The operator is '=', the column is the array key, and the value * is the array value. * * @package CarterZenk\JsonAp...
true
39a3e14335bd471c505477d7300083a17f1a69d3
PHP
vincebru/siteTechnoWeb
/model/ResultModel.php
UTF-8
1,908
2.5625
3
[]
no_license
<?php class ResultModel { public static function getResults($user){ // $request = " // SELECT * from evaluation parent // join evaluation_link link1 on parent.evaluation_id=link1.parent_id // join evaluation child on link1.child_id=ch...
true
6387a7e15a75012c7bbcc79bcf659b8531258105
PHP
programmingerror404/league_table
/league.php
UTF-8
2,317
3.96875
4
[]
no_license
<?php /** * The LeagueTable class tracks the score of each player in a league. After each game, the player records their score with the recordResult function. * The player's rank in the league is calculated using the following logic: * The player with the highest score is ranked first (rank 1). The player with the lo...
true
aee0cbbea4224bfbb1b0a8eee6e2f0cecb8a6f9b
PHP
dmtrbskkv/little-framework
/app/Controllers/UserController.php
UTF-8
5,131
2.890625
3
[]
no_license
<?php namespace App\Controllers; use App\Extensions\Request; use App\Extensions\View; use App\Models\User; /** * Class UserController * @package App\Controllers */ class UserController extends Controller { /** * Endpoints for methods with "header" function */ const ENDPOINTS = [ 'succe...
true
91a426071b20694878120fcf89c8889d286675b3
PHP
endorphin-studio/browser-detector-data
/src/Data/AbstractDataWithVersion.php
UTF-8
739
2.828125
3
[ "MIT" ]
permissive
<?php /** * @author Serhii Nekhaienko <sergey.nekhaenko@gmail.com> * @license GPL * @copyright Serhii Nekhaienko &copy 2018 * @version 4.0.0 * @project endorphin-studio/browser-detector */ namespace EndorphinStudio\Detector\Data; /** * Class AbstractDataWithVersion Data Object with version * @package Endorphi...
true
522ba8919cd0367009d8dbf5c093511725612ad0
PHP
cash2one/cj
/trunk/apps/voa/src/include/uda/frontend/vote/format.php
UTF-8
987
2.6875
3
[]
no_license
<?php /** * voa_uda_frontend_vote_format * 统一数据访问/微评选应用/数据格式化 * Create By Deepseath * $Author$ * $Id$ */ class voa_uda_frontend_vote_format extends voa_uda_frontend_vote_base { public function __construct() { parent::__construct(); } /** * 格式化投票数据数组 * @param array $list 投票信息数组 * @return boolean */ ...
true
f8cc5d01cdbcd17fab259f6cba6fdd6e75eeb5c1
PHP
chenkai0313/merch-shop-laravel
/Modules/Backend/Models/AdminLog.php
UTF-8
3,291
2.71875
3
[]
no_license
<?php /** * adminlog 操作日志表 * Author: ck * Date: 2018/2/25 */ namespace Modules\Backend\Models; use Illuminate\Database\Eloquent\Model; class AdminLog extends Model { protected $table = 'admin_log'; protected $primaryKey = 'log_id'; protected $fillable = ['admin_name','admin_id', 'operate_targe...
true
4f0c8bf32d0b80c9f5535cb7ab3469c4e507a76f
PHP
josephldaigle/pl-project
/src/Core/Data/RecordSet.php
UTF-8
2,041
3.1875
3
[]
no_license
<?php /** * Created by eWebify, LLC. * Creator: joedaigle * Date: 9/14/18 */ namespace PapaLocal\Core\Data; /** * Class RecordSet. * * Model the result of a sql query. * * @package PapaLocal\Core\Data */ class RecordSet implements RecordSetInterface { /** * @var array */ private $record...
true
897aa8702ec22d9ef417975dffc4c6d859e7c738
PHP
IngeTeng/yuqing3.0
/media_center/lib/table/table_solved.class.php
UTF-8
6,730
2.90625
3
[]
no_license
<?php /** * table_solved.class.php 媒体信息表 * * @version $Id$ * @createtime 2018/10/25 * @updatetime * @author tengyingzhi * @copyright Copyright (c) 芝麻开发 (http://www.zhimawork.com) */ class Table_solved extends Table{ /** * Table_solved::struct() 数组转换 * * @param...
true