100+ results results for 'php sin repo:ghostfreeman/freeside-wiki' (3725 ms)
1<?php 2namespace Concrete\Core\View; 210 if (!$this->innerContentFile) { // will already be set in a legacy tools file 211 $this->setInnerContentFile($env->getPath($this->viewRootDirectoryName.'/'.trim($this->viewPath, '/').'.php', $this->viewPkgHandle)); 212 } 353 354 // goes through all assets in this list, creating new URLs and post-processing them where possible. 355 $segment = 0; 453 $_theme = $_c->getCollectionThemeObject(); 454 } else if ($_app->isInstalled()) { 455 $_theme = PageTheme::getSiteTheme(); 466 467 $_record = $_locator->getRecord(DIRNAME_ELEMENTS . '/' . $_file . '.php'); 468 $_file = $_record->getFile();AdvancedServerDatabaseConfig.cs https://openHistorian.svn.codeplex.com/svn | C# | 388 lines
10// 11// http://www.opensource.org/licenses/eclipse-1.0.php 12// 25 26using System; 27using System.Collections.Generic; 27using System.Collections.Generic; 28using GSF.IO; 29using GSF.Snap.Services.Writer; 29using GSF.Snap.Services.Writer; 30using GSF.Snap.Storage; 31ko.js http://avblog.googlecode.com/svn/trunk/ | JavaScript | 502 lines
106CellCM : "Cell", //MISSING 107RowCM : "Row", //MISSING 108ColumnCM : "Column", //MISSING 116SplitCell : "? ???", 117TableDelete : "Delete Table", //MISSING 118CellProperties : "? ??", 144UnknownToolbarSet : "?? ??? ????. : \"%1\"", 145NoActiveX : "Your browser's security settings could limit some features of the editor. You must enable the option \"Run ActiveX controls and plug-ins\". You may experience errors and notice missing features.", //MISSING 146BrowseServerBlocked : "The resources browser could not be opened. Make sure that all popup blockers are disabled.", //MISSING 380DlgButtonType : "????", 381DlgButtonTypeBtn : "Button", //MISSING 382DlgButtonTypeSbm : "Submit", //MISSING 382DlgButtonTypeSbm : "Submit", //MISSING 383DlgButtonTypeRst : "Reset", //MISSING 384DateType.php https://bitbucket.org/tippycracker/autokraitis.git | PHP | 370 lines
1<?php 2 57 58 if ('single_text' === $options['widget']) { 59 if (null !== $pattern && false === strpos($pattern, 'y') && false === strpos($pattern, 'M') && false === strpos($pattern, 'd')) { 83 $timeFormat, 84 // see https://bugs.php.net/bug.php?id=66323 85 class_exists('IntlTimeZone', false) ? \IntlTimeZone::createDefault() : null, 89 90 // new \IntlDateFormatter may return null instead of false in case of failure, see https://bugs.php.net/bug.php?id=66323 91 if (!$formatter) { 151 // Change the input to a HTML5 date input if 152 // * the widget is set to "single_text" 153 // * the format matches the one expected by HTML5 154 // * the html5 is set to true 155 if ($options['html5'] && 'single_text' === $options['widget'] && self::HTML5_FORMAT === $options['format']) { 156 $view->vars['type'] = 'date';build_class_from_table.php git://github.com/Dolibarr/dolibarr.git | PHP | 464 lines
24 25$sapi_type = php_sapi_name(); 26$script_file = basename(__FILE__); 30if (substr($sapi_type, 0, 3) == 'cgi') { 31 echo "Error: You are using PHP for CGI. To execute ".$script_file." from command line, you must use PHP for CLI mode.\n"; 32 exit; 168// Substitute class name 169$targetcontent=preg_replace('/skeleton_class\.class\.php/', $classmin.'.class.php', $targetcontent); 170$targetcontent=preg_replace('/\$element=\'skeleton\'/', '\$element=\''.$classmin.'\'', $targetcontent); 386// Substitute class name 387$targetcontent=preg_replace('/skeleton_class\.class\.php/', $classmin.'.class.php', $targetcontent); 388$targetcontent=preg_replace('/skeleton_script\.php/', $classmin.'_script.php', $targetcontent); 432// Substitute class name 433$targetcontent=preg_replace('/skeleton_class\.class\.php/', $classmin.'.class.php', $targetcontent); 434$targetcontent=preg_replace('/skeleton_script\.php/', $classmin.'_script.php', $targetcontent);Makefile git://pkgs.fedoraproject.org/sblim-sfcb | Makefile | 509 lines
28# You can obtain a current copy of the Eclipse Public License from 29# http://www.opensource.org/licenses/eclipse-1.0.php 30# 73DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) 74ACLOCAL = ${SHELL} /home/chris/work/code/sfcb-daily/missing --run aclocal-1.11 75ALLOCA = 75ALLOCA = 76AMTAR = ${SHELL} /home/chris/work/code/sfcb-daily/missing --run tar 77AR = ar 77AR = ar 78AUTOCONF = ${SHELL} /home/chris/work/code/sfcb-daily/missing --run autoconf 79AUTOHEADER = ${SHELL} /home/chris/work/code/sfcb-daily/missing --run autoheader 79AUTOHEADER = ${SHELL} /home/chris/work/code/sfcb-daily/missing --run autoheader 80AUTOMAKE = ${SHELL} /home/chris/work/code/sfcb-daily/missing --run automake-1.11 81AWK = gawkindex.php http://pixie-cms.googlecode.com/svn/trunk/ | PHP | 548 lines
43/* Check for config */ 44if ((!file_exists('admin/config.php')) or (filesize('admin/config.php') < 10)) { 45 /* redirect to installer */ 79$prefs = get_prefs(); 80/* Add prefs to globals using php's extract function */ 81extract($prefs); 81extract($prefs); 82/* Timezone fix (php 5.1.0 or newer will set it's server timezone using function date_default_timezone_set!) */ 83define('TZ', "$timezone"); 88 } 89 /* New! Built in php function. Tell php what the server timezone is so that we can use php 5's rewritten time and date functions with the correct time and without error messages */ 90 date_default_timezone_set("$server_timezone"); 111 /* Load the php5 version of simplepie if you are running php5 */ 112 include_once 'admin/lib/lib_simplepie_php5.php'; 113} else {WebSocketParserD08.java git://pkgs.fedoraproject.org/jetty | Java | 389 lines
11 * The Apache License v2.0 is available at 12 * http://www.opensource.org/licenses/apache2.0.php 13 * 24// The Apache License v2.0 is available at 25// http://www.opensource.org/licenses/apache2.0.php 26// You may elect to redistribute this code under either of these licenses. 84 /** 85 * @param buffers The buffers to use for parsing. Only the {@link Buffers#getBuffer()} is used. 86 * This should be a direct buffer if binary data is mostly used or an indirect buffer if utf-8 databox_graph_invoices_permonth.php git://github.com/Dolibarr/dolibarr.git | PHP | 293 lines
1<?php 2/* Copyright (C) 2013 Laurent Destailleur <eldy@users.sourceforge.net> 18/** 19 * \file htdocs/core/boxes/box_graph_invoices_permonth.php 20 * \ingroup factures 22 */ 23include_once DOL_DOCUMENT_ROOT.'/core/boxes/modules_boxes.php'; 24 32 public $boximg = "object_bill"; 33 public $boxlabel = "BoxCustomersInvoicesPerMonth"; 34 public $depends = array("facture"); 75 76 //include_once DOL_DOCUMENT_ROOT.'/compta/facture/class/facture.class.php'; 77 //$facturestatic=new Facture($this->db); 83 84 $text = $langs->trans("BoxCustomersInvoicesPerMonth", $max); 85 $this->info_box_head = array(auto_search_table_shell.php http://prohits.googlecode.com/svn/trunk/ | PHP | 376 lines
28 7. get searched resuts file. 29 8. shell > php auto_search_table_shell.php tableName taskID thisScriptURL sleepSec 30 9. check shell process 59 60$php_command_location = PHP_PATH; 61//maybe it is remote connect prohits server--------- 76 $theURL = $_SERVER['argv'][3]; 77 $frm_theURL = str_replace("autoSearch/auto_search_table_shell.php","",$theURL) . "autoBackup/download_raw_file.php"; 78 237 //} 238 $tpp_theURL = str_replace("autoSearch/auto_search_table_shell.php","",$tpp_theURL) . "tppTask/tpp_task_shell.php"; 239 $tpp_theURL .='?tableName='.$tableName.'&tppTaskID='.$theTask_arr['RunTPP']; 338 writeLog("Get new created files from $tableName machine to Prohits."); 339 $com_backup = PHP_PATH. " " .dirname(dirname(__FILE__))."/autoBackup/raw_backup_shell.php"." 0 ". $tableName; 340 system($com_backup);actions.c git://github.com/DimaSmirnov/Archlinux-downgrader.git | C | 352 lines
2 3 int isincache = IsPackageInLogs(package); // Here also parsing pacman.log and using flag actions.package_never_upgraded 4 if (isincache) { 90 counter--; 91 user_pkgs = realloc(user_pkgs, (pkgsinala+2+pkgsinarm)*sizeof(struct user_packs)); 92 //printf ("installed_pkg_ver: %s\n", installed_pkg_ver); //DEBUG 120 } 121 if (WITH_ARM && pkgsinarm) { // Создаем список пакетов для вывода по ARM 122 while (pkgsinarm) { 311 else if (ret==1) { if(!silent) { sprintf(tmp_string, "Package '%s' not installed.\n", package); dgr_output(tmp_string); return 1; } } 312 pkgsinala=pkgsinarm=0; 313 ReadPacmanLog(); 326 } 327 if (!pkgsinala && !pkgsinarm) { dgr_output ("No source for packages. Terminating\n"); return 1; } 328 return 0;taxonomy.post_update.php git://github.com/drupal/drupal.git | PHP | 366 lines
1<?php 2 34 * Add a 'published' = TRUE filter for all Taxonomy term views and converts 35 * existing ones that were using the 'content_translation_status' field. 36 */ 248 // @todo Simplify with https://www.drupal.org/node/2548095 249 $base_url = str_replace('/update.php', '', \Drupal::request()->getBaseUrl()); 250 $args = [bltGrHairs.c git://pkgs.fedoraproject.org/blt | C | 545 lines
14 * of Lucent Technologies any of their entities not be used in 15 * advertising or publicity pertaining to distribution of the software 16 * without specific, written prior permission. 149 } 150 XDrawSegments(graphPtr->display, Tk_WindowId(graphPtr->tkwin), 151 chPtr->gc, chPtr->segArr, 2); 234 if (!graphPtr->crosshairs->hidden) { 235 TurnOnHairs(graphPtr, graphPtr->crosshairs); 236 } 243 if (!graphPtr->crosshairs->hidden) { 244 TurnOffHairs(graphPtr->tkwin, graphPtr->crosshairs); 245 } 325 326 if (Blt_ConfigureWidgetComponent(graphPtr->interp, graphPtr->tkwin, 327 "crosshairs", "Crosshairs", configSpecs, 0, (char **)NULL,mkdist.php git://pkgs.fedoraproject.org/php | PHP | 549 lines
15 16$dist_dir = $build_dir . "/php-" . phpversion(); 17$test_dir = $build_dir . "/php-test-pack-" . phpversion(); 210/* the core dll */ 211copy("$build_dir/php.exe", "$dist_dir/php.exe"); 212copy("$build_dir/$phpdll", "$dist_dir/$phpdll"); 240 "win32/install.txt" => "install.txt", 241 "win32/pws-php5cgi.reg" => "pws-php5cgi.reg", 242 "win32/pws-php5isapi.reg" => "pws-php5isapi.reg", 461} 462copy('run-tests.php', $test_dir . '/run-test.php'); 463 495 496 /* Now, we want PEAR.php, Getopt.php (Console_Getopt) and Tar.php (Archive_Tar) 497 * broken out of the tarballs */silcconnauth-silc_connauth_free.html git://pkgs.fedoraproject.org/libsilc | HTML | 221 lines
62<a href=silcclientlib.html><img src=box.gif border=0 alt=>SILC Client Library</a><br /> 63 <a href=silcclient_using.html><img src=box2.gif border=0 alt=>Using SILC Client Library Tutorial</a><br /> 64 <a href=command_reply_args.html><img src=box2.gif border=0 alt=>Arguments for <b>command_reply</b> Client Operation</a><br /> 131 <a href=silchttpserver.html><img src=box2.gif border=0 alt=>SILC HTTP Server Interface</a><br /> 132 <a href=silchttpphp.html><img src=box2.gif border=0 alt=>SILC HTTP PHP Translator</a><br /> 133CakeValidationSetTest.php git://github.com/yandod/candycane.git | PHP | 337 lines
1<?php 2/** 4 * 5 * CakePHP(tm) Tests <http://book.cakephp.org/view/1196/Testing> 6 * Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org) 12 * @copyright Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org) 13 * @link http://book.cakephp.org/view/1196/Testing CakePHP(tm) Tests 14 * @package Cake.Test.Case.Model.Validator 14 * @package Cake.Test.Case.Model.Validator 15 * @since CakePHP(tm) v 2.2.0 16 * @license http://www.opensource.org/licenses/mit-license.php MIT License 181/** 182 * Tests getting a rule from the set using array access 183 * 206/** 207 * Tests checking a rule from the set using array access 208 *LittleSMS.pm git://github.com/dapi/littlesms-perl.git | Perl | 362 lines
23После инициализации обьекта LittleSMS можно использовать как 24Singleton: 25 48 49Singleton вызов обьекта. Возможно после только после его 50инициализации. Например: 136 137Взял пример с PHP класса http://github.com/pycmam/littlesms/blob/master/LittleSMS.class.php 138от Рустама Миниахметова <pycmam@gmail.com>atof_test.go git://github.com/axw/llgo.git | Go | 430 lines
116 {"2.2250738585072012e-308", "2.2250738585072014e-308", nil}, 117 // http://www.exploringbinary.com/php-hangs-on-numeric-value-2-2250738585072011e-308/ 118 {"2.2250738585072011e-308", "2.225073858507201e-308", nil}, 302 // This test will break the optimized conversion if the 303 // FPU is using 80-bit registers instead of 64-bit registers, 304 // usually because the operating system initialized theSearchHelper.php git://github.com/thorsten/phpMyFAQ.git | PHP | 382 lines
1<?php 2 3/** 4 * Helper class for phpMyFAQ search. 5 * 9 * 10 * @package phpMyFAQ\Helper 11 * @author Thorsten Rinne <thorsten@phpmyfaq.de> 11 * @author Thorsten Rinne <thorsten@phpmyfaq.de> 12 * @copyright 2009-2021 phpMyFAQ Team 13 * @license http://www.mozilla.org/MPL/2.0/ Mozilla Public License Version 2.0 13 * @license http://www.mozilla.org/MPL/2.0/ Mozilla Public License Version 2.0 14 * @link https://www.phpmyfaq.de 15 * @since 2009-09-07 17 18namespace phpMyFAQ\Helper; 19AssetCompressHelper.php git://github.com/markstory/asset_compress.git | PHP | 422 lines
1<?php 2declare(strict_types=1); 19 * 20 * Handle inclusion assets using the AssetCompress features for concatenating and 21 * compressing asset files.jDaoParser.class.php git://github.com/jelix/jelix.git | PHP | 462 lines
1<?php 2/** 16 */ 17require_once JELIX_LIB_PATH.'dao/jDaoXmlException.class.php'; 18require_once JELIX_LIB_PATH.'dao/jDaoProperty.class.php'; 18require_once JELIX_LIB_PATH.'dao/jDaoProperty.class.php'; 19require_once JELIX_LIB_PATH.'dao/jDaoMethod.class.php'; 20require_once JELIX_LIB_PATH.'dao/jDaoGenerator.class.php'; 196 } elseif ($this->_primaryTable === '') { // no imported dao 197 throw new jDaoXmlException($this->selector, 'datasource.missing'); 198 } 236 if (count($this->_properties) == 0) { 237 throw new jDaoXmlException($this->selector, 'properties.missing'); 238 } 295 if ($infos['primarykey'] === null) { 296 throw new jDaoXmlException($this->selector, 'primarykey.missing'); 297 }LangReplacer.php git://github.com/imagecms/ImageCMS.git | PHP | 446 lines
1<?php 2 66 foreach ($mainLangStrings as $file => $data) { 67 $translated = self::changeKeysInFile($file, $data); 68 self::updateKeysInMoPoFiles($translated, $module); 82 foreach ($moduleLangStrings as $file => $data) { 83 $translated = self::changeKeysInFile($file, $data); 84 self::updateKeysInMoPoFiles($translated, $module); 109 */ 110 private static function updateKeysInMoPoFiles($translated, $module) { 111 144 */ 145 private static function changeKeysInFile($file, $data) { 146 $translated = []; 238 /** 239 * Search lang function call in all php|tpl files recursively 240 * @param $dirtabby.js https://code.google.com/p/quickdiagrams/ | JavaScript | 269 lines
36 because both CTRL+TAB and ALT+TAB default to an event (changing tab/window) that 37 will prevent js from capturing the keyup event, we'll set a timer on releasing them. 38 */ 63 if (16 == $.fn.tabby.catch_kc(e)) pressed.shft = false; 64 }).bind('blur',function (e) { // workaround for Opera -- http://www.webdeveloper.com/forum/showthread.php?p=806588 65 if (9 == pressed.last) $(e.target).one('focus',function (e) {pressed.last = null;}).get(0).focus();MinimizeToTrayMenu.htm http://autohotkey-chinese.googlecode.com/svn/trunk/ | HTML | 267 lines
6<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> 7<link rel="alternate" type="application/rss+xml" title="AutoHotkey Forum RSS" href="/forum/rss.php"> 8<link href="/docs/css/default.css" rel="stylesheet" type="text/css"> 34<em>; - Some possible problems with long window titles have been fixed.</em> 35<em>; - Windows without a title can be hidden without causing problems.</em> 36<em>; - If the script is running under AHK v1.0.22 or greater, the</em> 63 64#SingleInstance <em>; Allow only one instance of this script to be running.</em> 65 85 86if a_AhkVersion = <em>; Since it's blank, version is older than 1.0.22.</em> 87 mwt_MaxLength = 100 101<em>; Set the "last found window" to simplify and help performance.</em> 102<em>; Since in certain cases it is possible for there to be no active window,</em> 103<em>; a timeout has been added:</em>WrapperTypeDef.cpp https://Phalanger.svn.codeplex.com/svn | C++ | 443 lines
13// 14// ExtSupport - substitute for php4ts.dll/php5ts.dll 15// 27using namespace System::IO; 28using namespace System::Xml; 29using namespace System::Xml::XPath; 29using namespace System::Xml::XPath; 30using namespace System::Text; 31using namespace System::Collections::Generic; 32 33using namespace PHP::Core; 34using namespace PHP::ExtManager; 88 ParameterTypeInfo ^info = Params[i]->Clone(); 89 info->ParamType = (info->IsOut ? PHP::Core::PhpReference::typeid : Object::typeid); 90fi.inc.php git://github.com/modxcms/revolution.git | PHP | 291 lines
1<?php 2/** 41$_country_lang["bo"] = 'Bolivia'; // Bolivia 42$_country_lang["bq"] = 'Bonaire, Sint Eustatius and Saba'; // Bonaire, Sint Eustatius and Saba 43$_country_lang["br"] = 'Brasilia'; // Brazil 226$_country_lang["se"] = 'Ruotsi'; // Sweden 227$_country_lang["sg"] = 'Singapore'; // Singapore 228$_country_lang["sh"] = 'St. Helena'; // St. Helena 239$_country_lang["sv"] = 'El Salvador'; // El Salvador 240$_country_lang["sx"] = 'Sint Maarten (Dutch part)'; // Sint Maarten (Dutch part) 241$_country_lang["sy"] = 'Syyria'; // Syrian Arab Republicid.inc.php git://github.com/modxcms/revolution.git | PHP | 291 lines
1<?php 2/** 41$_country_lang["bo"] = 'Bolivia'; // Bolivia 42$_country_lang["bq"] = 'Bonaire, Sint Eustatius dan Saba'; // Bonaire, Sint Eustatius and Saba 43$_country_lang["br"] = 'Brazil'; // Brazil 226$_country_lang["se"] = 'Swedia'; // Sweden 227$_country_lang["sg"] = 'Singapura'; // Singapore 228$_country_lang["sh"] = 'St. Helena'; // St. Helena 239$_country_lang["sv"] = 'El Salvador'; // El Salvador 240$_country_lang["sx"] = 'Saint Maarten (Wilayah Belanda)'; // Sint Maarten (Dutch part) 241$_country_lang["sy"] = 'Syria'; // Syrian Arab RepublicTestBaseTest.php git://github.com/drupal/drupal.git | PHP | 470 lines
1<?php 2 198 // Make a ReflectionProperty for the assertions property, 199 // since it's protected. 200 $ref_assertions = new \ReflectionProperty($test_base, 'assertions');api_functions.php https://github.com/openaustralia/twfy.git | PHP | 371 lines
2 3include_once '../../../../phplib/rabx.php'; 4 29 ), 30 'getMPsInfo' => array( 31 'parameters' => array('id', 'fields'), 190 $out .= '<result>' . api_output_xml($arr) . '</result>'; 191 } elseif ($output == 'php') { 192 $out = api_output_php($arr); 205function api_header($o, $last_mod=null) { 206 if ($last_mod && array_key_exists('HTTP_IF_MODIFIED_SINCE', $_SERVER)) { 207 $t = cond_parse_http_date($_SERVER['HTTP_IF_MODIFIED_SINCE']); 215 $type = 'text/xml'; 216 } elseif ($o == 'php') { 217 $type = 'text/php';mysql_common.h git://github.com/facebook/hiphop-php.git | C Header | 478 lines
10 | available through the world-wide-web at the following url: | 11 | http://www.php.net/license/3_01.txt | 12 | If you did not receive a copy of the PHP license and are unable to | 13 | obtain it through the world-wide-web, please send a note to | 14 | license@php.net so we can mail you a copy immediately. | 15 +----------------------------------------------------------------------+ 295 296 bool isInvalid() const override { 297 if (isLocalized()) { 466#define PHP_MYSQL_NUM 1 << 1 467#define PHP_MYSQL_BOTH (PHP_MYSQL_ASSOC|PHP_MYSQL_NUM) 468 472Variant mysql_makevalue(const String& data, enum_field_types field_type); 473const char *php_mysql_get_field_name(int field_type); 474widget-categories.php http://ooxx.googlecode.com/svn/trunk/ | PHP | 246 lines
217 <label for="<?php echo $this->get_field_id( 'hierarchical' ); ?>"> 218 <input class="checkbox" type="checkbox" <?php checked( $instance['hierarchical'], true ); ?> id="<?php echo $this->get_field_id( 'hierarchical' ); ?>" name="<?php echo $this->get_field_name( 'hierarchical' ); ?>" /> <?php _e( 'Hierarchical?', $this->textdomain ); ?> <code>hierarchical</code></label> 219 </p> 225 <label for="<?php echo $this->get_field_id( 'show_last_update' ); ?>"> 226 <input class="checkbox" type="checkbox" <?php checked( $instance['show_last_update'], true ); ?> id="<?php echo $this->get_field_id( 'show_last_update' ); ?>" name="<?php echo $this->get_field_name( 'show_last_update' ); ?>" /> <?php _e( 'Show last update?', $this->textdomain ); ?> <code>show_last_update</code></label> 227 </p> 229 <label for="<?php echo $this->get_field_id( 'show_count' ); ?>"> 230 <input class="checkbox" type="checkbox" <?php checked( $instance['show_count'], true ); ?> id="<?php echo $this->get_field_id( 'show_count' ); ?>" name="<?php echo $this->get_field_name( 'show_count' ); ?>" /> <?php _e( 'Show count?', $this->textdomain ); ?> <code>show_count</code></label> 231 </p> 233 <label for="<?php echo $this->get_field_id( 'hide_empty' ); ?>"> 234 <input class="checkbox" type="checkbox" <?php checked( $instance['hide_empty'], true ); ?> id="<?php echo $this->get_field_id( 'hide_empty' ); ?>" name="<?php echo $this->get_field_name( 'hide_empty' ); ?>" /> <?php _e( 'Hide empty?', $this->textdomain ); ?> <code>hide_empty</code></label> 235 </p> 237 <label for="<?php echo $this->get_field_id( 'feed' ); ?>"> 238 <input class="checkbox" type="checkbox" <?php checked( $instance['feed'], true ); ?> id="<?php echo $this->get_field_id( 'feed' ); ?>" name="<?php echo $this->get_field_name( 'feed' ); ?>" /> <?php _e( 'Show RSS feed?', $this->textdomain ); ?> <code>feed</code></label> 239 </p>SluggableBehavior.php git://github.com/infinitas/infinitas.git | PHP | 342 lines
1<?php 2 /** 8 * @version $Revision: 36 $ 9 * @license http://www.opensource.org/licenses/mit-license.php The MIT License 10 * @package Infinitas.Libs.Model.Behavior 27 /** 28 * Initiate behavior for the model using specified settings. Available settings: 29 * 45 * 46 * @param object $Model Model using the behaviour 47 * @param array $settings Settings to override for model. 169 /** 170 * Generate a slug for the given string using specified settings. 171 *runner.js git://github.com/addyosmani/todomvc.git | JavaScript | 320 lines
6 * Licensed under the MIT License at: 7 * http://www.opensource.org/licenses/mit-license.php 8 * 41 * 42 * Note: if any modules (or plugin-based resources) are fetched using 43 * the `require` supplied to the setup, testing, or teardown functions, 45 * resolve before proceeding. In summary: the developer does *not* 46 * need to provide the `done` parameter if using the provided `require`. 47 * 93 * 94 * // no need for `done` callback if using supplied `require`. 95 * function setup (require) { 108 * // configure runner. 109 * // (no need for teardown since mocks were created using supplied 110 * // `require` and standard `define`)00_Server_Requirements.md git://github.com/silverstripe/sapphire.git | Markdown | 185 lines
21 22Use [phpinfo()](http://php.net/manual/en/function.phpinfo.php) to inspect your configuration. 23 91Files in this state get served by SilverStripe rather than your webserver. 92Since the framework uses [PHP streams](https://www.php.net/manual/en/ref.stream.php), 93this allows serving of files larger than your PHP memory limit. 94Please be aware that streaming operations don't count towards 95PHP's [max_execution_time](https://www.php.net/manual/en/function.set-time-limit.php), 96which can risk exhaustion of web worker pools for long-running downloads. 156 157## PHP Requirements for older SilverStripe releases {#php-support} 158 158 159SilverStripe's PHP support has changed over time and if you are looking to upgrade PHP on your SilverStripe site, this table may be of use: 160DataGridFunctions.php git://github.com/forkcms/forkcms.git | PHP | 330 lines
1<?php 2 187 * 188 * @param string $type The type of column. This is given since some columns can have different meanings than others. 189 * @param string|bool $value 318 /** 319 * This is an alias for the template modifier since it can also be used here and people didn't find it. 320 *AdminCarts.php http://marocmall.googlecode.com/svn/trunk/ | PHP | 286 lines
1<?php 2 3/** 4 * Customers tab for admin panel, AdminContacts.php 5 * @category admin 8 * @copyright PrestaShop 9 * @license http://www.opensource.org/licenses/osl-3.0.php Open-source licence 3.0 10 * @version 1.3 13 14include_once(PS_ADMIN_DIR.'/../classes/AdminTab.php'); 15 74 '.$this->l('Valid orders placed:').' <b>'.$customerStats['nb_orders'].'</b><br /> 75 '.$this->l('Total paid since registration:').' <b>'.Tools::displayPrice($customerStats['total_orders'], $currency, false, false).'</b><br />'; 76 else 142 'product_mini_'.intval($product['id_product']).(isset($product['id_product_attribute']) ? '_'.intval($product['id_product_attribute']) : '').'.jpg', 45, 'jpg') : '--').'</td> 143 <td><a href="index.php?tab=AdminCatalog&id_product='.$product['id_product'].'&updateproduct&token='.$tokenCatalog.'"> 144 <span class="productName">'.$product['name'].'</span><br />classxercesc_1_1DOMUserDataHandler.html git://pkgs.fedoraproject.org/xqilla | HTML | 217 lines
6</head><body> 7<a style="float:right;" href="http://sourceforge.net/projects/xqilla"><img src="http://sflogo.sourceforge.net/sflogo.php?group_id=152021&type=2" border="0" alt="SourceForge.net Logo" /></a> 8<!-- Generated by Doxygen 1.6.1 --> 31<h1>xercesc::DOMUserDataHandler Class Reference</h1><!-- doxytag: class="xercesc::DOMUserDataHandler" --> 32<p>When associating an object to a key on a node using <code>setUserData</code> the application can provide a handler that gets called when the node the object is associated to is being cloned or imported. 33<a href="#_details">More...</a></p> 74<p>See also the <a href="http://www.w3.org/TR/2004/REC-DOM-Level-3-Core-20040407">Document Object Model (DOM) Level 3 Core Specification</a>. </p> 75<dl class="since"><dt><b>Since:</b></dt><dd>DOM Level 3 </dd></dl> 76<hr/><h2>Member Enumeration Documentation</h2> 93<p><code>NODE_ADOPTED</code> The node is adopted.</p> 94<dl class="since"><dt><b>Since:</b></dt><dd>DOM Level 3 </dd></dl> 95<dl><dt><b>Enumerator: </b></dt><dd><table border="0" cellspacing="2" cellpadding="0"> 203</dl> 204<dl class="since"><dt><b>Since:</b></dt><dd>DOM Level 3 </dd></dl> 205classes.html git://pkgs.fedoraproject.org/xqilla | HTML | 44 lines
6</head><body> 7<a style="float:right;" href="http://sourceforge.net/projects/xqilla"><img src="http://sflogo.sourceforge.net/sflogo.php?group_id=152021&type=2" border="0" alt="SourceForge.net Logo" /></a> 8<!-- Generated by Doxygen 1.6.1 --> 31<tr><td><a name="letter_A"></a><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah"> A </div></td></tr></table> 32</td><td><a class="el" href="classxercesc_1_1DOMImplementationRegistry.html">DOMImplementationRegistry</a> (<a class="el" href="namespacexercesc.html">xercesc</a>) </td><td><a class="el" href="classxercesc_1_1DOMTreeWalker.html">DOMTreeWalker</a> (<a class="el" href="namespacexercesc.html">xercesc</a>) </td></tr><tr><td><a class="el" href="classAutoDeallocate.html">AutoDeallocate</a> </td><td><a class="el" href="classxercesc_1_1DOMImplementationSource.html">DOMImplementationSource</a> (<a class="el" href="namespacexercesc.html">xercesc</a>) </td><td><a class="el" href="classxercesc_1_1DOMTypeInfo.html">DOMTypeInfo</a> (<a class="el" href="namespacexercesc.html">xercesc</a>) </td></tr><tr><td><a class="el" href="classAutoDelete.html">AutoDelete</a> </td><td><a class="el" href="classxercesc_1_1DOMLocator.html">DOMLocator</a> (<a class="el" href="namespacexercesc.html">xercesc</a>) </td><td><a class="el" href="classxercesc_1_1DOMUserDataHandler.html">DOMUserDataHandler</a> (<a class="el" href="namespacexercesc.html">xercesc</a>) </td></tr><tr><td><a class="el" href="classAutoDeleteArray.html">AutoDeleteArray</a> </td><td><a class="el" href="classxercesc_1_1DOMLSException.html">DOMLSException</a> (<a class="el" href="namespacexercesc.html">xercesc</a>) </td><td><a class="el" href="classxercesc_1_1DOMXPathEvaluator.html">DOMXPathEvaluator</a> (<a class="el" href="namespacexercesc.html">xercesc</a>) </td></tr><tr><td><a class="el" href="classAutoRelease.html">AutoRelease</a> </td><td><a class="el" href="classxercesc_1_1DOMLSInput.html">DOMLSInput</a> (<a class="el" href="namespacexercesc.html">xercesc</a>) </td><td><a class="el" href="classxercesc_1_1DOMXPathException.html">DOMXPathException</a> (<a class="el" href="namespacexercesc.html">xercesc</a>) </td></tr><tr><td><a name="letter_D"></a><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah"> D </div></td></tr></table> 33</td><td><a class="el" href="classxercesc_1_1DOMLSOutput.html">DOMLSOutput</a> (<a class="el" href="namespacexercesc.html">xercesc</a>) </td><td><a class="el" href="classxercesc_1_1DOMXPathExpression.html">DOMXPathExpression</a> (<a class="el" href="namespacexercesc.html">xercesc</a>) </td></tr><tr><td><a class="el" href="classxercesc_1_1DOMAttr.html">DOMAttr</a> (<a class="el" href="namespacexercesc.html">xercesc</a>) </td><td><a class="el" href="classxercesc_1_1DOMLSParser.html">DOMLSParser</a> (<a class="el" href="namespacexercesc.html">xercesc</a>) </td><td><a class="el" href="classxercesc_1_1DOMXPathNamespace.html">DOMXPathNamespace</a> (<a class="el" href="namespacexercesc.html">xercesc</a>) </td></tr><tr><td><a class="el" href="classxercesc_1_1DOMCDATASection.html">DOMCDATASection</a> (<a class="el" href="namespacexercesc.html">xercesc</a>) </td><td><a class="el" href="classxercesc_1_1DOMLSParserFilter.html">DOMLSParserFilter</a> (<a class="el" href="namespacexercesc.html">xercesc</a>) </td><td><a class="el" href="classxercesc_1_1DOMXPathNSResolver.html">DOMXPathNSResolver</a> (<a class="el" href="namespacexercesc.html">xercesc</a>) </td></tr><tr><td><a class="el" href="classxercesc_1_1DOMCharacterData.html">DOMCharacterData</a> (<a class="el" href="namespacexercesc.html">xercesc</a>) </td><td><a class="el" href="classxercesc_1_1DOMLSResourceResolver.html">DOMLSResourceResolver</a> (<a class="el" href="namespacexercesc.html">xercesc</a>) </td><td><a class="el" href="classxercesc_1_1DOMXPathResult.html">DOMXPathResult</a> (<a class="el" href="namespacexercesc.html">xercesc</a>) </td></tr><tr><td><a class="el" href="classxercesc_1_1DOMComment.html">DOMComment</a> (<a class="el" href="namespacexercesc.html">xercesc</a>) </td><td><a class="el" href="classxercesc_1_1DOMLSSerializer.html">DOMLSSerializer</a> (<a class="el" href="namespacexercesc.html">xercesc</a>) </td><td><a name="letter_M"></a><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah"> M </div></td></tr></table> 36</td></tr><tr><td><a class="el" href="classxercesc_1_1DOMDocumentTraversal.html">DOMDocumentTraversal</a> (<a class="el" href="namespacexercesc.html">xercesc</a>) </td><td><a class="el" href="classxercesc_1_1DOMNodeFilter.html">DOMNodeFilter</a> (<a class="el" href="namespacexercesc.html">xercesc</a>) </td><td><a class="el" href="classxercesc_1_1StDOMNode.html">StDOMNode</a> (<a class="el" href="namespacexercesc.html">xercesc</a>) </td></tr><tr><td><a class="el" href="classxercesc_1_1DOMDocumentType.html">DOMDocumentType</a> (<a class="el" href="namespacexercesc.html">xercesc</a>) </td><td><a class="el" href="classxercesc_1_1DOMNodeIterator.html">DOMNodeIterator</a> (<a class="el" href="namespacexercesc.html">xercesc</a>) </td><td><a name="letter_X"></a><table border="0" cellspacing="0" cellpadding="0"><tr><td><div class="ah"> X </div></td></tr></table> 37</td></tr><tr><td><a class="el" href="classxercesc_1_1DOMElement.html">DOMElement</a> (<a class="el" href="namespacexercesc.html">xercesc</a>) </td><td><a class="el" href="classxercesc_1_1DOMNodeList.html">DOMNodeList</a> (<a class="el" href="namespacexercesc.html">xercesc</a>) </td><td><a class="el" href="classxercesc_1_1XMLDeleter.html">XMLDeleter</a> (<a class="el" href="namespacexercesc.html">xercesc</a>) </td></tr><tr><td><a class="el" href="classxercesc_1_1DOMEntity.html">DOMEntity</a> (<a class="el" href="namespacexercesc.html">xercesc</a>) </td><td><a class="el" href="classxercesc_1_1DOMNotation.html">DOMNotation</a> (<a class="el" href="namespacexercesc.html">xercesc</a>) </td><td><a class="el" href="classxercesc_1_1XMLPlatformUtils.html">XMLPlatformUtils</a> (<a class="el" href="namespacexercesc.html">xercesc</a>) </td></tr><tr><td><a class="el" href="classxercesc_1_1DOMEntityReference.html">DOMEntityReference</a> (<a class="el" href="namespacexercesc.html">xercesc</a>) </td><td><a class="el" href="classxercesc_1_1DOMProcessingInstruction.html">DOMProcessingInstruction</a> (<a class="el" href="namespacexercesc.html">xercesc</a>) </td><td><a class="el" href="classXPath2MemoryManager.html">XPath2MemoryManager</a> </td></tr><tr><td><a class="el" href="classxercesc_1_1DOMError.html">DOMError</a> (<a class="el" href="namespacexercesc.html">xercesc</a>) </td><td><a class="el" href="classxercesc_1_1DOMPSVITypeInfo.html">DOMPSVITypeInfo</a> (<a class="el" href="namespacexercesc.html">xercesc</a>) </td><td><a class="el" href="classXPath2Result.html">XPath2Result</a> </td></tr><tr><td><a class="el" href="classxercesc_1_1DOMErrorHandler.html">DOMErrorHandler</a> (<a class="el" href="namespacexercesc.html">xercesc</a>) </td><td><a class="el" href="classxercesc_1_1DOMRange.html">DOMRange</a> (<a class="el" href="namespacexercesc.html">xercesc</a>) </td><td><a class="el" href="classXQillaAllocator.html">XQillaAllocator</a> </td></tr><tr><td><a class="el" href="classxercesc_1_1DOMException.html">DOMException</a> (<a class="el" href="namespacexercesc.html">xercesc</a>) </td><td><a class="el" href="classxercesc_1_1DOMRangeException.html">DOMRangeException</a> (<a class="el" href="namespacexercesc.html">xercesc</a>) </td><td><a class="el" href="classXQillaExpression.html">XQillaExpression</a> </td></tr><tr><td><a class="el" href="classxercesc_1_1DOMImplementation.html">DOMImplementation</a> (<a class="el" href="namespacexercesc.html">xercesc</a>) </td><td><a class="el" href="classxercesc_1_1DOMStringList.html">DOMStringList</a> (<a class="el" href="namespacexercesc.html">xercesc</a>) </td><td><a class="el" href="classXQillaNSResolver.html">XQillaNSResolver</a> </td></tr><tr><td><a class="el" href="classxercesc_1_1DOMImplementationList.html">DOMImplementationList</a> (<a class="el" href="namespacexercesc.html">xercesc</a>) </td><td><a class="el" href="classxercesc_1_1DOMText.html">DOMText</a> (<a class="el" href="namespacexercesc.html">xercesc</a>) </td><td><a class="el" href="classXQillaPlatformUtils.html">XQillaPlatformUtils</a> </td></tr><tr><td><a class="el" href="classxercesc_1_1DOMImplementationLS.html">DOMImplementationLS</a> (<a class="el" href="namespacexercesc.html">xercesc</a>) </td></tr></table><div class="qindex"><a class="qindex" href="#letter_A">A</a> | <a class="qindex" href="#letter_D">D</a> | <a class="qindex" href="#letter_M">M</a> | <a class="qindex" href="#letter_R">R</a> | <a class="qindex" href="#letter_S">S</a> | <a class="qindex" href="#letter_X">X</a></div> 38</div>class-walker-nav-menu-edit.php git://github.com/wordpress/wordpress.git | PHP | 313 lines
120 <div class="menu-item-handle"> 121 <span class="item-title"><span class="menu-item-title"><?php echo esc_html( $title ); ?></span> <span class="is-submenu" <?php echo $submenu_text; ?>><?php _e( 'sub item' ); ?></span></span> 122 <span class="item-controls"> 187 <?php _e( 'URL' ); ?><br /> 188 <input type="text" id="edit-menu-item-url-<?php echo $item_id; ?>" class="widefat code edit-menu-item-url" name="menu-item-url[<?php echo $item_id; ?>]" value="<?php echo esc_attr( $item->url ); ?>" /> 189 </label> 194 <?php _e( 'Navigation Label' ); ?><br /> 195 <input type="text" id="edit-menu-item-title-<?php echo $item_id; ?>" class="widefat edit-menu-item-title" name="menu-item-title[<?php echo $item_id; ?>]" value="<?php echo esc_attr( $item->title ); ?>" /> 196 </label> 200 <?php _e( 'Title Attribute' ); ?><br /> 201 <input type="text" id="edit-menu-item-attr-title-<?php echo $item_id; ?>" class="widefat edit-menu-item-attr-title" name="menu-item-attr-title[<?php echo $item_id; ?>]" value="<?php echo esc_attr( $item->post_excerpt ); ?>" /> 202 </label> 224 <?php _e( 'Description' ); ?><br /> 225 <textarea id="edit-menu-item-description-<?php echo $item_id; ?>" class="widefat edit-menu-item-description" rows="3" cols="20" name="menu-item-description[<?php echo $item_id; ?>]"><?php echo esc_html( $item->description ); // textarea_escaped ?></textarea> 226 <span class="description"><?php _e( 'The description will be displayed in the menu if the current theme supports it.' ); ?></span>Userguide.php git://github.com/kohana/userguide.git | PHP | 398 lines
1<?php defined('SYSPATH') or die('No direct script access.'); 2/** 179 { 180 // Enable the missing class autoloader. If a class cannot be found a 181 // fake class will be created that extends Kodoc_Missing 181 // fake class will be created that extends Kodoc_Missing 182 spl_autoload_register(array('Kodoc_Missing', 'create_class')); 183 207 208 // If this classes immediate parent is Kodoc_Missing, then it should 404 209 if ($_class->class->getParentClass() AND $_class->class->getParentClass()->name == 'Kodoc_Missing') 289 $media->uri(array('file' => 'js/shCore.js')), 290 $media->uri(array('file' => 'js/shBrushPhp.js')), 291 );class-wcs-report-cache-manager.php https://bitbucket.org/tristangemus/tribe-demo.git | PHP | 357 lines
1<?php 2/** 7 * @class WCS_Cache_Manager 8 * @since 2.1 9 * @package WooCommerce Subscriptions/Classes 74 * 75 * @since 2.1 76 */ 113 * 114 * @since 2.1 115 * @return null 128 * site's timezone, which helps avoid running the queries during busy periods and also runs them after all the renewals for synchronised 129 * subscriptions should have finished for the day (which begins at 3am and rarely takes more than 1 hours of processing to get through 130 * an entire queue). 134 * 135 * @since 2.1 136 */cfg.cpp git://github.com/facebook/hiphop-php.git | C++ | 308 lines
2 +----------------------------------------------------------------------+ 3 | HipHop for PHP | 4 +----------------------------------------------------------------------+ 6 +----------------------------------------------------------------------+ 7 | This source file is subject to version 3.01 of the PHP license, | 8 | that is bundled with this package in the file LICENSE, and is | 9 | available through the world-wide-web at the following url: | 10 | http://www.php.net/license/3_01.txt | 11 | If you did not receive a copy of the PHP license and are unable to | 12 | obtain it through the world-wide-web, please send a note to | 13 | license@php.net so we can mail you a copy immediately. | 14 +----------------------------------------------------------------------+ 20 21namespace HPHP { 22namespace VM {Command.php git://github.com/pmjones/php-framework-benchmarks.git | PHP | 512 lines
1<?php 2 140 141 if ($input->isInteractive()) { 142 $this->interact($input, $output); 378 $name, 379 $_SERVER['PHP_SELF'].' '.$name 380 );Process.php https://bitbucket.org/ttphong2612/billigastamplar-new.se.git | PHP | 451 lines
127 if (strpos(str_replace($this->_includeDir, '', $target), '-') 128 || !in_array(substr($source, strlen($source)-4, 4), array('.php'))) { 129 return $this; 199 } else { 200 if (!in_array(substr($source, strlen($source)-4, 4), array('.php'))) { 201 return $this; 289 foreach ($statClasses as $index => $classInfo) { 290 $classInfo = explode(':', $classInfo); 291 $popularStatClasses[$classInfo[1]][] = $classInfo[0]; 306 $classInfo = explode(':', $classInfo); 307 $popularStatClasses[$classInfo[1]][] = $classInfo[0]; 308 } 330 { 331 $classesInfo = $this->getCompileClassList(); 332classInteractiveDebugger-members.html git://pkgs.fedoraproject.org/xqilla | HTML | 64 lines
6</head><body> 7<a style="float:right;" href="http://sourceforge.net/projects/xqilla"><img src="http://sflogo.sourceforge.net/sflogo.php?group_id=152021&type=2" border="0" alt="SourceForge.net Logo" /></a> 8<!-- Generated by Doxygen 1.6.1 --> 28<div class="contents"> 29<h1>InteractiveDebugger Member List</h1>This is the complete list of members for <a class="el" href="classInteractiveDebugger.html">InteractiveDebugger</a>, including all inherited members.<table> 30 <tr class="memlist"><td><a class="el" href="classBaseInteractiveDebugger.html#ad63643f8a107abf3217337831d633a6b">BaseInteractiveDebugger</a>()</td><td><a class="el" href="classBaseInteractiveDebugger.html">BaseInteractiveDebugger</a></td><td><code> [private]</code></td></tr> 34 <tr class="memlist"><td><a class="el" href="classBaseInteractiveDebugger.html#a0f0b17238151717de1b6de4c42907bfc">commands_</a></td><td><a class="el" href="classBaseInteractiveDebugger.html">BaseInteractiveDebugger</a></td><td><code> [private]</code></td></tr> 35 <tr class="memlist"><td><a class="el" href="classInteractiveDebugger.html#a9171a5f6c3d01b65f1ea0197d609d34b">debugQuery</a>(const XQQuery *query, DynamicContext *context)</td><td><a class="el" href="classInteractiveDebugger.html">InteractiveDebugger</a></td><td><code> [static]</code></td></tr> 36 <tr class="memlist"><td><a class="el" href="classBaseInteractiveDebugger.html#ae987eb727da99ac9b980aa86aee21edd">disableBreakPoint</a>(unsigned int number)</td><td><a class="el" href="classBaseInteractiveDebugger.html">BaseInteractiveDebugger</a></td><td><code> [private]</code></td></tr> 42 <tr class="memlist"><td><a class="el" href="classBaseInteractiveDebugger.html#af4c34452f1359e7e25d0fcf4bd004cef">next_</a></td><td><a class="el" href="classBaseInteractiveDebugger.html">BaseInteractiveDebugger</a></td><td><code> [private]</code></td></tr> 43 <tr class="memlist"><td><a class="el" href="classInteractiveDebugger.html#a442448c0319069ac3887587da9e0a12e">outputLocation</a>(const LocationInfo *info, unsigned int context=0)</td><td><a class="el" href="classInteractiveDebugger.html">InteractiveDebugger</a></td><td><code> [static]</code></td></tr> 44 <tr class="memlist"><td><a class="el" href="classBaseInteractiveDebugger.html#ae4f363d37650973f43c13e10d12bdb43">BaseInteractiveDebugger::outputLocation</a>(const XMLCh *file, unsigned int line, unsigned int column, unsigned int context=0)</td><td><a class="el" href="classBaseInteractiveDebugger.html">BaseInteractiveDebugger</a></td><td><code> [private, static]</code></td></tr>paperclip.rb git://github.com/stevenbristol/lovd-by-less.git | Ruby | 244 lines
1# Paperclip allows file attachments that are stored in the filesystem. All graphical 2# transformations are done using the Graphics/ImageMagick command line utilities and 3# are stored in Tempfiles until the record is saved. Paperclip does not require a 8# Copyright:: Copyright (c) 2008 thoughtbot, inc. 9# License:: MIT License (http://www.opensource.org/licenses/mit-license.php) 10# 90 # This field is interpolated just as the url is. The default value is 91 # "/:class/:attachment/missing_:style.png" 92 # has_attached_file :avatar, :default_url => "/images/default_:style_avatar.png" 95 # geometry strings at the ImageMagick website 96 # (http://www.imagemagick.org/script/command-line-options.php#resize). Paperclip 97 # also adds the "#" option (e.g. "50x50#"), which will resize the image to fit maximally 109 # By default this places the files in the app's public directory which can be served 110 # directly. If you are using capistrano for deployment, a good idea would be to 111 # make a symlink to the capistrano-created system directory from inside your app'sCurl.php https://github.com/dmolsen/MIT-Mobile-Web.git | PHP | 392 lines
27/** Zend_Http_Client_Adapter_Interface */ 28require_once 'Zend/Http/Client/Adapter/Interface.php'; 29 31 * An adapter class for Zend_Http_Client based on the curl extension. 32 * Curl requires libcurl. See for full requirements the PHP manual: http://php.net/curl 33 * 95 * 96 * Config is set using setConfig() 97 * 118 if (!is_array($config)) { 119 require_once 'Zend/Http/Client/Adapter/Exception.php'; 120 throw new Zend_Http_Client_Adapter_Exception('Http Adapter configuration expects an array, ' . gettype($config) . ' recieved.'); 305 * Make sure POSTFIELDS is set after $curlMethod is set: 306 * @link http://de2.php.net/manual/en/function.curl-setopt.php#81161 307 */convert-ly.py git://git.savannah.gnu.org/lilypond.git | Python | 391 lines
116 p.add_option ('-n', '--no-version', 117 help=_ ("do not add \\version command if missing"), 118 action='store_true', 157 _ ("Report bugs via %s") 158 % 'http://post.gmane.org/post.php' 159 '?group=gmane.comp.gnu.lilypond.bugs') + '\n') 255def do_one_file (infile_name): 256 ly.progress (_ (u"Processing `%s\'... ") % infile_name, True) 257rpc_blockchain.py git://github.com/bitcoin/bitcoin.git | Python | 338 lines
3# Distributed under the MIT software license, see the accompanying 4# file COPYING or http://www.opensource.org/licenses/mit-license.php. 5"""Test RPCs related to blockchainstate. 139 'timeout': 0x7fffffffffffffff, # testdummy does not have a timeout so is set to the max int64 value 140 'since': 144, 141 'statistics': { 264 assert_is_hash_string(header['bits'], length=None) 265 assert isinstance(header['time'], int) 266 assert isinstance(header['mediantime'], int) 266 assert isinstance(header['mediantime'], int) 267 assert isinstance(header['nonce'], int) 268 assert isinstance(header['version'], int) 268 assert isinstance(header['version'], int) 269 assert isinstance(int(header['versionHex'], 16), int) 270 assert isinstance(header['difficulty'], Decimal)PrototypedArrayNodeTest.php git://github.com/fabpot/symfony.git | PHP | 341 lines
1<?php 2 13 14use PHPUnit\Framework\TestCase; 15use Symfony\Component\Config\Definition\ArrayNode; 240 * 241 * If using VariableNode for value node, it's also possible to mix different types of value nodes: 242 *Fl_Input.H http://luafltk.googlecode.com/svn/trunk/ | C Header | 265 lines
24// 25// http://www.fltk.org/str.php 26// 36/** 37 This is the FLTK text input widget. It displays a single line 38 of text and lets the user edit it. Normally it is drawn with an 39 inset box and a white background. The text may contain any 40 characters (even 0), and will correctly display anything, using 41 ^X notation for unprintable control characters and \\nnn notation 70 <TR><TD><B>^K</B></TD><TD>Delete to the end of line (next \\n character) 71 or deletes a single \\n character. These deletions are all concatenated 72 into the clipboard.</TD></TR> 80 delete it.</TD></TR> 81 <TR><TD><B>^Z or ^_</B></TD><TD>Undo. This is a single-level undo 82 mechanism, but all adjacent deletions and insertions are concatenatedCWsdlGenerator.php http://chenjin.googlecode.com/svn/trunk/ | PHP | 420 lines
1<?php 2/** 19 * comment block containing the '@soap' tag. In the doc comment, the type and name 20 * of every input parameter and the type of the return value should be declared using 21 * the standard phpdoc format. 74 * </pre> 75 * In the above, the 'members' property is an array of 'Member' objects. Since 'Member' is not 76 * a primitive type, CWsdlGenerator will look further to find the definition of 'Member'. 78 * @author Qiang Xue <qiang.xue@gmail.com> 79 * @version $Id: CWsdlGenerator.php 242 2012-03-29 15:18:01Z mole1230 $ 80 * @package system.web.services 80 * @package system.web.services 81 * @since 1.0 82 */ 161 /* 162 * @param string $type PHP variable type 163 */StateDropDown.js https://rabcg.svn.codeplex.com/svn | JavaScript | 582 lines
11 12The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. The software is provided "as is", without warranty of any kind, express or implied, including but not limited to the warranties of merchantability, itness for a particular purpose and noninfringement. in no event shall the authors or copyright holders be liable for any claim, damages or other liability, whether in an action of contract, tort or otherwise, arising from, out of or in connection with the software or the use or other dealings in the software. 13 15 16// If you have PHP you can set the post values like this 17//var postState = '<?= $_POST["state"] ?>'; 81US:WA:Washington|\ 82US:WI:Wisconsin|\ 83US:WV:West Virginia|\ 428SL:Sierra Leone|\ 429SG:Singapore|\ 430SK:Slovak Republic|\ 490 if ( sInString ) { 491 sInString = sInString.replace( /^\s+/g, "" );// strip leading 492 return sInString.replace( /\s+$/g, "" );// strip trailingcontrollers.rb http://ruby-taskr.googlecode.com/svn/trunk/ | Ruby | 344 lines
94 action_params = params[:action].delete("action_id_#{action.id}") 95 $LOG.debug("Using values #{action_params.inspect}") 96 next unless action_params 145 146 raise ArgumentError, "Missing action(s) parameter." if actions_data.blank? 147 actions = case actions_data 186 begin 187 # the "0" is for compatibility with PHP's Zend_Rest_Client 188 task_data = @input['task'] || @input["0"] || @input 330 def list 331 @since = input['since'] 332 337 :conditions => ['task_id = ? AND IF(?,timestamp > ?,1) AND level IN (?)', 338 input['task_id'], !@since.blank?, @since, @level], 339 :order => 'timestamp DESC, id DESC')AzureStorage.php https://code.google.com/p/celebrio/ | PHP | 252 lines
1<?php 2 238 239 public function getBlobsInContainer($containerName, $prefix = '') { 240 return parent::getBlobsInContainer($containerName, $prefix);scheme3_e.html http://zhangpengpeng.googlecode.com/svn/trunk/ | HTML | 287 lines
18<table class='guide'><tr> 19<td><a rel=home href='http://www.shido.info/index_e.php'> 20 <img src='../images/shido_small.png' class='arrow' border=0>HOME</a></td> 21<td><a rel=prev href="scheme2_e.html"><img src='../images/left_arrow.gif' class='arrow' border=0> 22 2. Using Scheme as a Calculator</a></td> 23<td><a rel=up href="idx_scm_e.html"><img src='../images/up_arrow.gif' class='arrow' border=0>Yet Another Scheme Tutorial</a></td> 24<td><a rel=next href="scheme4_e.html"><img src='../images/right_arrow.gif' class='arrow' border=0>4. Defining Functions</a></td> 25<td><a href='http://www.shido.info/gb/write_guestbook_e.php?ref=lisp/scheme3_e.html&t=%28Scheme%29+Making+Lists' target='new'> 26<img src='../images/pencil.gif' class='arrow' border=0>Post Messages</a></td> 115<h3> Exercise 1</h3> 116Make data structures using <tt>cons</tt> that the front end responds like as follows. 117<ol> 211<ul> 212<li>how to edit source codes using a editor, 213 <li>how to load the source code to the interpreter, and0918fckconfig.js http://prosporous.googlecode.com/svn/trunk/ | JavaScript | 315 lines
55// FCKConfig.ProtectedSource.Add( /<%[\s\S]*?%>/g ) ; // ASP style server side code <%...%> 56// FCKConfig.ProtectedSource.Add( /<\?[\s\S]*?\?>/g ) ; // PHP style server side code 57// FCKConfig.ProtectedSource.Add( /(<asp:[^\>]+>[\s|\S]*?<\/asp:[^\>]+>)|(<asp:[^\>]+\/>)/gi ) ; // ASP.Net style tags <asp:control> 68 69FCKConfig.AdditionalNumericEntities = '' ; // Single Quote: "'" 70 158FCKConfig.IeSpellDownloadUrl = 'http://www.iespell.com/download.php' ; 159FCKConfig.SpellerPagesServerScript = 'server-scripts/spellchecker.php' ; // Available extension: .php .cfm .pl 160FCKConfig.FirefoxSpellChecker = false ; 260// just to make this configuration file cleaner. 261// It is not possible to change this value using an external file or even 262// inline when creating the editor instance. In that cases you must set the 264// Custom implementations should just ignore it. 265var _FileBrowserLanguage = 'php' ; // asp | aspx | cfm | lasso | perl | php | py 266var _QuickUploadLanguage = 'php' ; // asp | aspx | cfm | lasso | perl | php | pyMainForm.cs https://simpleproxyswitch.svn.codeplex.com/svn | C# | 296 lines
16// 17// Published under the MIT License. See license.rtf or http://www.opensource.org/licenses/mit-license.php. 18// 20 21using System; 22using System.Collections.Generic; 22using System.Collections.Generic; 23using System.ComponentModel; 24using System.Linq; 24using System.Linq; 25using System.Reflection; 26using System.Windows.Forms; 26using System.Windows.Forms; 27using log4net; 28using ProxySwitch.Properties;php_solr_response.c git://pkgs.fedoraproject.org/php-pecl-solr | C | 433 lines
10 | http://www.php.net/license/3_01.txt | 11 | If you did not receive a copy of the PHP license and are unable to | 12 | obtain it through the world-wide-web, please send a note to | 201 Returns the serialized object string derived from the XML response. */ 202PHP_METHOD(SolrResponse, getDigestedResponse) 203{ 209 210 php_error_docref(NULL TSRMLS_CC, E_NOTICE, SOLR_ERROR_4002_MSG); 211 298 299 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Error in JSON->PHP conversion. JSON Error Code %d", json_translation_result); 300 } 385 Destructor */ 386PHP_METHOD(SolrQueryResponse, __destruct) 387{dir.c https://github.com/php/php-src.git | C | 581 lines
71 if (id) { \ 72 if ((dirp = (php_stream *)zend_fetch_resource(Z_RES_P(id), "Directory", php_file_le_stream())) == NULL) { \ 73 RETURN_THROWS(); \ 79 } \ 80 if ((dirp = (php_stream *)zend_fetch_resource(DIRG(default_dir), "Directory", php_file_le_stream())) == NULL) { \ 81 RETURN_THROWS(); \ 90 } \ 91 if ((dirp = (php_stream *)zend_fetch_resource_ex(handle_zv, "Directory", php_file_le_stream())) == NULL) { \ 92 RETURN_THROWS(); \ 559 if (flags == PHP_SCANDIR_SORT_ASCENDING) { 560 n = php_stream_scandir(dirn, &namelist, context, (void *) php_stream_dirent_alphasort); 561 } else if (flags == PHP_SCANDIR_SORT_NONE) { 563 } else { 564 n = php_stream_scandir(dirn, &namelist, context, (void *) php_stream_dirent_alphasortr); 565 }IndexParser.cs https://openHistorian.svn.codeplex.com/svn | C# | 254 lines
10// 11// http://www.opensource.org/licenses/eclipse-1.0.php 12// 24 25using GSF.IO.FileStructure.Media; 26 145 DataClusterAddress = mostRecentParser.DataClusterAddress; 146 MapPosition(mostRecentParser.BaseVirtualAddressIndexValue); 147 m_oldFirstOffset = -1; 209 } 210 else if (FourthIndirectOffset != 0) //Single Indirect 211 { 214 ThirdIndirectBlockAddress = 0; 215 FourthIndirectBlockAddress = m_subFile.SingleIndirectBlock; 216 if (lowestChange <= 4)IMqttClient.java git://github.com/eclipse/paho.mqtt.java.git | Java | 306 lines
47 * blocking approach is handy when the application wants to carry on processing while the 48 * MQTT action takes place. For instance connecting to an MQTT server can take time, using 49 * the non-blocking connect method allows an application to display a busy indicator while the 168 * @throws MqttException if any unexpected error 169 * @since 0.4.1 170 */ 173 /** 174 * Subscribe to a topic, which may include wildcards using a QoS of 1. 175 * 278 * <em>finance/stock/ibm</em> and <em>finance/stock/xyz</em>, 279 * but not <em>finance/stock/ibm/closingprice</em>. Also, because the single-level 280 * wildcard matches only a single level, <em>finance/+</em> does not match <em>finance</em>.</p> 297 * published at a lower quality of service will be received at the published 298 * QoS. Messages published at a higher quality of service will be received using 299 * the QoS specified on the subscribe.SqlController.php git://github.com/phpmyadmin/phpmyadmin.git | PHP | 324 lines
1<?php 2declare(strict_types=1); 3 4namespace PhpMyAdmin\Controllers; 5 5 6use PhpMyAdmin\CheckUserPrivileges; 7use PhpMyAdmin\Config\PageSettings; 7use PhpMyAdmin\Config\PageSettings; 8use PhpMyAdmin\Core; 9use PhpMyAdmin\DatabaseInterface; 9use PhpMyAdmin\DatabaseInterface; 10use PhpMyAdmin\Html\Generator; 11use PhpMyAdmin\Message; 11use PhpMyAdmin\Message; 12use PhpMyAdmin\ParseAnalyze; 13use PhpMyAdmin\Response;notifier.php git://github.com/mageekguy/atoum.git | PHP | 221 lines
1<?php 2 11 12require_once __DIR__ . '/../../../../../runner.php'; 13 44 ->if($score = new \mock\mageekguy\atoum\runner\score()) 45 ->and($this->calling($score)->getAssertionNumber = $assertionNumber = rand(1, PHP_INT_MAX)) 46 ->and($this->calling($score)->getFailNumber = $failNumber = rand(1, PHP_INT_MAX)) 46 ->and($this->calling($score)->getFailNumber = $failNumber = rand(1, PHP_INT_MAX)) 47 ->and($this->calling($score)->getErrorNumber = $errorNumber = rand(1, PHP_INT_MAX)) 48 ->and($this->calling($score)->getExceptionNumber = $exceptionNumber = rand(1, PHP_INT_MAX)) 50 ->and($runner->setScore($score)) 51 ->and($this->calling($runner)->getTestNumber = $testNumber = rand(1, PHP_INT_MAX)) 52 ->and($this->calling($runner)->getTestMethodNumber = $testMethodNumber = rand(1, PHP_INT_MAX)) 92 ) 93 ->and($this->calling($locale)->__ = function($singularString, $pluralString, $number) use (& $testString, & $testMethodString, & $testVoidMethodString, & $testSkippedMethodString, & $assertionString, & $errorString, & $exceptionString) { 94 switch ($singularString)MaildirFolderTest.php git://github.com/zendframework/zf2.git | PHP | 0 lines
1<?php 2/** 36 */ 37class MaildirFolderTest extends \PHPUnit_Framework_TestCase 38{ 203 try { 204 // explicit call of __toString() needed for PHP < 5.2 205 $this->assertEquals($mail->getFolders()->subfolder->__toString(), 'subfolder'); 235 236 // explicit call of __toString() needed for PHP < 5.2 237 $found_folders[$folder->__toString()] = $localName; 257 258 // explicit call of __toString() needed for PHP < 5.2 259 $found_folders[$folder->__toString()] = $localName; 277 278 // explicit call of __toString() needed for PHP < 5.2 279 $found_folders[$folder->__toString()] = $localName;autoptimize.php https://bitbucket.org/viruscommdev/jboivinavocat.git | PHP | 333 lines
175 // if (defined('AUTOPTIMIZE_LEGACY_MINIFIERS')) { 176 @include(AUTOPTIMIZE_PLUGIN_DIR.'classes/external/php/minify-html.php'); 177 // } else { 185 if (defined('AUTOPTIMIZE_LEGACY_MINIFIERS')) { 186 @include(AUTOPTIMIZE_PLUGIN_DIR.'classes/external/php/jsmin-1.1.1.php'); 187 } else { 187 } else { 188 @include(AUTOPTIMIZE_PLUGIN_DIR.'classes/external/php/minify-2.3.1-jsmin.php'); 189 } 202 if (!class_exists('Minify_CSS_Compressor')) { 203 @include(AUTOPTIMIZE_PLUGIN_DIR.'classes/external/php/minify-css-compressor.php'); 204 } 206 if (!class_exists('CSSmin')) { 207 @include(AUTOPTIMIZE_PLUGIN_DIR.'classes/external/php/yui-php-cssmin-2.4.8-4_fgo.php'); 208 }dashboard.php https://bitbucket.org/matthewselby/wpdev.git | PHP | 277 lines
1<?php 2/** 11 * $urls (urls of all dashboard menu items) 12 * $type [full|single|free] 13 * $my_project (only needed for type == single) 13 * $my_project (only needed for type == single) 14 * $projects (keys: free|paid; list of projects, only for type free/single) 15 * 15 * 16 * @since 4.0.0 17 * @package WPMUDEV_Dashboard 88?> 89<?php 90$page_title = __( 'Overview', 'wpmudev' ); 252 <footer class="wpmudui-box__footer"> 253 <a href="<?php echo esc_url( $urls->plugins_url ); ?>" class="wpmudui-btn is-sm is-ghost"><?php 254 /* translators: Number of plugins */resource.inc.php git://github.com/modxcms/revolution.git | PHP | 167 lines
1<?php 2/** 18$_lang['documents'] = 'Documents'; 19$_lang['duplicate_uri_found'] = 'Resource [[+id]] is already using the URI [[+uri]]. Please enter a unique alias or use Freeze URI to manually override it.'; 20$_lang['empty_template'] = '(empty)'; 28$_lang['resource_alias'] = 'Resource Alias'; 29$_lang['resource_alias_help'] = 'An alias for this resource. This will make the resource accessible using:<br /><br />http://yourserver/alias<br /><br /><strong>Note</strong>This only works if you\'re using friendly URLs.'; 30$_lang['resource_alias_visible'] = 'Use current alias in alias path'; 103$_lang['resource_pagetitle'] = 'عنوان'; 104$_lang['resource_pagetitle_help'] = 'The name/title of the resource. Try to avoid using backslashes in the name!'; 105$_lang['resource_parent'] = 'Parent Resource';behat_filepicker.php git://github.com/moodle/moodle.git | PHP | 310 lines
1<?php 2// This file is part of Moodle - http://moodle.org/ 25 26// NOTE: no MOODLE_INTERNAL test here, this file may be required by behat before including /config.php. 27 27 28require_once(__DIR__ . '/../../../lib/behat/core_behat_file_helper.php'); 29 173 // Yes, we are sure. 174 // Using xpath + click instead of pressButton as 'Ok' it is a common string. 175 $okbutton = $this->find('css', 'div.fp-dlg button.fp-dlg-butconfirm');README.md git://github.com/timroes/aXMLRPC.git | Markdown | 314 lines
7 8The library was developed for the use with Android. Since it has no dependencies to 9any Android library or any other 3rd-party library, it is fully functional in any 28 29aXMLRPC uses maven, so you can build it using 30 67 68Instead of passing the parameters as seperated values, you can also pack them in 69an array and pass the array to the method, like in the following example: 183The client will be able to send `null` values. A `null` value will be send 184as `<nil/>`. This extension is described under: http://ontosys.com/xml-rpc/extensions.php 185 218 219With this flag enabled, a value with a missing type tag, will be parsed 220as a string element. This is just for incoming messages. Outgoing messagesFont.php https://PHPExcel.svn.codeplex.com/svn | PHP | 505 lines
40 * @package PHPExcel_Style 41 * @copyright Copyright (c) 2006 - 2009 PHPExcel (http://www.codeplex.com/PHPExcel) 42 */ 49 const UNDERLINE_SINGLE = 'single'; 50 const UNDERLINE_SINGLEACCOUNTING = 'singleAccounting'; 51 136 $this->_striketrough = false; 137 $this->_color = new PHPExcel_Style_Color(PHPExcel_Style_Color::COLOR_BLACK); 138 } 158 * 159 * Returns the PHPExcel_Style_Font that is actual bound to PHPExcel_Style 160 * 175 * 176 * If no PHPExcel_Style_Font has been bound to PHPExcel_Style then bind this one. Return the actual bound one. 177 *CriterionPolicyError.html http://google-api-adwords-php.googlecode.com/svn/trunk/ | HTML | 0 lines
23 <div class="info-box-body"> 24 <!-- ========== Info from phpDoc block ========= --> 25<p class="short-description">Contains the policy violations for a single BiddableAdGroupCriterion.</p> 26 <p class="notes"> 27 Located in <a class="field" href="_Ads---AdWords---v201008---AdGroupCriterionService.php.html">/Ads/AdWords/v201008/AdGroupCriterionService.php</a> (line <span class="field">5240</span>) 28 </p> 148 149 <!-- ========== Info from phpDoc block ========= --> 150 <ul class="tags"> 208 209 <!-- ========== Info from phpDoc block ========= --> 210<p class="short-description">Gets the namesapce of this class</p> 288 <p class="notes" id="credit"> 289 Documentation generated by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.3</a> 290 </p>fsource_PhpExt_Grid_PhpExtGridEditorGridPanel.php.html http://php-ext.googlecode.com/svn/trunk/ | HTML | 170 lines
12<div id="header"> 13 <h1><img src="../media/php-ext2.png" alt="PHP-Ext Logo" title="PHP-Ext" width="110" height="34" /></h1> 14 <div> 78<h1 align="center">Source for file EditorGridPanel.php</h1> 79<p>Documentation is available at <a href="../PhpExt/Grid/_PhpExt---Grid---EditorGridPanel.php.html">EditorGridPanel.php</a></p> 80<div class="src-code"><span class="php"> 103<li><div class="src-line"><a name="a23"></a><span class="src-doc"> */</span></div></li> 104<li><div class="src-line"><a name="a24"></a><span class="src-key">class </span><a href="../PhpExt/Grid/PhpExt_Grid_EditorGridPanel.html">PhpExt_Grid_EditorGridPanel</a> <span class="src-key">extends </span><a href="../PhpExt/Grid/PhpExt_Grid_GridPanel.html">PhpExt_Grid_GridPanel</a> </div></li> 105<li><div class="src-line"><a name="a25"></a><span class="src-sym">{</span></div></li> 125<li><div class="src-line"><a name="a45"></a> <span class="src-id">parent</span><span class="src-sym">::</span><a href="../PhpExt/Grid/PhpExt_Grid_GridPanel.html#method__construct">__construct</a><span class="src-sym">(</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li> 126<li><div class="src-line"><a name="a46"></a> <span class="src-var">$this</span><span class="src-sym">-></span><a href="../PhpExt/PhpExt_Component.html#methodsetExtClassInfo">setExtClassInfo</a><span class="src-sym">(</span><span class="src-str">"Ext.grid.EditorGridPanel"</span><span class="src-sym">, </span><span class="src-str">"editorgrid"</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li> 127<li><div class="src-line"><a name="a47"></a> </div></li> 153<div id="footer"> 154PHP-Ext Open Source Project | <a href="http://php-ext.googlecode.com">http://php-ext.googlecode.com</a> | <a href="http://php-ext.quimera-solutions.com">http://php-ext.quimera-solutions.com</a> | 155sergeiw at gmail.comKey.php https://code.google.com/p/s3db/ | PHP | 316 lines
1<?php 2/** 9 * 10 * LICENSE: This source file is subject to version 3.0 of the PHP license 11 * that is available through the world-wide-web at the following URI: 11 * that is available through the world-wide-web at the following URI: 12 * http://www.php.net/license/3_0.txt. If you did not receive a copy of 13 * the PHP License and are unable to obtain it through the web, please 13 * the PHP License and are unable to obtain it through the web, please 14 * send a note to license@php.net so we can mail you a copy immediately. 15 * 19 * @copyright 2005, 2006 Alexander Valyalkin 20 * @license http://www.php.net/license/3_0.txt PHP License 3.0 21 * @version 1.2.0b 89 * @copyright 2005, 2006 Alexander Valyalkin 90 * @license http://www.php.net/license/3_0.txt PHP License 3.0 91 * @link http://pear.php.net/package/Crypt_RSAStream.php http://buddypress-media.googlecode.com/svn/bp_media/trunk/ | PHP | 379 lines
1<?php 2/** 2/** 3 * php-token-stream 4 * 30 * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 31 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER 32 * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 40 * @license http://www.opensource.org/licenses/bsd-license.php BSD License 41 * @since File available since Release 1.0.0 42 */ 43 44require_once ( PHPU_BASE_PATH . '/PHP/Token.php' ); 45 53 * @link http://github.com/sebastianbergmann/php-token-stream/tree 54 * @since Class available since Release 1.0.0 55 */friend.php http://praized.googlecode.com/svn/trunk/ | PHP | 358 lines
1<?php 2/** 15 * 16 * <code><?php if ( pzdc_has_friend() ) : ?>...<?php endif; ?></code> 17 * 17 * 18 * @param string $identifier Optional user identifier (login) for custom template development (see bundled praized-php lib) 19 * @return boolean 19 * @return boolean 20 * @since 0.1 21 */ 29 * 30 * <code><?php $friend_object = pzdc_friend(); ?></code> 31 * 31 * 32 * @param string $identifier Optional user identifier (login) for custom template development (see bundled praized-php lib) 33 * @return mixed Boolean FALSE or Object Current friend (see params)Range.php git://github.com/phpbb/customisation-db.git | PHP | 378 lines
1<?php 2/** 24/** Zend_Search_Lucene_Search_Query */ 25require_once 'Zend/Search/Lucene/Search/Query.php'; 26 70 * It's filled during the search (rewrite operation) and may be used for search result 71 * post-processing 72 * 90 if ($lowerTerm === null && $upperTerm === null) { 91 require_once 'Zend/Search/Lucene/Exception.php'; 92 throw new Zend_Search_Lucene_Exception('At least one term must be non-null'); 94 if ($lowerTerm !== null && $upperTerm !== null && $lowerTerm->field != $upperTerm->field) { 95 require_once 'Zend/Search/Lucene/Exception.php'; 96 throw new Zend_Search_Lucene_Exception('Both terms must be for the same field'); 139 */ 140 public function isInclusive() 141 {core.php git://github.com/Austinb/GameQ.git | PHP | 638 lines
1<?php 2/** 120 /** 121 * Packets Mode is multi by default since most games support it 122 * 134 /** 135 * Holds the list of methods to run when parsing the packet response(s) data. These 136 * methods should provide all the return information. 544 // Call the proper process method. All methods should return an array of data. 545 // Preprocessing should be handled by these methods internally as well. 546 // Merge in the results when done.pages.php https://code.google.com/p/osclass/ | PHP | 249 lines
1<?php if ( ! defined('ABS_PATH')) exit('ABS_PATH is not loaded. Direct access is not allowed.'); 2 4 * OSCLass – software for creating and publishing online classified 5 * advertising platforms 6 * 35 36 //Business Layer... 37 function doModel() 54 $this->_exportVariableToView("page", $this->pageManager->findByPrimaryKey(Params::getParam("id"))); 55 $this->doView("pages/frm.php"); 56 break; 209 210 require_once(osc_admin_base_path() . 'ajax/pages_processing.php'); 211 $params = Params::getParamsAsArray('get'); 211 $params = Params::getParamsAsArray('get'); 212 $pages_processing = new PagesProcessing( $params ); 213 $aData = $pages_processing->result( $params );handlers.dev.js http://buddypress-media.googlecode.com/svn/bp_media/trunk/ | JavaScript | 433 lines
11 jQuery('.media-blank').remove(); 12 // Collapse a single item 13 if ( jQuery('form.type-form #media-items').children().length == 1 && jQuery('.hidden', '#media-items').length > 0 ) { 113 jQuery.ajax({ 114 url: 'admin-ajax.php', 115 type: 'post', 131 jQuery.ajax({ 132 url: 'admin-ajax.php', 133 type: 'post', 375 switch (errorCode) { 376 case SWFUpload.UPLOAD_ERROR.MISSING_UPLOAD_URL: 377 wpFileError(fileObj, swfuploadL10n.missing_upload_url);loader-disabled.php http://buddypress-media.googlecode.com/svn/bp_media/trunk/ | PHP | 438 lines
109 * @version 0.1.9 110 * @since 0.1.9 111 * @return string | version number 252 <input type="radio" name="media_views_itemCountEnable" type="text" <?php if ($bp->bpa->options['media_views_itemCountEnable'] == true ) : ?> 253 checked="checked"<?php endif; ?> value="1" /> <?php _e( 'Yes', "bp-media" ) ?> 254 <input type="radio" name="media_views_itemCountEnable" type="text" <?php if ($bp->bpa->options['media_views_itemCountEnable'] == false) : ?> 254 <input type="radio" name="media_views_itemCountEnable" type="text" <?php if ($bp->bpa->options['media_views_itemCountEnable'] == false) : ?> 255 checked="checked"<?php endif; ?> value="0" /> <?php _e( 'No', "bp-media" ) ?> 256 </td> 261 <input type="radio" name="media_views_itemCountEnable" type="text" <?php if ($bp->bpa->options['media_views_itemCountEnable'] == true ) : ?> 262 checked="checked"<?php endif; ?> value="1" /> <?php _e( 'Yes', "bp-media" ) ?> 263 <input type="radio" name="media_views_itemCountEnable" type="text" <?php if ($bp->bpa->options['media_views_itemCountEnable'] == false) : ?> 263 <input type="radio" name="media_views_itemCountEnable" type="text" <?php if ($bp->bpa->options['media_views_itemCountEnable'] == false) : ?> 264 checked="checked"<?php endif; ?> value="0" /> <?php _e( 'No', "bp-media" ) ?> 265 </td>externalsoftware.php https://github.com/certik/libmesh.git | PHP | 102 lines
1<?php $root=""; ?> 2<?php require($root."navigation.php"); ?> 3 18 19<h2>MPI</h2> The <a href="http://www-unix.mcs.anl.gov/mpi">Message Passing Interface</a> is a standard for parallel programming using the message passing model. PETSc requires MPI for its functionality. <code>libMesh</code> makes use of MPI to when running in parallel for certain operations, including its <code>ParallelMesh</code> distributed-memory, fully unstructured mesh implementation. 20 20 21<h2>TBB</h2> Since February 2008 <code>libMesh</code> can be configured to use the <a href="http://threadingbuildingblocks.org/">Threading Building Blocks</a> for thread-based parallelism on shared memory machines. Several key algorithms in the library have been refactored to be multithreaded, and this effort will continue as additional profiling reveals additional serial bottlenecks. It is envisioned that for certain classes of problems multilevel parallelism (e.g. message passing between nodes and threading within nodes) will prove more scalable than message passing alone, especially with the introduction of commodity multi-core processors. The reality is that for implicit problems this can only be achieved with a parallel linear algebra library that also uses multilevel parallelism. 22 63 64<h3>EXODUS II</h3> EXODUS II, available via <a href="http://sourceforge.net/projects/exodusii">sourceforge</a>, is a model developed to store and retrieve data for finite element analyses. It is used for preprocessing (problem definition), postprocessing (results visualization), as well as code to code data transfer. An EXODUS II data file is a random access, machine independent, binary file that is written and read via C, C++, or Fortran library routines which comprise the Application Programming Interface. <code>libMesh</code> contains source code for the EXODUS II library in <code>./contrib/exodusii</code> and can use it to read EXODUS II mesh files. Additional information may be found on the <a href="http://endo.sandia.gov/SEACAS/Documentation/SEACAS.html">Sandia Engineering Analysis Code Access System</a> 65 81 82<h3>GetPot</h3> <a href="http://getpot.sourceforge.net">GetPot</a> is a powerful command line and configuration file parsing for C++, Python, Ruby and Java. This tool provides many features, such as separate treatment for options, variables, and flags, unrecognized object detection, prefixes and much more. <code>libMesh</code> uses GetPot to parse command line options upon initialization and for input file parsing in some of the <a href="examples.php">examples</a>. 83ListView.html https://github.com/paparent/extjs.git | HTML | 381 lines
10 * Copyright(c) 2006-2009 Ext JS, LLC 11 * licensing@extjs.com 12 * http://www.extjs.com/license 39 { 40 "name":"zack_sink.jpg", 41 "size":2303, 42 "lastmod":1236974993000, 43 "url":"images\/thumbs\/zack_sink.jpg" 44 } 47var store = new Ext.data.JsonStore({ 48 url: 'get-images.php', 49 root: 'images', 74 dataIndex: 'size', 75 tpl: '{size:fileSize}', // format using Ext.util.Format.fileSize() 76 align: 'right'AdminModulesPositions.php http://marocmall.googlecode.com/svn/trunk/ | PHP | 316 lines
1<?php 2 3/** 4 * Modules positions tab for admin panel, AdminModulesPositions.php 5 * @category admin 8 * @copyright PrestaShop 9 * @license http://www.opensource.org/licenses/osl-3.0.php Open-source licence 3.0 10 * @version 1.3 13 14include_once(PS_ADMIN_DIR.'/../classes/AdminTab.php'); 15 167 <option>---------------</option>'; 168 $modules = Module::getModulesInstalled(); 169 291 <div class="margin-form"> 292 <input type="text" name="exceptions" size="40" '.(!empty($excepts) ? 'value="'.$excepts.'"' : '').'><br />Ex: identity.php, history.php, order.php, product.php<br /><br /> 293 '.$this->l('Please specify those files in which you do not want the module to be displayed').'.<br />Exception.php http://syracava.googlecode.com/svn/trunk/ | PHP | 397 lines
20 * @copyright 1997-2008 The PHP Group 21 * @license http://www.php.net/license/3_0.txt PHP License 3.0 22 * @version CVS: $Id: Exception.php 125 2009-08-21 01:35:18Z takuji.mezawa $ 96 * @copyright 1997-2008 The PHP Group 97 * @license http://www.php.net/license/3_0.txt PHP License 3.0 98 * @version Release: 1.7.2 99 * @link http://pear.php.net/package/PEAR 100 * @since Class available since Release 1.3.3 101 * 141 if (is_array($p2) && isset($p2['message'])) { 142 // fix potential problem of passing in a single warning 143 $p2 = array($p2); 154 /** 155 * @param mixed $callback - A valid php callback, see php func is_callable() 156 * - A PEAR_Exception::OBSERVER_* constantlua3d.c http://luaplayereuphoria.googlecode.com/svn/trunk/ | C | 511 lines
9 * Official Forum : http://www.retroemu.com/forum/forumdisplay.php?f=148 10 * For help using LuaPlayer, code help, tutorials etc please visit the official site : http://www.retroemu.com/forum/forumdisplay.php?f=148 11 * 27 * Thanks to Osgeld, Dan369 & Cmbeke for testing LuaPlayer Euphoria for me and coming up with some neat ideas for it. 28 * Thanks to the entire LuaPlayer Euphoria userbase, for using it and for supporting it's development. You guys rock! 29 * 237 int vtype = luaL_checkint(L, 2); 238 if (lua_type(L, 3) != LUA_TTABLE) return luaL_error(L, "vertices table missing"); 239 int n = luaL_getn(L, 3); 344 lua_pushstring(L, "Gu"); 345 lua_gettable(L, LUA_GLOBALSINDEX); 346 GU_CONSTANT(PI)lFrame.cpp http://hl2sb-src.googlecode.com/svn/trunk/ | C++ | 495 lines
19 20using namespace vgui; 21 48LUA_API lua_Frame *lua_toframe (lua_State *L, int idx) { 49 PHandle *phPanel = dynamic_cast<PHandle *>((PHandle *)lua_touserdata(L, idx)); 50 if (phPanel == NULL) 51 return NULL; 52 return dynamic_cast<lua_Frame *>(phPanel->Get()); 53} 62LUA_API void lua_pushframe (lua_State *L, Frame *pFrame) { 63 PHandle *phPanel = (PHandle *)lua_newuserdata(L, sizeof(PHandle)); 64 phPanel->Set(pFrame);optimize_func_calls.c https://github.com/php/php-src.git | C | 309 lines
4 +----------------------------------------------------------------------+ 5 | Copyright (c) The PHP Group | 6 +----------------------------------------------------------------------+ 6 +----------------------------------------------------------------------+ 7 | This source file is subject to version 3.01 of the PHP license, | 8 | that is bundled with this package in the file LICENSE, and is | 9 | available through the world-wide-web at the following url: | 10 | http://www.php.net/license/3_01.txt | 11 | If you did not receive a copy of the PHP license and are unable to | 12 | obtain it through the world-wide-web, please send a note to | 13 | license@php.net so we can mail you a copy immediately. | 14 +----------------------------------------------------------------------+ 14 +----------------------------------------------------------------------+ 15 | Authors: Dmitry Stogov <dmitry@php.net> | 16 | Xinchen Hui <laruence@php.net> |BaseClient_Test.php git://github.com/recurly/recurly-client-php.git | PHP | 241 lines
1<?php 2 14 parent::setUp(); 15 // Using LogLevel::EMERGENCY to minimize output when running tests 16 $logger = new Logger('Recurly', LogLevel::EMERGENCY);advanced_configuration.rst git://github.com/sonata-project/SonataAdminBundle.git | ReStructuredText | 453 lines
133 134To create your own RouteBuilder create the PHP class and register it as a service:: 135 184 185You can manage inherited classes by injecting subclasses using the service configuration. 186 229 230 // src/Admin/PersonAdmin.php 231 254Though the route linked by a menu may be protected the Tab Menu will not automatically check the ACl for you. 255The link will still appear unless you manually check it using the `hasAccess` method:: 256 274 275You can use dropdowns inside the Tab Menu by default. This can be achieved by using 276the `'dropdown' => true` attribute::Linux_SambaShareSecurityForGlobalInstance.cpp git://pkgs.fedoraproject.org/sblim-cmpi-samba | C++ | 415 lines
2// Linux_SambaShareSecurityForGlobalInstance.cpp 3// created on Fri, 23 Jun 2006 using ECUTE 2.2.1 4// 4// 5// Copyright (c) 2006, 2009, International Business Machines 6// 11// You can obtain a current copy of the Eclipse Public License from 12// http://www.opensource.org/licenses/eclipse-1.0.php 13// 47 //---------------------------------------------------------------------------- 48 //constructor using CmpiInstance 49 //---------------------------------------------------------------------------- 136 unsigned int 137 Linux_SambaShareSecurityForGlobalInstance::isInstanceNameSet() const { 138 return isSet.instanceName;Linux_SambaCommonSecurityForShareInstance.cpp git://pkgs.fedoraproject.org/sblim-cmpi-samba | C++ | 415 lines
2// Linux_SambaCommonSecurityForShareInstance.cpp 3// created on Fri, 23 Jun 2006 using ECUTE 2.2.1 4// 4// 5// Copyright (c) 2006, 2009, International Business Machines 6// 11// You can obtain a current copy of the Eclipse Public License from 12// http://www.opensource.org/licenses/eclipse-1.0.php 13// 47 //---------------------------------------------------------------------------- 48 //constructor using CmpiInstance 49 //---------------------------------------------------------------------------- 136 unsigned int 137 Linux_SambaCommonSecurityForShareInstance::isInstanceNameSet() const { 138 return isSet.instanceName;ConfigurationFrame.cs https://openpdc.svn.codeplex.com/svn | C# | 302 lines
10// 11// http://www.opensource.org/licenses/eclipse-1.0.php 12// 27 28using System; 29using System.IO; 29using System.IO; 30using System.Linq; 31using System.Runtime.Serialization; 31using System.Runtime.Serialization; 32using System.Runtime.Serialization.Formatters; 33using System.Runtime.Serialization.Formatters.Soap; 33using System.Runtime.Serialization.Formatters.Soap; 34using System.Threading; 35using TVA.Configuration;theme-editor.php https://bitbucket.org/ag_codeduck/site-erb-facis.git | PHP | 342 lines
45 '<p>' . __('<a href="https://codex.wordpress.org/Theme_Development">Documentation on Theme Development</a>') . '</p>' . 46 '<p>' . __('<a href="https://codex.wordpress.org/Using_Themes">Documentation on Using Themes</a>') . '</p>' . 47 '<p>' . __('<a href="https://codex.wordpress.org/Editing_Files">Documentation on Editing Files</a>') . '</p>' . 269 <?php echo $docs_select; ?> 270 <input type="button" class="button" value="<?php esc_attr_e( 'Look Up' ); ?>" onclick="if ( '' != jQuery('#docs-list').val() ) { window.open( 'https://api.wordpress.org/core/handbook/1.0/?function=' + escape( jQuery( '#docs-list' ).val() ) + '&locale=<?php echo urlencode( get_user_locale() ) ?>&version=<?php echo urlencode( get_bloginfo( 'version' ) ) ?>&redirect=true'); }" /> 271 </div> 278 <p> 279 <?php if ( is_writeable( $file ) ) { ?><strong><?php _e( 'Caution:' ); ?></strong><?php } ?> 280 <?php _e( 'This is a file in your current parent theme.' ); ?> 305 $referer = wp_get_referer(); 306 $excluded_referer_basenames = array( 'theme-editor.php', 'wp-login.php' ); 307 332 <p> 333 <a class="button file-editor-warning-go-back" href="<?php echo esc_url( $return_url ); ?>"><?php _e( 'Go back' ); ?></a> 334 <button type="button" class="file-editor-warning-dismiss button button-primary"><?php _e( 'I understand' ); ?></button>Web.hx https://code.google.com/p/hxjava/ | Haxe | 355 lines
27 #else 28 var a : NativeArray = untyped __php__("array_merge($_GET, $_POST)"); 29 if(untyped __call__("get_magic_quotes_gpc")) 37 If you have in your URL the parameters [a[]=foo;a[]=hello;a[5]=bar;a[3]=baz] then 38 [php.Web.getParamValues("a")] will return [["foo","hello",null,"baz",null,"bar"]] 39 **/ 253 public static function getAuthorization() : { user : String, pass : String } { 254 if(!untyped __php__("isset($_SERVER['PHP_AUTH_USER'])")) 255 return null; 255 return null; 256 return untyped {user: __php__("$_SERVER['PHP_AUTH_USER']"), pass: __php__("$_SERVER['PHP_AUTH_PW']")}; 257 } 342 public static function getMethod() : String { 343 if(untyped __php__("isset($_SERVER['REQUEST_METHOD'])")) 344 return untyped __php__("$_SERVER['REQUEST_METHOD']");Messo.class.php http://antilophpe.googlecode.com/svn/ | PHP | 375 lines
1<?php 2/** 2/** 3 * File Messo.class.php 4 * 6 * type Messo and at the end of the file, 7 * a way to test the class (simply passing sending test = 1 8 * via GET or POST ).template_util.py git://pkgs.fedoraproject.org/python-kid | Python | 282 lines
8__copyright__ = "Copyright 2004-2005, Ryan Tomayko" 9__license__ = "MIT <http://www.opensource.org/licenses/mit-license.php>" 10 19 START_NS, COMMENT, PI, DOCTYPE, XML_DECL, to_unicode 20from kid.element import Element, SubElement, Comment, ProcessingInstruction 21 22__all__ = ['XML', 'document', 'ElementStream', 23 'Element', 'SubElement', 'Comment', 'ProcessingInstruction', 24 'START', 'END', 'TEXT', 'START_NS', 'COMMENT', 'PI', 49def get_base_class(thing, from_file=None, arg=None): 50 """Get template base class for thing, raising an exception on error.""" 51 if thing is None: 52 return kid.BaseTemplate 53 if isinstance(thing, TypeType): 54 return thingbeamer_display.class.php http://lansuite.googlecode.com/svn/trunk/ | PHP | 210 lines
19 '<p />' ); 20 $dsp->AddSingleRow('<br />' . t('Das Modul arbeitet derzeit nur mit dem Template /\'/simple/\'/ und /\'/beamer/\'/ zusammen. Für eine schnelle Lösung erstelle einen zusätzlichen Account der das Beamer-Template verwendet. Damit hast du die besten Ergebnisse im Fullscreen Mode. <p/>Damit es mit jedem anderen Template funktioniert, musst du in deinem Template im Bereich der Meta-Angaben folgende Codezeilen hinzufügen:<p/> if( $_GET[/\'/sitereload/\'/] ) { echo ... (Restlichen Anweisungsblock bitte as der Design-index.php entnehmen.) } ') ); 21 $dsp->AddSingleRow("<br />"); 30 $dsp->AddSingleRow( $func->AllowHTML($beamermodul->getCurrentContent( $beamerid )) ); 31 $dsp->AddSingleRow( HTML_NEWLINE.""); 32 $dsp->AddContent(); 63 $dsp->NewContent( t('Auflistung der Inhalte') ); 64 $dsp->AddSingleRow("<br/><div align=\"middle\">". $dsp->FetchCssButton( t('Inhalte hinzufügen') ,'index.php?mod=beamer&action=newcontent','Ein neues Inhaltselement hinzufügen.'."</div>")); 65 85 "Das Beamermodul zeigt immer den ältesten Eintrag von \"Zuletzt angezeigt\". Durch Klick auf das Icon <img src=\"design/images/icon_reset_timestamp.png\" alt=\"Set2First\" border=\"0\"> setzt man den Zeitstempel, wann das Element zuletzt angezeigt wurde, auf Null.</div>"); 86 $dsp->AddSingleRow("<br/><div align=\"middle\">". $dsp->FetchCssButton( t('Inhalte hinzufügen') ,'index.php?mod=beamer&action=newcontent','Ein neues Inhaltselement hinzufügen.'."</div>")); 87 $dsp->AddContent(); 100 $dsp->AddDoubleRow('Seiteninterval in Sekunden: ',$cfg['beamer_duration_default'] ); 101 if ( $a1 > 0 ) { $btn1 = $dsp->FetchSpanButton(t('Beamerfenster starten'), "index.php?mod=beamer&action=viewcontent&beamerid=1&design=beamer&sitereload=".$cfg['beamer_duration_default'].'" target="_blank'); } 102 if ( $a2 > 0 ) { $btn2 = $dsp->FetchSpanButton(t('Beamerfenster starten'), "index.php?mod=beamer&action=viewcontent&beamerid=2&design=beamer&sitereload=".$cfg['beamer_duration_default'].'" target="_blank'); }ad_region.cpp git://github.com/scummvm/scummvm.git | C++ | 415 lines
24 * This file is based on WME Lite. 25 * http://dead-code.org/redir.php?target=wmelite 26 * Copyright (c) 2011 Jan Nedoma 82 if (DID_FAIL(ret = loadBuffer(buffer, true))) { 83 _gameRef->LOG(0, "Error parsing REGION file '%s'", filename); 84 }LoginController.php http://sharebooks.googlecode.com/svn/trunk/ | PHP | 412 lines
1<?php 2 2 3// Business class to include 4CommentList.php https://bitbucket.org/thomas1151/mats.git | PHP | 308 lines
1<?php namespace ProcessWire; 2 84 if(empty($options['dateFormat'])) { 85 $this->options['dateFormat'] = $this->_('%b %e, %Y %l:%M %p'); // Date format in either PHP strftime() or PHP date() format // Example 1 (strftime): %b %e, %Y %l:%M %p = Feb 27, 2012 1:21 PM. Example 2 (date): m/d/y g:ia = 02/27/12 1:21pm. 86 } 150 * It may be used for production, but only if it meets your needs already. Typically you'll want to render the comments 151 * using your own code in your templates. 152 * 292 293 require_once(dirname(__FILE__) . '/CommentNotifications.php'); 294 $no = $this->wire(new CommentNotifications($this->page, $this->field));buttons_fullwidth.php https://bitbucket.org/SanchitSahu03/hyslifecare.git | PHP | 368 lines
1<?php 2/** 83 __('Set Manually', 'avia_framework' ) =>'manually', 84 __('Single Entry', 'avia_framework' ) =>'single', 85 __('Taxonomy Overview Page', 'avia_framework' )=>'taxonomy', 265 * @param array $atts array of attributes 266 * @param string $content text within enclosing form of shortcode element 267 * @param string $shortcodename the shortcode found, when == callback name 344 345 //we dont need a closing structure if the element is the first one or if a previous fullwidth element was displayed before 346 if($meta['index'] == 0) $params['close'] = false;DBCategoryItem.cs https://hg.codeplex.com/mojoportal | C# | 271 lines
5// The use and distribution terms for this software are covered by the 6// Common Public License 1.0 (http://opensource.org/licenses/cpl.php) 7// which can be found in the file CPL.TXT at the root of this distribution. 7// which can be found in the file CPL.TXT at the root of this distribution. 8// By using this software in any fashion, you are agreeing to be bound by 9// the terms of this license. 12 13using System; 14using System.Text; 14using System.Text; 15using System.Data; 16using System.Data.Common; 16using System.Data.Common; 17using System.Configuration; 18using System.Globalization;BaseTest.php git://github.com/maintainable/framework.git | PHP | 325 lines
1<?php 2/** 6 * @copyright (c) 2007-2009 Maintainable Software, LLC 7 * @license http://opensource.org/licenses/bsd-license.php BSD 8 */ 14if (!defined('MAD_ROOT')) { 15 require_once dirname(dirname(dirname(dirname(dirname(__FILE__))))).'/config/environment.php'; 16} 25 * @copyright (c) 2007-2009 Maintainable Software, LLC 26 * @license http://opensource.org/licenses/bsd-license.php BSD 27 */ 48 49 public function testGetSerializableAttributeNamesExceptSingle() 50 { 74 75 public function testGetSerializableAttributeNamesOnlySingle() 76 {Subnetworks.php https://bitbucket.org/mtrico08/wedding.git | PHP | 276 lines
1<?php 2/* 42 * field you are filtering by (string, number, boolean). For string fields, the 43 * literal value is interpreted as a regular expression using RE2 syntax. The 44 * literal value must match the entire field. 66 * You can also sort results in descending order based on the creation timestamp 67 * using orderBy="creationTimestamp desc". This sorts results based on the 68 * creationTimestamp field in reverse chronological order (newest result first). 158 /** 159 * Creates a subnetwork in the specified project using the data included in the 160 * request. (subnetworks.insert) 203 * field you are filtering by (string, number, boolean). For string fields, the 204 * literal value is interpreted as a regular expression using RE2 syntax. The 205 * literal value must match the entire field. 227 * You can also sort results in descending order based on the creation timestamp 228 * using orderBy="creationTimestamp desc". This sorts results based on the 229 * creationTimestamp field in reverse chronological order (newest result first).user.php git://pkgs.fedoraproject.org/virtuoso-opensource | PHP | 387 lines
1<?php 2# 22?> 23<?php 24 31// 32// Note #2: If you are using HTTP-based authentication, then you still 33// need these functions and you will still need to add users toparser.dropdown.php https://bitbucket.org/hatim_alam/sugar-8.git | PHP | 343 lines
14 15require_once 'modules/Administration/Common.php'; 16 43 $list_value = str_replace('"":""', '"__empty__":""', $params['list_value']); 44 //Bug 21362 ENT_QUOTES- convert single quotes to escaped single quotes. 45 $temp = $json->decode(html_entity_decode(rawurldecode($list_value), ENT_QUOTES)); 47 // dropdown is received as an array of (name,value) pairs - now extract to name=>value format preserving order 48 // we rely here on PHP to preserve the order of the received name=>value pairs - associative arrays in PHP are ordered 49 if (is_array($temp)) { 155 if (SugarAutoLoader::ensureDir($dirName)) { 156 $fileName = "$dirName/$lang.sugar_$dropdownName.php"; 157 176 } 177 SugarAutoLoader::requireWithCustom('ModuleInstall/ModuleInstaller.php'); 178 $moduleInstallerClass = SugarAutoLoader::customClass('ModuleInstaller');messages.php git://github.com/ushahidi/Ushahidi_Web.git | PHP | 407 lines
1<?php defined('SYSPATH') or die('No direct script access.'); 2/** 4 * 5 * PHP version 5 6 * LICENSE: This source file is subject to LGPL license 251 /** 252 * Send A New Message Using Default SMS Provider 253 */dataform.php http://rapyd-framework.googlecode.com/svn/trunk/ | PHP | 476 lines
1<?php 2 128 * set css style 129 * @todo search online for a better way to work with html/css for example using a dom-api like phpquery 130 * @param string $style 212 * 213 * @todo replace/rename it using ->callback() or something similar 214 * @param type $action 450 /** 451 * internal, used to join in a single string all error messages 452 *select.php git://github.com/fuel/core.git | PHP | 524 lines
1<?php 2/** 2/** 3 * Fuel is a fast, lightweight, community driven PHP 5.4+ framework. 4 * 10 * @copyright 2008 - 2009 Kohana Team 11 * @link https://fuelphp.com 12 */ 75 /** 76 * Enables or disables selecting only unique columns using "SELECT DISTINCT" 77 * 105 /** 106 * Choose the columns to select from, using an array. 107 * 212 /** 213 * Adds a closing bracket for the last created JOIN statement. 214 *UserServiceTests.php https://github.com/openmetaversefoundation/simiangrid.git | PHP | 434 lines
1<?php 2/** Simian grid services 3 * 4 * PHP version 5 5 * 22 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 23 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 24 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 24 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 25 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 26 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 34 */ 35 require_once('../lib/Class.UUID.php'); 36 require_once('../lib/Class.User.php'); 36 require_once('../lib/Class.User.php'); 37 require_once('../lib/Class.Scene.php'); 38 require_once('../lib/Class.Presence.php');Language.php git://github.com/thorsten/phpMyFAQ.git | PHP | 377 lines
1<?php 2/** 4 * 5 * PHP Version 5.3 6 * 10 * 11 * @category phpMyFAQ 12 * @package Language 12 * @package Language 13 * @author Thorsten Rinne <thorsten@phpmyfaq.de> 14 * @author Matteo scaramuccia <matteo@phpmyfaq.de> 15 * @author Aurimas Fieras <aurimas@gmail.com> 16 * @copyright 2009-2012 phpMyFAQ Team 17 * @license http://www.mozilla.org/MPL/2.0/ Mozilla Public License Version 2.0 17 * @license http://www.mozilla.org/MPL/2.0/ Mozilla Public License Version 2.0 18 * @link http://www.phpmyfaq.de 19 * @since 2009-05-14DBSystemLog.cs https://hg01.codeplex.com/mojoportal | C# | 394 lines
5// The use and distribution terms for this software are covered by the 6// Common Public License 1.0 (http://opensource.org/licenses/cpl.php) 7// which can be found in the file CPL.TXT at the root of this distribution. 7// which can be found in the file CPL.TXT at the root of this distribution. 8// By using this software in any fashion, you are agreeing to be bound by 9// the terms of this license. 12 13using System; 14using System.Data; 14using System.Data; 15using System.Data.SqlServerCe; 16using System.Globalization; 16using System.Globalization; 17using System.Text; 18class.FlxMapPlugin.php https://gitlab.com/lobsterhands/OctaveHigherEast.git | PHP | 490 lines
1<?php 2/** 10 /** 11 * static method for getting the instance of this singleton object 12 * 35 // kick off the admin handling 36 require FLXMAP_PLUGIN_ROOT . 'class.FlxMapAdmin.php'; 37 new FlxMapAdmin($this); 258 if (isset($attrs['directions']) && self::isNo($attrs['directions'])) { 259 $script .= " f.markerDirectionsInfo = false;\n"; 260 }Common.php https://bitbucket.org/chamilo/chamilo-dev/ | PHP | 519 lines
12 * the PHP License and are unable to obtain it through the web, please 13 * send a note to license@php.net so we can mail you a copy immediately. 14 * 18 * @copyright 2001-2009 The PHP Group 19 * @license http://www.php.net/license/3_01.txt PHP License 3.01 20 * @version CVS: $Id: Common.php 137 2009-11-09 13:24:37Z vanpouckesven $ 67 * @var string 68 * @since 1.5 69 * @access private 100 * 101 * @since 1.7 102 * @access private 113 * 114 * @since 1.7 115 * @access privatereaddib.c https://ironhells.svn.sourceforge.net/svnroot/ironhells | C | 366 lines
88 /* 89 * since biClrUsed field was filled during the loading of the DIB, 90 * we know it contains the number of colors in the color table. 134 * 135 * Returns TRUE on success (phPal and phBitmap are filled with appropriate 136 * handles. Caller is responsible for freeing objects) and FALSE on failure 141 HANDLE hDIB, 142 HPALETTE * phPal, 143 HBITMAP * phBitmap) 172 *phBitmap = hBitmap; 173 *phPal = hPalette; 174 result = TRUE;date-format-tofte.js https://bitbucket.org/pypy/lang-js/ | JavaScript | 300 lines
9 // formatDate : 10 // a PHP date like function, for formatting date strings 11 // See: http://www.php.net/date 55 // Swatch internet time. code simply grabbed from ppk, 56 // since I was feeling lazy: 57 // http://www.xs4all.nl/~ppk/js/beat.html 177 // thanks to Matt Bannon for some much needed code-fixes here! 178 var daysinmonths = [null,31,28,31,30,31,30,31,31,30,31,30,31]; 179 if (L()==1 && n()==2) return 29; // leap day 179 if (L()==1 && n()==2) return 29; // leap day 180 return daysinmonths[n()]; 181 } 182 function U() { 183 // Seconds since the Unix Epoch (January 1 1970 00:00:00 GMT) 184 return Math.round(self.getTime()/1000);KurogoSite.php git://github.com/modolabs/Kurogo-Mobile-Web.git | PHP | 319 lines
1<?php 2 7 * file located at the root directory of this distribution. If the LICENSE file 8 * is missing, please contact sales@modolabs.com. 9 *LocalServer.php git://github.com/Codeception/Codeception.git | PHP | 296 lines
1<?php 2namespace Codeception\Coverage\Subscriber; 14/** 15 * When collecting code coverage data from local server HTTP requests are sent to c3.php file. 16 * Coverage Collection is started by sending cookies/headers. 75 CodeCoverage Error. 76 Check the file "c3.php" is included in your application. 77 We tried to access "/c3/report/clear" but this URI was not accessible. 130 /** 131 * Allows Translating Remote Paths To Local (IE: When Using Docker) 132 *01-Basic-Menus.md git://github.com/KnpLabs/KnpMenu.git | Markdown | 320 lines
20 21```php 22<?php 63as shown in the source html. This is to allow for easier debugging and can 64be turned off by passing the `true` as the second argument to the renderer. 65 65 66```php 67<?php 74 75You can also compress (or not compress) on a menu-by-menu basis by using the 76`compressed` option: 77 78```php 79<?phpusers.php git://github.com/q2a/question2answer.git | PHP | 417 lines
1<?php 2/* 5 6 Description: Database-level access to user management tables (if not using single sign-on) 7 18 19 More about this license: http://www.question2answer.org/license.php 20*/ 52{ 53 require_once QA_INCLUDE_DIR . 'util/string.php'; 54 89 // All the queries below should be superfluous due to foreign key constraints, but just in case the user switched to MyISAM. 90 // Note also that private messages to/from that user are kept since we don't have all the keys we need to delete efficiently. 91 206 207 require_once QA_INCLUDE_DIR . 'util/string.php'; 208SiteNavigationMenuServiceSoap.java git://github.com/liferay/liferay-portal.git | Java | 397 lines
41 * <p> 42 * The benefits of using the SOAP utility is that it is cross platform 43 * compatible. SOAP allows different languages like Java, .NET, C++, PHP, andImage.php http://hppg.googlecode.com/svn/trunk/ | PHP | 362 lines
1<?php 2/** 6 */ 7require_once 'modules/lhcaptcha/pear/Text/CAPTCHA.php'; 8require_once 'modules/lhcaptcha/pear/Image/Text.php'; 15 * 16 * @license PHP License, version 3.0 17 * @author Christian Wenz <wenz@php.net> 294 } else { 295 $this->_error = PEAR::raiseError('Error creating CAPTCHA image (font missing?!)'); 296 return $this->_error; 321 } else { 322 $this->_error = PEAR::raiseError('Error creating CAPTCHA image (font missing?!)'); 323 return $this->_error; 348 } else { 349 $this->_error = PEAR::raiseError('Error creating CAPTCHA image (font missing?!)'); 350 return $this->_error;