100+ results results for 'php constant' (3765 ms)
41 */ 42package org.netbeans.modules.php.project.connections.sync.diff; 43 57import javax.swing.JPanel; 58import javax.swing.SwingConstants; 59import javax.swing.SwingUtilities; 61import org.netbeans.api.diff.StreamSource; 62import org.netbeans.modules.php.api.util.StringUtils; 63import org.netbeans.modules.php.project.connections.RemoteClient; 63import org.netbeans.modules.php.project.connections.RemoteClient; 64import org.netbeans.modules.php.project.connections.RemoteException; 65import org.netbeans.modules.php.project.connections.TmpLocalFile; 65import org.netbeans.modules.php.project.connections.TmpLocalFile; 66import org.netbeans.modules.php.project.connections.sync.SyncItem; 67import org.netbeans.modules.php.project.connections.transfer.TransferFile;Batch.php https://gitlab.com/virtualrealms/d7civicrm | PHP | 514 lines
1<?php 2 318 ], 319 'pseudoconstant' => [ 320 'optionGroupName' => 'batch_status', 336 ], 337 'pseudoconstant' => [ 338 'optionGroupName' => 'batch_type', 354 ], 355 'pseudoconstant' => [ 356 'optionGroupName' => 'batch_mode', 404 ], 405 'pseudoconstant' => [ 406 'optionGroupName' => 'payment_instrument',bp-loader.php https://bitbucket.org/codemen_iftekhar/codemen.git | PHP | 487 lines
1<?php 2/** 223 * 224 * @uses BuddyPress::constants() Setup legacy constants 225 * @uses BuddyPress::setup_globals() Setup globals needed 229 public function __construct() { 230 $this->constants(); 231 $this->setup_globals(); 236 /** 237 * Legacy BuddyPress constants 238 * 249 */ 250 private function constants() { 251 415 require( $this->plugin_dir . 'bp-core/bp-core-actions.php' ); 416 require( $this->plugin_dir . 'bp-core/bp-core-caps.php' ); 417 require( $this->plugin_dir . 'bp-core/bp-core-cache.php' );ContributionPage.php https://github.com/szantog/panparks.git | PHP | 354 lines
1<?php 2 37require_once 'CRM/Core/Form.php'; 38require_once 'CRM/Core/PseudoConstant.php'; 39require_once 'CRM/Contribute/PseudoConstant.php'; 115 // set up tabs 116 require_once 'CRM/Contribute/Form/ContributionPage/TabHeader.php'; 117 CRM_Contribute_Form_ContributionPage_TabHeader::build( $this ); 224 //set defaults for pledgeBlock values. 225 require_once 'CRM/Pledge/BAO/PledgeBlock.php'; 226 $pledgeBlockParams = array( 'entity_id' => $this->_id, 237 } 238 require_once 'CRM/Core/BAO/CustomOption.php'; 239 if ( CRM_Utils_Array::value( 'pledge_frequency_unit', $pledgeBlockDefaults ) ) { 245 // fix the display of the monetary value, CRM-4038 246 require_once 'CRM/Utils/Money.php'; 247 if (isset($defaults['goal_amount'])) {Command.php https://github.com/l3l0/BehatExamples.git | PHP | 512 lines
1<?php 2 238 * @param string $shortcut The shortcut (can be null) 239 * @param integer $mode The option mode: One of the InputOption::VALUE_* constants 240 * @param string $description A description text 378 $name, 379 $_SERVER['PHP_SELF'].' '.$name 380 );ImageMagick.php https://gitlab.com/AlexandrSy/magento.xxx | PHP | 480 lines
1<?php 2/** 33 /** 34 * Set/get background color. Check Imagick::COLOR_* constants 35 * 237 * @throws \Exception 238 * @SuppressWarnings(PHPMD.CyclomaticComplexity) 239 * @SuppressWarnings(PHPMD.NPathComplexity) 332 if (!class_exists('\Imagick', false)) { 333 throw new \Exception("Required PHP extension 'Imagick' was not loaded."); 334 }Mime.php https://gitlab.com/staging06/myproject | PHP | 500 lines
1<?php 2 11 12require_once dirname(__FILE__) . "/../ClassLoader.php"; 13Swift_ClassLoader::load("Swift_File"); 25 /** 26 * Constant for plain-text emails 27 */ 29 /** 30 * Constant for HTML emails 31 */ 33 /** 34 * Constant for miscellaneous mime type 35 */ 37 /** 38 * Constant for MIME sections which must appear in the multipart/alternative section. 39 */Tab.php https://github.com/ksecor/civicrm.git | PHP | 344 lines
1<?php 2 35 36require_once 'CRM/Contact/Page/View.php'; 37 94 { 95 require_once 'CRM/Contribute/BAO/Contribution.php'; 96 230 // check if we can process credit card contribs 231 $processors = CRM_Core_PseudoConstant::paymentProcessor( false, false, 232 "billing_mode IN ( 1, 3 )" );Value.php https://github.com/hukumonline/zfurl.git | PHP | 401 lines
1<?php 2/** 19 * @license http://framework.zend.com/license/new-bsd New BSD License 20 * @version $Id: Value.php 12721 2008-11-20 18:21:58Z matthew $ 21 */ 24/** Zend_XmlRpc_Value_Exception */ 25require_once 'Zend/XmlRpc/Value/Exception.php'; 26 27/** Zend_XmlRpc_Value_Scalar */ 28require_once 'Zend/XmlRpc/Value/Scalar.php'; 29 30/** Zend_XmlRpc_Value_Base64 */ 31require_once 'Zend/XmlRpc/Value/Base64.php'; 32 33/** Zend_XmlRpc_Value_Boolean */ 34require_once 'Zend/XmlRpc/Value/Boolean.php'; 35Tokens.php https://gitlab.com/yousafsyed/easternglamor | PHP | 869 lines
1<?php 2/** 4 * 5 * PHP Version 5 6 * 39 * @copyright 2008-2015 Manuel Pichler. All rights reserved. 40 * @license http://www.opensource.org/licenses/bsd-license.php BSD License 41 */ 45/** 46 * This interface holds the different tokenizer, builder and parser constants. 47 * 48 * @copyright 2008-2015 Manuel Pichler. All rights reserved. 49 * @license http://www.opensource.org/licenses/bsd-license.php BSD License 50 */ 288 /** 289 * Marks a constant string like 'foo' or "foo". 290 */Value.php https://github.com/jakedorst/ch3-dev-preview.git | PHP | 401 lines
1<?php 2/** 19 * @license http://framework.zend.com/license/new-bsd New BSD License 20 * @version $Id: Value.php 12720 2008-11-20 18:20:20Z matthew $ 21 */ 24/** Zend_XmlRpc_Value_Exception */ 25require_once 'Zend/XmlRpc/Value/Exception.php'; 26 27/** Zend_XmlRpc_Value_Scalar */ 28require_once 'Zend/XmlRpc/Value/Scalar.php'; 29 30/** Zend_XmlRpc_Value_Base64 */ 31require_once 'Zend/XmlRpc/Value/Base64.php'; 32 33/** Zend_XmlRpc_Value_Boolean */ 34require_once 'Zend/XmlRpc/Value/Boolean.php'; 35Data.php https://bitbucket.org/acidel/buykoala.git | PHP | 467 lines
1<?php 2/** 9 * It is also available through the world-wide-web at this URL: 10 * http://opensource.org/licenses/osl-3.0.php 11 * If you did not receive a copy of the license and are unable to 23 * @copyright Copyright (c) 2011 Magento Inc. (http://www.magentocommerce.com) 24 * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) 25 */ 45 /** 46 * Minimum advertise price constants 47 */display-debug.page.php https://github.com/evadne/wp-e-commerce.git | PHP | 365 lines
1<?php 2/** 13 global $wpdb; 14 $fixpage = get_option('siteurl').'/wp-admin/admin.php?page=wpsc-sales-logs&subpage=upgrade-purchase-logs'; 15 ?> 49 <li> 50 <a href='?page=wpsc-debug&wpsc_debug_action=phpinfo'>Display phpinfo</a> 51 </li> 52 <li> 53 <a href='<?php echo $fixpage; ?>'>Fix Purchaselogs</a> 54 </li> 55 </ul> 56 <?php 57 if (defined('WPSC_ADD_DEBUG_PAGE') && (constant('WPSC_ADD_DEBUG_PAGE') == true)) { 79 </ul> 80 <?php 81 }language.oop5.interfaces.html https://bitbucket.org/stillzhl/manuals.git | HTML | 100 lines
11 <div class="up"><a href="language.oop5.html">类与对象</a></div> 12 <div class="home"><a href="index.html">PHP Manual</a></div> 13</div><hr /><div id="language.oop5.interfaces" class="sect1"> 40 </div> 41 <div class="sect2" id="language.oop5.interfaces.constants"> 42 <h3 class="title"><em>常量</em></h3> 43 <p class="para"> 44 接口中也可以定义常量。接口常量和<a href="language.oop5.constants.html" class="link">类常量</a>的使用完全相同。 45 它们都是定值,不能被子类或子接口修改。 52 <div class="example-contents"> 53<div class="phpcode"><code><span style="color: #000000"> 54<span style="color: #0000BB"><?php<br /><br /></span><span style="color: #FF8000">// 声明一个'iTemplate'接口<br /></span><span style="color: #007700">interface </span><span style="color: #0000BB">iTemplate<br /></span><span style="color: #007700">{<br /> public function </span><span style="color: #0000BB">setVariable</span><span style="color: #007700">(</span><span style="color: #0000BB">$name</span><span style="color: #007700">, </span><span style="color: #0000BB">$var</span><span style="color: #007700">);<br /> public function </span><span style="color: #0000BB">getHtml</span><span style="color: #007700">(</span><span style="color: #0000BB">$template</span><span style="color: #007700">);<br />}<br /><br /><br /></span><span style="color: #FF8000">// 实现接口<br />// 下面的写法是正确的<br /></span><span style="color: #007700">class </span><span style="color: #0000BB">Template </span><span style="color: #007700">implements </span><span style="color: #0000BB">iTemplate<br /></span><span style="color: #007700">{<br /> private </span><span style="color: #0000BB">$vars </span><span style="color: #007700">= array();<br /> <br /> public function </span><span style="color: #0000BB">setVariable</span><span style="color: #007700">(</span><span style="color: #0000BB">$name</span><span style="color: #007700">, </span><span style="color: #0000BB">$var</span><span style="color: #007700">)<br /> {<br /> </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">vars</span><span style="color: #007700">[</span><span style="color: #0000BB">$name</span><span style="color: #007700">] = </span><span style="color: #0000BB">$var</span><span style="color: #007700">;<br /> }<br /> <br /> public function </span><span style="color: #0000BB">getHtml</span><span style="color: #007700">(</span><span style="color: #0000BB">$template</span><span style="color: #007700">)<br /> {<br /> foreach(</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">vars </span><span style="color: #007700">as </span><span style="color: #0000BB">$name </span><span style="color: #007700">=> </span><span style="color: #0000BB">$value</span><span style="color: #007700">) {<br /> </span><span style="color: #0000BB">$template </span><span style="color: #007700">= </span><span style="color: #0000BB">str_replace</span><span style="color: #007700">(</span><span style="color: #DD0000">'{' </span><span style="color: #007700">. </span><span style="color: #0000BB">$name </span><span style="color: #007700">. </span><span style="color: #DD0000">'}'</span><span style="color: #007700">, </span><span style="color: #0000BB">$value</span><span style="color: #007700">, </span><span style="color: #0000BB">$template</span><span style="color: #007700">);<br /> }<br /> <br /> return </span><span style="color: #0000BB">$template</span><span style="color: #007700">;<br /> }<br />}<br /><br /></span><span style="color: #FF8000">// 下面的写法是错误的,会报错:<br />// Fatal error: Class BadTemplate contains 1 abstract methods<br />// and must therefore be declared abstract (iTemplate::getHtml)<br /></span><span style="color: #007700">class </span><span style="color: #0000BB">BadTemplate </span><span style="color: #007700">implements </span><span style="color: #0000BB">iTemplate<br /></span><span style="color: #007700">{<br /> private </span><span style="color: #0000BB">$vars </span><span style="color: #007700">= array();<br /> <br /> public function </span><span style="color: #0000BB">setVariable</span><span style="color: #007700">(</span><span style="color: #0000BB">$name</span><span style="color: #007700">, </span><span style="color: #0000BB">$var</span><span style="color: #007700">)<br /> {<br /> </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">vars</span><span style="color: #007700">[</span><span style="color: #0000BB">$name</span><span style="color: #007700">] = </span><span style="color: #0000BB">$var</span><span style="color: #007700">;<br /> }<br />}<br /></span><span style="color: #0000BB">?></span> 83<div class="phpcode"><code><span style="color: #000000"> 84<span style="color: #0000BB"><?php<br /></span><span style="color: #007700">interface </span><span style="color: #0000BB">a<br /></span><span style="color: #007700">{<br /> const </span><span style="color: #0000BB">b </span><span style="color: #007700">= </span><span style="color: #DD0000">'Interface constant'</span><span style="color: #007700">;<br />}<br /><br /></span><span style="color: #FF8000">// 输出接口常量<br /></span><span style="color: #007700">echo </span><span style="color: #0000BB">a</span><span style="color: #007700">::</span><span style="color: #0000BB">b</span><span style="color: #007700">;<br /><br /></span><span style="color: #FF8000">// 错误写法,因为常量的值不能被修改。接口常量的概念和类常量是一样的。<br /></span><span style="color: #007700">class </span><span style="color: #0000BB">b </span><span style="color: #007700">implements </span><span style="color: #0000BB">a<br /></span><span style="color: #007700">{<br /> const </span><span style="color: #0000BB">b </span><span style="color: #007700">= </span><span style="color: #DD0000">'Class constant'</span><span style="color: #007700">;<br />}<br /></span><span style="color: #0000BB">?></span> 85</span>PropertyPathTest.php https://bitbucket.org/hill2steve/mobileroom.git | PHP | 557 lines
1<?php 2 17 18class PropertyPathTest extends \PHPUnit_Framework_TestCase 19{ 200 */ 201 public function testGetValueReadsMagicGetThatReturnsConstant() 202 {CopyRenameTest.php https://bitbucket.org/saifshuvo/zf2.git | PHP | 364 lines
1<?php 2/** 94 { 95 if (!constant('TESTS_ZEND_LDAP_ONLINE_ENABLED')) { 96 return;ListCommand.php https://gitlab.com/ealexis.t/trends | PHP | 278 lines
13 14use Psy\Command\ListCommand\ClassConstantEnumerator; 15use Psy\Command\ListCommand\ClassEnumerator; 63 new InputOption('vars', '', InputOption::VALUE_NONE, 'Display variables.'), 64 new InputOption('constants', 'c', InputOption::VALUE_NONE, 'Display defined constants.'), 65 new InputOption('functions', 'f', InputOption::VALUE_NONE, 'Display defined functions.'), 78 new InputOption('internal', 'n', InputOption::VALUE_NONE, 'Limit to internal functions and classes.'), 79 new InputOption('user', 'u', InputOption::VALUE_NONE, 'Limit to user-defined constants, functions and classes.'), 80 new InputOption('category', 'C', InputOption::VALUE_REQUIRED, 'Limit to constants in a specific category (e.g. "date").'), 87 <<<'HELP' 88List variables, constants, classes, interfaces, traits, functions, methods, 89and properties. 92 93If a target object is provided, list properties, constants and methods of that 94target. If a class, interface or trait name is passed instead, list constantsSave.php https://gitlab.com/yousafsyed/easternglamor | PHP | 298 lines
1<?php 2/** 8use Magento\Customer\Api\Data\CustomerInterface; 9use Magento\Customer\Controller\RegistryConstants; 10use Magento\Framework\Exception\LocalizedException; 12/** 13 * @SuppressWarnings(PHPMD.CouplingBetweenObjects) 14 */ 174 * @return \Magento\Backend\Model\View\Result\Redirect 175 * @SuppressWarnings(PHPMD.CyclomaticComplexity) 176 * @SuppressWarnings(PHPMD.ExcessiveMethodLength) 176 * @SuppressWarnings(PHPMD.ExcessiveMethodLength) 177 * @SuppressWarnings(PHPMD.NPathComplexity) 178 */ 258 // Done Saving customer, finish save action 259 $this->_coreRegistry->register(RegistryConstants::CURRENT_CUSTOMER_ID, $customerId); 260 $this->messageManager->addSuccess(__('You saved the customer.'));sysvmsg.c https://gitlab.com/envieidoc/tomato | C | 477 lines
2 +----------------------------------------------------------------------+ 3 | PHP Version 5 | 4 +----------------------------------------------------------------------+ 4 +----------------------------------------------------------------------+ 5 | Copyright (c) 1997-2014 The PHP Group | 6 +----------------------------------------------------------------------+ 132 le_sysvmsg = zend_register_list_destructors_ex(sysvmsg_release, NULL, "sysvmsg queue", module_number); 133 REGISTER_LONG_CONSTANT("MSG_IPC_NOWAIT", PHP_MSG_IPC_NOWAIT, CONST_PERSISTENT|CONST_CS); 134 REGISTER_LONG_CONSTANT("MSG_EAGAIN", EAGAIN, CONST_PERSISTENT|CONST_CS); 135 REGISTER_LONG_CONSTANT("MSG_ENOMSG", ENOMSG, CONST_PERSISTENT|CONST_CS); 136 REGISTER_LONG_CONSTANT("MSG_NOERROR", PHP_MSG_NOERROR, CONST_PERSISTENT|CONST_CS); 137 REGISTER_LONG_CONSTANT("MSG_EXCEPT", PHP_MSG_EXCEPT, CONST_PERSISTENT|CONST_CS); 342 343 messagebuffer = (struct php_msgbuf *) safe_emalloc(maxsize, 1, sizeof(struct php_msgbuf)); 344parameter_expression.cpp https://github.com/kevlund/hiphop-php.git | C++ | 309 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 +----------------------------------------------------------------------+ 24#include <compiler/option.h> 25#include <compiler/expression/constant_expression.h> 26CurrentEmployer.php https://gitlab.com/virtualrealms/d7civicrm | PHP | 394 lines
1<?php 2/* 181 'operatorType' => CRM_Report_Form::OP_MULTISELECT, 182 'options' => CRM_Core_PseudoConstant::country(NULL, FALSE), 183 ], 187 'operatorType' => CRM_Report_Form::OP_MULTISELECT, 188 'options' => CRM_Core_PseudoConstant::stateProvince(), 189 ],ms-default-filters.php https://gitlab.com/VTTE/sitios-vtte | PHP | 128 lines
1<?php 2/** 7 * 8 * Not all of the Multisite default hooks are found in ms-default-filters.php 9 * 11 * @subpackage Multisite 12 * @see default-filters.php 13 * @since 3.0.0 15 16add_action( 'init', 'ms_subdomain_constants' ); 17 101// Mail. 102add_action( 'phpmailer_init', 'fix_phpmailer_messageid' ); 103 105add_filter( 'enable_update_services_configuration', '__return_false' ); 106if ( ! defined( 'POST_BY_EMAIL' ) || ! POST_BY_EMAIL ) { // Back compat constant. 107 add_filter( 'enable_post_by_email_configuration', '__return_false' );wrapper.php https://gitlab.com/webkod3r/tripolis | PHP | 213 lines
1<?php 2 4 5$wpcom_api_key = defined( 'WPCOM_API_KEY' ) ? constant( 'WPCOM_API_KEY' ) : ''; 6$akismet_api_host = Akismet::get_api_key() . '.rest.akismet.com';otb.c https://bitbucket.org/ardalanaz/dava.framework.git | C | 387 lines
25% % 26% http://www.imagemagick.org/script/license.php % 27% % 243 entry->adjoin=MagickFalse; 244 entry->description=ConstantString("On-the-air bitmap"); 245 entry->module=ConstantString("OTB");avs.c https://github.com/trevor/ImageMagick.git | C | 408 lines
25% % 26% http://www.imagemagick.org/script/license.php % 27% % 260 entry->encoder=(EncodeImageHandler *) WriteAVSImage; 261 entry->description=ConstantString("AVS X image"); 262 entry->module=ConstantString("AVS");DeletionHandler.java https://github.com/CyanogenMod/android_sdk.git | Java | 267 lines
7 * 8 * http://www.eclipse.org/org/documents/epl-v10.php 9 * 17 18import static com.android.SdkConstants.ANDROID_URI; 19import static com.android.SdkConstants.ATTR_ID; 19import static com.android.SdkConstants.ATTR_ID; 20import static com.android.SdkConstants.ATTR_LAYOUT_MARGIN; 21import static com.android.SdkConstants.ATTR_LAYOUT_RESOURCE_PREFIX; 21import static com.android.SdkConstants.ATTR_LAYOUT_RESOURCE_PREFIX; 22import static com.android.SdkConstants.ID_PREFIX; 23import static com.android.SdkConstants.NEW_ID_PREFIX; 27 28import com.android.SdkConstants; 29import com.android.annotations.NonNull;session.php https://github.com/mathieu/fusionforge.git | PHP | 552 lines
1<?php 2/** 26 27require_once $gfcommon.'include/account.php'; 28require_once $gfcommon.'include/escapingUtils.php'; 32 * 33 * @var constant $G_SESSION 34 */ 214 215 // if allowpending (for verify.php) then allow 216 $userstatus=$usr['status']; 490 491//TODO - this should be generalized and used for pre.php, squal_pre.php, 492//SOAP, forum_gateway.php, tracker_gateway.php, etc to 547// Local Variables: 548// mode: php 549// c-file-style: "bsd"Attributes.php https://bitbucket.org/kdms/sh-magento.git | PHP | 381 lines
1<?php 2/** 38 /** 39 * Value type values constants 40 * 41 */ 42 const VALUE_TYPE_CONSTANT = 'constant'; 43 const VALUE_TYPE_SAME_AS = 'same_as'; 149 array( 150 'value' => self::VALUE_TYPE_CONSTANT, 151 'label' => Mage::helper('enterprise_targetrule')->__('Constant Value') 302 $select->where('category_id IN(?)', $subSelect); 303 } else { //self::VALUE_TYPE_CONSTANT 304 $operator = ($operator == '==') ? '' : 'NOT'; 312 313 if ($valueType == self::VALUE_TYPE_CONSTANT) { 314 $useBind = false;ModuleNode.php https://gitlab.com/dcnf/dcbase.org | PHP | 464 lines
1<?php 2 16use Twig\Node\Expression\AbstractExpression; 17use Twig\Node\Expression\ConstantExpression; 18use Twig\Source; 74 if (!$this->getAttribute('index')) { 75 $compiler->write('<?php'); 76 } 114 115 if ($parent instanceof ConstantExpression) { 116 $compiler->subcompile($parent); 156 $compiler 157 // if the template name contains */, add a blank to avoid a PHP parse error 158 ->write('/* '.str_replace('*/', '* /', $this->getSourceContext()->getName())." */\n") 316 $compiler->addDebugInfo($parent); 317 if ($parent instanceof ConstantExpression) { 318 $compilerTableProcessor.php https://gitlab.com/staging06/myproject | PHP | 356 lines
1<?php 2/** 2/** 3 * TableProcessor.php 4 * 32 33require_once(dirname(__FILE__) . '/AbstractProcessor.php'); 34require_once(dirname(__FILE__) . '/CreateDefinitionProcessor.php'); 34require_once(dirname(__FILE__) . '/CreateDefinitionProcessor.php'); 35require_once(dirname(__FILE__) . '/../utils/ExpressionType.php'); 36 49 50 protected function getConstantType($token) { 51 return array('expr_type' => ExpressionType::CONSTANT, 'base_expr' => $token); 255 # the charset name 256 $expr[] = $this->getConstantType($trim); 257 $result['options'][] = array('expr_type' => ExpressionType::CHARSET,bcm_umi_nand.c https://github.com/wujiangthu/linux.git | C | 579 lines
6* under the terms of the GNU General Public License version 2, available at 7* http://www.broadcom.com/licenses/GPLv2.php (the "GPL"). 8* 50/* ---- Public Variables ------------------------------------------------- */ 51/* ---- Private Constants and Types -------------------------------------- */ 52static const __devinitconst char gBanner[] = KERN_INFO \include_require_php.ml https://github.com/Tener/pfff.git | OCaml | 458 lines
49 (* e.g. require BASEPATH .'/lib/init/ajax.php'; *) 50 | ConcatConstant of Ast_php.name * Common.filename 51 (* e.g. require $_SERVER['PHP_ROOT'].'/lib/init/ajax.php'; *) 143 144 (* ./ffi -dump_php_ml ../tests/require_realpath.php *) 145 | (Binary( 196 197 (* ./ffi -dump_php_ml ../tests/require_realpath3.php *) 198 | (Lv( 224 225 (* ./ffi -dump_php_ml ../tests/require_constant_concat.php *) 226 | (Binary((Sc(C(CName(name))), t_3), 232 233 (* ./ffi -dump_php_ml ../tests/require_classic_bis2.php *) 234 | (Sc(CloneCommand.java https://bitbucket.org/cofarrell/jgit.git | Java | 431 lines
92 93 private String branch = Constants.HEAD; 94 140 if (directory == null) 141 directory = new File(u.getHumanishName(), Constants.DOT_GIT); 142 if (directory.exists() && directory.listFiles().length != 0) 156 157 final String dst = (bare ? Constants.R_HEADS : Constants.R_REMOTES 158 + config.getName() + "/") + "*"; //$NON-NLS-1$//$NON-NLS-2$ 259 private Ref findBranchToCheckout(FetchResult result) { 260 final Ref idHEAD = result.getAdvertisedRef(Constants.HEAD); 261 if (idHEAD == null) 263 264 Ref master = result.getAdvertisedRef(Constants.R_HEADS 265 + Constants.MASTER);simpletest.php https://github.com/orchestra-io/sample-openx.git | PHP | 433 lines
1<?php 2 /** 5 * @subpackage UnitTester 6 * @version $Id: simpletest.php 7321 2007-06-05 09:08:01Z andrew.hill@openads.org $ 7 */ 12 if (version_compare(phpversion(), '5') >= 0) { 13 require_once(dirname(__FILE__) . '/reflection_php5.php'); 14 } else { 14 } else { 15 require_once(dirname(__FILE__) . '/reflection_php4.php'); 16 } 39 * because the class is an abstract case that should 40 * not be run. Once PHP4 is dropped this will disappear 41 * as a public method and "abstract" will rule. 186 /** 187 * Constant default values. 188 * @return hash All registry defaults.OLE.php https://github.com/orchestra-io/sample-openx.git | PHP | 410 lines
1<?php 2/* vim: set expandtab tabstop=4 shiftwidth=4: */ 3// +----------------------------------------------------------------------+ 4// | PHP Version 4 | 5// +----------------------------------------------------------------------+ 5// +----------------------------------------------------------------------+ 6// | Copyright (c) 1997-2002 The PHP Group | 7// +----------------------------------------------------------------------+ 7// +----------------------------------------------------------------------+ 8// | This source file is subject to version 2.02 of the PHP license, | 9// | that is bundled with this package in the file LICENSE, and is | 10// | available at through the world-wide-web at | 11// | http://www.php.net/license/2_02.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// +----------------------------------------------------------------------+FilterTest.php https://gitlab.com/arthur_quiroga/dystawork | PHP | 151 lines
15 { 16 $expr = new Twig_Node_Expression_Constant('foo', 1); 17 $name = new Twig_Node_Expression_Constant('upper', 1); 35 $node = $this->createFilter($expr, 'upper'); 36 $node = $this->createFilter($node, 'number_format', array(new Twig_Node_Expression_Constant(2, 1), new Twig_Node_Expression_Constant('.', 1), new Twig_Node_Expression_Constant(',', 1))); 37 40 // named arguments 41 $date = new Twig_Node_Expression_Constant(0, 1); 42 $node = $this->createFilter($date, 'date', array( 61 $node = $this->createFilter($string, 'reverse', array( 62 'preserveKeys' => new Twig_Node_Expression_Constant(true, 1), 63 )); 66 // filter as an anonymous function 67 $node = $this->createFilter(new Twig_Node_Expression_Constant('foo', 1), 'anonymous'); 68 $tests[] = array($node, 'call_user_func_array($this->env->getFilter(\'anonymous\')->getCallable(), array("foo"))');ApiGenOptionsPanel.java https://gitlab.com/essere.lab.public/qualitas.class-corpus | Java | 336 lines
41 */ 42package org.netbeans.modules.php.apigen.ui.options; 43 60import javax.swing.LayoutStyle.ComponentPlacement; 61import javax.swing.SwingConstants; 62import javax.swing.UIManager; 65import javax.swing.event.DocumentListener; 66import org.netbeans.modules.php.api.util.FileUtils; 67import org.netbeans.modules.php.api.util.UiUtils; 67import org.netbeans.modules.php.api.util.UiUtils; 68import org.netbeans.modules.php.apigen.commands.ApiGenScript; 69import org.netbeans.spi.options.OptionsPanelController; 78@NbBundle.Messages("ApiGenOptionsPanel.keywords.documentation=documentation") 79@OptionsPanelController.Keywords(keywords={"php", "apigen", "phpdoc", "phpdocumentor", "#ApiGenOptionsPanel.keywords.documentation"}, 80 location=UiUtils.OPTIONS_PATH, tabTitle= "#LBL_PHPGenOptionsName")statement_list.cpp https://gitlab.com/Blueprint-Marketing/hhvm | C++ | 436 lines
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 +----------------------------------------------------------------------+ 16 17#include "hphp/compiler/statement/statement_list.h" 18#include "hphp/compiler/analysis/analysis_result.h" 20#include "hphp/compiler/analysis/file_scope.h" 21#include "hphp/compiler/analysis/class_scope.h" 22#include "hphp/compiler/analysis/code_error.h" 28#include "hphp/compiler/statement/block_statement.h" 29#include "hphp/parser/hphp.tab.hpp" 30#include "hphp/compiler/expression/binary_op_expression.h" 32#include "hphp/compiler/expression/simple_variable.h" 33#include "hphp/compiler/expression/constant_expression.h" 34#include "hphp/compiler/expression/unary_op_expression.h"benchmark.rb https://gitlab.com/orvi2014/rcs-db-ext | Ruby | 380 lines
112 # Runs the given +work+ and asserts that the times gathered fit to 113 # match a constant rate (eg, linear slope == 0) within a given 114 # +threshold+. Note: because we're testing for a slope of 0, R^2 118 # 119 # See http://www.graphpad.com/curvefit/goodness_of_fit.htm for 120 # more details. 128 # def bench_algorithm 129 # assert_performance_constant 0.9999 do |n| 130 # @obj.algorithm(n) 133 134 def assert_performance_constant threshold = 0.99, &work 135 validation = proc do |range, times| 351 ## 352 # Create a benchmark that verifies that the performance is constant. 353 #Logger.php https://gitlab.com/nitm/yii2-module | PHP | 395 lines
1<?php 2 13 14 //constant data 15 const LT_FILE = 'file'; 38 parent::init(); 39 $this->currentUser = (\Yii::$app->hasProperty('user') && \Yii::$app->user->getId()) ? \Yii::$app->user->getIdentity() : new \nitm\models\User(['username' => (php_sapi_name() == 'cli' ? 'console' : 'web')]); 40klarnapclass.php https://gitlab.com/phamngsinh/baitaplon_sinhvien | PHP | 546 lines
1<?php 2defined('_JEXEC') or die('Restricted access'); 101 * 102 * @ignore Do not show in PHPDoc. 103 * @var string 109 * 110 * @ignore Do not show in PHPDoc. 111 * @var int 117 * 118 * @ignore Do not show in PHPDoc. 119 * @var float 125 * 126 * @ignore Do not show in PHPDoc. 127 * @var float 133 * 134 * @ignore Do not show in PHPDoc. 135 * @var floatLoader.php https://gitlab.com/buitenzorg812/garapic.cms | PHP | 481 lines
1<?php (defined('BASEPATH')) OR exit('No direct script access allowed'); 2 12 * 13 * Install this file as application/third_party/MX/Loader.php 14 * 352 { 353 echo eval('?>'.preg_replace("/;*\s*\?>/", "; ?>", str_replace('<?=', '<?php echo ', file_get_contents($_ci_path)))); 354 } 380 { 381 list($path, $file) = Modules::find('constants', $this->_module, 'config/'); 382 382 383 /* module constants file */ 384 if ($path != FALSE) 480/** load the CI class for Modular Separation **/ 481(class_exists('CI', FALSE)) OR require dirname(__FILE__).'/Ci.php';Abstract.php https://bitbucket.org/acidel/buykoala.git | PHP | 254 lines
1<?php 2/** 21/** Zend_Form_Decorator_Interface */ 22#require_once 'Zend/Form/Decorator/Interface.php'; 23 31 * @license http://framework.zend.com/license/new-bsd New BSD License 32 * @version $Id: Abstract.php 21146 2010-02-23 14:35:57Z yoshida@zend.co.jp $ 33 */ 36 /** 37 * Placement constants 38 */ 62 */ 63 protected $_separator = PHP_EOL; 64 181 { 182 #require_once 'Zend/Form/Decorator/Exception.php'; 183 throw new Zend_Form_Decorator_Exception('Invalid element type passed to decorator');Profiler.php https://github.com/kervin/kyzstudio.git | PHP | 471 lines
1<?php 2/** 19 * @license http://framework.zend.com/license/new-bsd New BSD License 20 * @version $Id: Profiler.php 20096 2010-01-06 02:05:09Z bkarwin $ 21 */ 39 /** 40 * Any general database query that does not fit into the other constants. 41 */ 106 /** 107 * Logical OR of any of the filter constants. NULL if filtering by query 108 * type is disable. If an integer is stored here, it is the logical OR of 108 * type is disable. If an integer is stored here, it is the logical OR of 109 * any of the query type constants. When the query ends, if it is not 110 * one of the types specified, it will be unset from the 186 * Sets the types of query profiles to save. Set $queryType to one of 187 * the Zend_Db_Profiler::* constants to only save profiles for that type of 188 * query. To save more than one type, logical OR them together. ToFilesystem.php https://github.com/mamayoleksandr/xtbackup.git | PHP | 317 lines
1<?php 2class Storage_Filesystem implements Storage_Interface 55 $this->_baseDir = rtrim($this->_baseDir, '/'). '/'; 56 $this->_isWindows = (strpos(strtolower(php_uname('s')), 'win') !== false); 57 $this->_fileStat = new Storage_Filesystem_FileStat(); 165 //initialize windows's FileSystemObject 166 /** @noinspection PhpUndefinedClassInspection, PhpUndefinedConstantInspection */ 167 $fso = new COM('Scripting.FileSystemObject', null, CP_UTF8); 176 //see Scripting.FileSystemObject on http://msdn.microsoft.com 177 /** @noinspection PhpUndefinedMethodInspection */ 178 $folder = $fso->GetFolder($curDir);DateType.php https://gitlab.com/matijabelec/bigpandadev | PHP | 326 lines
1<?php 2 50 if (!in_array($dateFormat, self::$acceptedFormats, true)) { 51 throw new InvalidOptionsException('The "format" option must be one of the IntlDateFormatter constants (FULL, LONG, MEDIUM, SHORT) or a string representing a custom format.'); 52 } 80 81 // new \intlDateFormatter may return null instead of false in case of failure, see https://bugs.php.net/bug.php?id=66323 82 if (!$formatter) { 264 265 if ($setTimeZone = PHP_VERSION_ID >= 50500 || method_exists($formatter, 'setTimeZone')) { 266 $formatter->setTimeZone('UTC');competency_framework.php https://gitlab.com/unofficial-mirrors/moodle | PHP | 157 lines
1<?php 2// This file is part of Moodle - http://moodle.org/ 53 $mform->setType('contextid', PARAM_INT); 54 $mform->setConstant('contextid', $context->id); 55 80 // configuration requires this field so we only disable it. It is fine as setting the value 81 // as a constant will ensure that nobody can change it. And it's validated in the persistent anyway. 82 $scaleid->updateAttributes(array('readonly' => 'readonly')); 82 $scaleid->updateAttributes(array('readonly' => 'readonly')); 83 $mform->setConstant('scaleid', $framework->get('scaleid')); 84 }p2p.h https://bitbucket.org/cyanogenmod/lge-kernel-iproj.git | C Header | 564 lines
6 * under the terms of the GNU General Public License version 2 (the "GPL"), 7 * available at http://www.broadcom.com/licenses/GPLv2.php, with the 8 * following added to such license: 21 * 22 * Fundamental types and constants relating to WFA P2P (aka WiFi Direct) 23 *SemanticTasks.classes.php https://github.com/ChuguluGames/mediawiki-svn.git | PHP | 439 lines
1<?php 2 12 13// constants for message type 14define( "NEWTASK", 0 ); 312 $nta = explode( "\n", $wgContLang->segmentForDiff( $ntext ) ); 313 // We use here the php diff engine included in MediaWiki 314 $diffs = new Diff( $ota, $nta ); 336 global $smwgIP; 337 include_once( $smwgIP . "/includes/SMW_QueryProcessor.php" ); 338ConstraintType.java https://gitlab.com/Codeaurora/platform_sdk | Java | 237 lines
7 * 8 * http://www.eclipse.org/org/documents/epl-v10.php 9 * 25import static com.android.ide.common.api.SegmentType.UNKNOWN; 26import static com.android.ide.common.layout.LayoutConstants.ATTR_LAYOUT_ABOVE; 27import static com.android.ide.common.layout.LayoutConstants.ATTR_LAYOUT_ALIGN_BASELINE; 27import static com.android.ide.common.layout.LayoutConstants.ATTR_LAYOUT_ALIGN_BASELINE; 28import static com.android.ide.common.layout.LayoutConstants.ATTR_LAYOUT_ALIGN_BOTTOM; 29import static com.android.ide.common.layout.LayoutConstants.ATTR_LAYOUT_ALIGN_LEFT; 29import static com.android.ide.common.layout.LayoutConstants.ATTR_LAYOUT_ALIGN_LEFT; 30import static com.android.ide.common.layout.LayoutConstants.ATTR_LAYOUT_ALIGN_PARENT_BOTTOM; 31import static com.android.ide.common.layout.LayoutConstants.ATTR_LAYOUT_ALIGN_PARENT_LEFT; 31import static com.android.ide.common.layout.LayoutConstants.ATTR_LAYOUT_ALIGN_PARENT_LEFT; 32import static com.android.ide.common.layout.LayoutConstants.ATTR_LAYOUT_ALIGN_PARENT_RIGHT; 33import static com.android.ide.common.layout.LayoutConstants.ATTR_LAYOUT_ALIGN_PARENT_TOP;Proximity.php https://gitlab.com/virtualrealms/d7civicrm | PHP | 354 lines
1<?php 2/* 129 130 $country = ['' => ts('- select -')] + CRM_Core_PseudoConstant::country(); 131 $form->add('select', 'country_id', ts('Country'), $country, TRUE, ['class' => 'crm-select2']); 135 136 $group = ['' => ts('- any group -')] + CRM_Core_PseudoConstant::nestedGroup(); 137 $form->addElement('select', 'group', ts('Group'), $group, ['class' => 'crm-select2 huge']); 138 139 $tag = ['' => ts('- any tag -')] + CRM_Core_PseudoConstant::get('CRM_Core_DAO_EntityTag', 'tag_id', ['onlyActive' => FALSE]); 140 $form->addElement('select', 'tag', ts('Tag'), $tag, ['class' => 'crm-select2 huge']); 344 if (!empty($fields['country_id'])) { 345 $fields['country'] = CRM_Core_PseudoConstant::country($fields['country_id']); 346 } 348 if (!empty($fields['state_province_id'])) { 349 $fields['state_province'] = CRM_Core_PseudoConstant::stateProvince($fields['state_province_id']); 350 }Pgsql.php https://github.com/kervin/kyzstudio.git | PHP | 336 lines
1<?php 2/** 19 * @license http://framework.zend.com/license/new-bsd New BSD License 20 * @version $Id: Pgsql.php 22788 2010-08-03 18:29:55Z ramon $ 21 */ 26 */ 27#require_once 'Zend/Db/Adapter/Pdo/Abstract.php'; 28 49 /** 50 * Keys are UPPERCASE SQL datatypes or the constants 51 * Zend_Db::INT_TYPE, Zend_Db::BIGINT_TYPE, or Zend_Db::FLOAT_TYPE. 251 */ 252 #require_once 'Zend/Db/Adapter/Exception.php'; 253 throw new Zend_Db_Adapter_Exception("LIMIT argument count=$count is not valid"); 260 */ 261 #require_once 'Zend/Db/Adapter/Exception.php'; 262 throw new Zend_Db_Adapter_Exception("LIMIT argument offset=$offset is not valid");date.php https://bitbucket.org/codeyash/bootstrap.git | PHP | 404 lines
1<?php 2/** 9 * @copyright 2010 - 2013 Fuel Development Team 10 * @link http://fuelphp.com 11 */ 23 * @category Core 24 * @link http://docs.fuelphp.com/classes/date.html 25 * 28 * - create_time() uses strptime and has currently a very bad hack to use strtotime for windows servers 29 * - Uses strftime formatting for dates www.php.net/manual/en/function.strftime.php 30 */ 34 /** 35 * Time constants (and only those that are constant, thus not MONTH/YEAR) 36 */ 112 * @param int UNIX timestamp from current server 113 * @param string valid PHP timezone from www.php.net/timezones 114 * @return Datetopic.php https://github.com/mkfmn/cake-forum.git | PHP | 467 lines
1<?php 2/** 6 * @copyright Copyright 2006-2010, Miles Johnson, Inc. 7 * @license http://opensource.org/licenses/mit-license.php - Licensed under The MIT License 8 * @link http://milesj.me/resources/script/forum-plugin 13 /** 14 * Type constants. 15 */dba.requirements.html https://bitbucket.org/thncr/manuals.git | HTML | 167 lines
97 Cdb is "a fast, reliable, lightweight package for creating and 98 reading constant databases." It is from the author of qmail and 99 can be found at <a href="http://cr.yp.to/cdb.html" class="link external">» http://cr.yp.to/cdb.html</a>. Since it is 99 can be found at <a href="http://cr.yp.to/cdb.html" class="link external">» http://cr.yp.to/cdb.html</a>. Since it is 100 constant, we support only reading operations. And since PHP 4.3.0 101 we support writing (not updating) through the internal cdb library. 117 <td> 118 This is available since PHP 4.3.0 for compatibility with the deprecated 119 <em>dbm</em> extension only and should be avoided. 128 <td> 129 This is available since PHP 4.3.3 to be able to modify php.ini files 130 from within PHP scripts. When working with ini files you can pass arrays 159 available list of handlers is displayed by invoking 160 <span class="function"><a href="function.phpinfo.html" class="function">phpinfo()</a></span> or <span class="function"><a href="function.dba-handlers.html" class="function">dba_handlers()</a></span>. 161 </p>RestServer.php https://github.com/mx504/Provisioner.git | PHP | 537 lines
1<?php 2//////////////////////////////////////////////////////////////////////////////// 26/** 27 * Constants used in RestServer Class. 28 */ 382 { 383 $data = file_get_contents('php://input'); 384 if ($this->format == RestFormat::AMF) { 384 if ($this->format == RestFormat::AMF) { 385 require_once 'Zend/Amf/Parse/InputStream.php'; 386 require_once 'Zend/Amf/Parse/Amf3/Deserializer.php'; 404 if ($this->format == RestFormat::AMF) { 405 require_once 'Zend/Amf/Parse/OutputStream.php'; 406 require_once 'Zend/Amf/Parse/Amf3/Serializer.php';date.php https://bitbucket.org/sriedel/iccrm-wip.git | PHP | 404 lines
1<?php 2/** 9 * @copyright 2010 - 2012 Fuel Development Team 10 * @link http://fuelphp.com 11 */ 23 * @category Core 24 * @link http://docs.fuelphp.com/classes/date.html 25 * 28 * - create_time() uses strptime and has currently a very bad hack to use strtotime for windows servers 29 * - Uses strftime formatting for dates www.php.net/manual/en/function.strftime.php 30 */ 34 /** 35 * Time constants (and only those that are constant, thus not MONTH/YEAR) 36 */ 112 * @param int UNIX timestamp from current server 113 * @param string valid PHP timezone from www.php.net/timezones 114 * @return Dateclass_statement.h https://github.com/F4m3uS/hiphop-php.git | C Header | 172 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 +----------------------------------------------------------------------+ 23 24namespace HPHP { 25namespace Eval {CHANGELOG.md https://gitlab.com/4gdevs/online-class-record-system | Markdown | 313 lines
26* Update group use support to be in line with recent PHP 7.0 builds. 27* Renamed `php-parse.php` to `php-parse` and registered it as a composer bin. 28* Use composer PSR-4 autoloader instead of custom autoloader. 42 43* Removed support for running on PHP 5.4. It is however still possible to parse PHP 5.2 and PHP 5.3 44 code while running on a newer version. 64 65* `PhpParser\Parser` is now an interface, implemented by `Parser\Php5`, `Parser\Php7` and 66 `Parser\Multiple`. The `Multiple` parser will try multiple parsers, until one succeeds. 66 `Parser\Multiple`. The `Multiple` parser will try multiple parsers, until one succeeds. 67* Token constants are now defined on `PhpParser\Parser\Tokens` rather than `PhpParser\Parser`. 68* The `Name->set()`, `Name->append()`, `Name->prepend()` and `Name->setFirst()` methods are 257 258* [BC] PHP-Parser now requires PHP 5.3 or newer to run. It is however still possible to *parse* PHP 5.2 source code, 259 while running on a newer version.Profiler.php https://bitbucket.org/Dal-Papa/is-340-publish-base.git | PHP | 473 lines
1<?php 2/** 19 * @license http://framework.zend.com/license/new-bsd New BSD License 20 * @version $Id: Profiler.php 25127 2012-11-16 15:17:42Z rob $ 21 */ 39 /** 40 * Any general database query that does not fit into the other constants. 41 */ 106 /** 107 * Logical OR of any of the filter constants. NULL if filtering by query 108 * type is disable. If an integer is stored here, it is the logical OR of 108 * type is disable. If an integer is stored here, it is the logical OR of 109 * any of the query type constants. When the query ends, if it is not 110 * one of the types specified, it will be unset from the 186 * Sets the types of query profiles to save. Set $queryType to one of 187 * the Zend_Db_Profiler::* constants to only save profiles for that type of 188 * query. To save more than one type, logical OR them together. ToQueryTrait.php https://gitlab.com/afzalpotenza/YII_salon | PHP | 391 lines
1<?php 2/** 40 * The array keys are the columns to be sorted by, and the array values are the corresponding sort directions which 41 * can be either [SORT_ASC](http://php.net/manual/en/array.constants.php#constant.sort-asc) 42 * or [SORT_DESC](http://php.net/manual/en/array.constants.php#constant.sort-desc). 60 * 61 * ```php 62 * function ($row) 138 * 139 * ```php 140 * // WHERE `age`=:ageclass-ms-rule-content-model.php https://gitlab.com/najomie/fit-hippie | PHP | 403 lines
1<?php 2/** 40 /** 41 * Rule value constants. 42 *Xml.php https://github.com/Exercise/zf2.git | PHP | 279 lines
1<?php 2/** 225 226 $constantName = $node->getAttributeNS(self::XML_NAMESPACE, 'name'); 227 228 if (!defined($constantName)) { 229 throw new Exception("Constant with name '$constantName' was not defined"); 230 } 231 232 $constantValue = constant($constantName); 233 233 234 $dom->replaceChild($dom->ownerDocument->createTextNode($constantValue), $node); 235 break;Parser.php https://bitbucket.org/dbaltas/zend-framework-1.x-on-git.git | PHP | 407 lines
1<?php 2 2 3require_once('Scope.php'); 4require_once('Symbol.php'); 4require_once('Symbol.php'); 5require_once('Destructable.php'); 6 385 */ 386 protected function constant($name, $value) { 387 $symbol = $this->symbol($name); 387 $symbol = $this->symbol($name); 388 $symbol->nud = 'nud_constant'; 389 $symbol->value = $value; 389 $symbol->value = $value; 390 $symbol->arity = 'constant'; 391 return $symbol;ext_std_classobj.cpp https://gitlab.com/iranjith4/hhvm | C++ | 385 lines
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 | 24#include "hphp/runtime/vm/jit/translator.h" 25#include "hphp/runtime/vm/unit.h" 26 26 27namespace HPHP { 28 123 124 auto const numConstants = cls->numConstants(); 125 ArrayInit arrayInit(numConstants, ArrayInit::Map{}); 128 for (size_t i = 0; i < numConstants; i++) { 129 // Note: hphpc doesn't include inherited constants in 130 // get_class_constants(), so mimic that behaviorpassword.c https://gitlab.com/envieidoc/tomato | C | 460 lines
39{ 40 REGISTER_LONG_CONSTANT("PASSWORD_DEFAULT", PHP_PASSWORD_DEFAULT, CONST_CS | CONST_PERSISTENT); 41 REGISTER_LONG_CONSTANT("PASSWORD_BCRYPT", PHP_PASSWORD_BCRYPT, CONST_CS | CONST_PERSISTENT); 42 43 REGISTER_LONG_CONSTANT("PASSWORD_BCRYPT_DEFAULT_COST", PHP_PASSWORD_BCRYPT_COST, CONST_CS | CONST_PERSISTENT); 44 48 49static char* php_password_get_algo_name(const php_password_algo algo) 50{ 59 60static php_password_algo php_password_determine_algo(const char *hash, const size_t len) 61{ 174 175PHP_FUNCTION(password_get_info) 176{Move.php https://gitlab.com/rsilveira1987/Expresso | PHP | 299 lines
1<?php 2/** 62 * @param mixed $_messages 63 * @param mixed $_targetFolder can be one of: folder_id, Expressomail_Model_Folder or Expressomail_Model_Folder::FOLDER_TRASH (constant) 64 * @return Tinebase_Record_RecordSet of Expressomail_Model_Folder 99 * @param Tinebase_Record_RecordSet $_messages 100 * @param mixed $_targetFolder can be one of: Expressomail_Model_Folder or Expressomail_Model_Folder::FOLDER_TRASH (constant) 101 * @return Tinebase_Record_RecordSet of Expressomail_Model_Folderext_icu_date_pattern_gen.cpp https://gitlab.com/Blueprint-Marketing/hhvm | C++ | 388 lines
1#include "hphp/runtime/ext/icu/ext_icu_date_pattern_gen.h" 2#include "hphp/runtime/ext/icu/ext_icu_iterator.h" 3 4namespace HPHP { namespace Intl { 5////////////////////////////////////////////////////////////////////////////// 323 324#define UDATPG_CONST_FIELD(nm)Native::registerClassConstant<KindOfInt64>( \ 325 s_IntlDatePatternGenerator.get(), \ 328 329#define UDATPG_CONST(nm)Native::registerClassConstant<KindOfInt64>( \ 330 s_IntlDatePatternGenerator.get(), \ 387////////////////////////////////////////////////////////////////////////////// 388}} // namespace HPHP::Intl 389config.cpp https://gitlab.com/Blueprint-Marketing/hhvm | C++ | 322 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 +----------------------------------------------------------------------+ 16 17#include "hphp/runtime/base/config.h" 18PathCheckoutCommandTest.java https://bitbucket.org/cofarrell/jgit.git | Java | 309 lines
7 * accompanies this distribution, is reproduced below, and is 8 * available at http://www.eclipse.org/org/documents/edl-v10.php 9 * 55import org.eclipse.jgit.junit.RepositoryTestCase; 56import org.eclipse.jgit.lib.ConfigConstants; 57import org.eclipse.jgit.lib.ObjectReader; 211 StoredConfig config = git.getRepository().getConfig(); 212 config.setBoolean(ConfigConstants.CONFIG_CORE_SECTION, null, 213 ConfigConstants.CONFIG_KEY_AUTOCRLF, true);DateTimeType.php https://gitlab.com/Isaki/le331.fr | PHP | 290 lines
1<?php 2 53 * 54 * It was supposedly fixed, but is not available in all PHP installations 55 * yet. To temporarily circumvent this issue, DateTimeToRfc3339Transformer 55 * yet. To temporarily circumvent this issue, DateTimeToRfc3339Transformer 56 * is used when the format matches this constant. 57 */ 91 if (!in_array($dateFormat, self::$acceptedFormats, true)) { 92 throw new InvalidOptionsException('The "date_format" option must be one of the IntlDateFormatter constants (FULL, LONG, MEDIUM, SHORT) or a string representing a custom format.'); 93 }LayoutDeviceManager.java https://gitlab.com/Codeaurora/platform_sdk | Java | 395 lines
7 * 8 * http://www.eclipse.org/org/documents/epl-v10.php 9 * 23import com.android.prefs.AndroidLocation.AndroidLocationException; 24import com.android.sdklib.SdkConstants; 25 250 String userFolder = AndroidLocation.getFolder(); 251 File deviceXml = new File(userFolder, SdkConstants.FN_DEVICES_XML); 252 if (deviceXml.isDirectory() == false) { 273 String userFolder = AndroidLocation.getFolder(); 274 File deviceXml = new File(userFolder, SdkConstants.FN_DEVICES_XML); 275 if (deviceXml.isFile()) { 334 ArrayList<LayoutDevice> list = new ArrayList<LayoutDevice>(); 335 File toolsFolder = new File(sdkOsLocation, SdkConstants.OS_SDK_TOOLS_LIB_FOLDER); 336 if (toolsFolder.isDirectory()) {AuthorizeNetIPN.php https://gitlab.com/virtualrealms/d7civicrm | PHP | 361 lines
1<?php 2/* 130 131 $contributionStatus = CRM_Contribute_PseudoConstant::contributionStatus(NULL, 'name'); 132Profiler.php https://github.com/StefanRHRO/SCRM.git | PHP | 471 lines
1<?php 2/** 19 * @license http://framework.zend.com/license/new-bsd New BSD License 20 * @version $Id: Profiler.php 23775 2011-03-01 17:25:24Z ralph $ 21 */ 39 /** 40 * Any general database query that does not fit into the other constants. 41 */ 106 /** 107 * Logical OR of any of the filter constants. NULL if filtering by query 108 * type is disable. If an integer is stored here, it is the logical OR of 108 * type is disable. If an integer is stored here, it is the logical OR of 109 * any of the query type constants. When the query ends, if it is not 110 * one of the types specified, it will be unset from the 186 * Sets the types of query profiles to save. Set $queryType to one of 187 * the Zend_Db_Profiler::* constants to only save profiles for that type of 188 * query. To save more than one type, logical OR them together. ToBaselineGCMapIterator.java https://github.com/joekoolade/JEI.git | Java | 269 lines
7 * 8 * http://www.opensource.org/licenses/eclipse-1.0.php 9 * 14 15import static org.jikesrvm.ppc.BaselineConstants.FIRST_FIXED_LOCAL_REGISTER; 16import static org.jikesrvm.ppc.BaselineConstants.FIRST_FLOAT_LOCAL_REGISTER; 16import static org.jikesrvm.ppc.BaselineConstants.FIRST_FLOAT_LOCAL_REGISTER; 17import static org.jikesrvm.ppc.RegisterConstants.FIRST_VOLATILE_FPR; 18import static org.jikesrvm.ppc.RegisterConstants.FIRST_VOLATILE_GPR; 18import static org.jikesrvm.ppc.RegisterConstants.FIRST_VOLATILE_GPR; 19import static org.jikesrvm.ppc.RegisterConstants.LAST_NONVOLATILE_FPR; 20import static org.jikesrvm.ppc.RegisterConstants.LAST_NONVOLATILE_GPR; 20import static org.jikesrvm.ppc.RegisterConstants.LAST_NONVOLATILE_GPR; 21import static org.jikesrvm.runtime.JavaSizeConstants.BYTES_IN_DOUBLE; 22import static org.jikesrvm.runtime.JavaSizeConstants.LOG_BYTES_IN_DOUBLE;Currency.php https://gitlab.com/LisovyiEvhenii/ismextensions | PHP | 357 lines
1<?php 2/** 9 * It is also available through the world-wide-web at this URL: 10 * http://opensource.org/licenses/osl-3.0.php 11 * If you did not receive a copy of the license and are unable to 23 * @copyright Copyright (c) 2006-2016 X.commerce, Inc. and affiliates (http://www.magento.com) 24 * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) 25 */ 36 /** 37 * CONFIG path constant: ALLOW 38 */ 40 /** 41 * CONFIG path constant: DEFAULT 42 */ 44 /** 45 * CONFIG path constant: BASE 46 */File.php https://bitbucket.org/acidel/buykoala.git | PHP | 412 lines
29 */ 30#require_once 'Zend/Reflection/Function.php'; 31 94 if (!$fileRealpath || !in_array($fileRealpath, get_included_files())) { 95 #require_once 'Zend/Reflection/Exception.php'; 96 throw new Zend_Reflection_Exception('File ' . $file . ' must be required before it can be reflected'); 225 if (!$instance instanceof Zend_Reflection_Function) { 226 #require_once 'Zend/Reflection/Exception.php'; 227 throw new Zend_Reflection_Exception('Invalid reflection class provided; must extend Zend_Reflection_Function'); 248 if (!$instance instanceof Zend_Reflection_Class) { 249 #require_once 'Zend/Reflection/Exception.php'; 250 throw new Zend_Reflection_Exception('Invalid reflection class given; must extend Zend_Reflection_Class'); 319 * Token ID's are explained here: 320 * http://www.php.net/manual/en/tokens.php. 321 */NullTest.php https://github.com/mfairchild365/zf2.git | PHP | 329 lines
1<?php 2/** 33 */ 34class NullTest extends \PHPUnit_Framework_TestCase 35{ 170 */ 171 public function testArrayConstantNotation() 172 { 222 */ 223 public function testMultiConstantNotation() 224 {Oci.php https://bitbucket.org/Sinfin/pawtucket.git | PHP | 378 lines
1<?php 2/** 19 * @license http://framework.zend.com/license/new-bsd New BSD License 20 * @version $Id: Oci.php 20096 2010-01-06 02:05:09Z bkarwin $ 21 */ 26 */ 27require_once 'Zend/Db/Adapter/Pdo/Abstract.php'; 28 56 /** 57 * Keys are UPPERCASE SQL datatypes or the constants 58 * Zend_Db::INT_TYPE, Zend_Db::BIGINT_TYPE, or Zend_Db::FLOAT_TYPE. 349 /** @see Zend_Db_Adapter_Exception */ 350 require_once 'Zend/Db/Adapter/Exception.php'; 351 throw new Zend_Db_Adapter_Exception("LIMIT argument count=$count is not valid"); 356 /** @see Zend_Db_Adapter_Exception */ 357 require_once 'Zend/Db/Adapter/Exception.php'; 358 throw new Zend_Db_Adapter_Exception("LIMIT argument offset=$offset is not valid");Oci.php https://bitbucket.org/babanesma/mysimpleadmin.git | PHP | 378 lines
1<?php 2/** 19 * @license http://framework.zend.com/license/new-bsd New BSD License 20 * @version $Id: Oci.php 23775 2011-03-01 17:25:24Z ralph $ 21 */ 26 */ 27require_once 'Zend/Db/Adapter/Pdo/Abstract.php'; 28 56 /** 57 * Keys are UPPERCASE SQL datatypes or the constants 58 * Zend_Db::INT_TYPE, Zend_Db::BIGINT_TYPE, or Zend_Db::FLOAT_TYPE. 349 /** @see Zend_Db_Adapter_Exception */ 350 require_once 'Zend/Db/Adapter/Exception.php'; 351 throw new Zend_Db_Adapter_Exception("LIMIT argument count=$count is not valid"); 356 /** @see Zend_Db_Adapter_Exception */ 357 require_once 'Zend/Db/Adapter/Exception.php'; 358 throw new Zend_Db_Adapter_Exception("LIMIT argument offset=$offset is not valid");Yaml.php https://github.com/kervin/kyzstudio.git | PHP | 382 lines
137 138 $ignoreConstants = $staticIgnoreConstants = self::ignoreConstants(); 139 $allowModifications = false; 184 // Reset original static state of ignore_constants 185 self::setIgnoreConstants($staticIgnoreConstants); 186 362 { 363 foreach (self::_getConstants() as $constant) { 364 if (strstr($value, $constant)) { 364 if (strstr($value, $constant)) { 365 $value = str_replace($constant, constant($constant), $value); 366 } 377 { 378 $constants = array_keys(get_defined_constants()); 379 rsort($constants, SORT_STRING);Pgsql.php https://bitbucket.org/Dal-Papa/is-340-publish-base.git | PHP | 336 lines
1<?php 2/** 19 * @license http://framework.zend.com/license/new-bsd New BSD License 20 * @version $Id: Pgsql.php 24593 2012-01-05 20:35:02Z matthew $ 21 */ 26 */ 27require_once 'Zend/Db/Adapter/Pdo/Abstract.php'; 28 49 /** 50 * Keys are UPPERCASE SQL datatypes or the constants 51 * Zend_Db::INT_TYPE, Zend_Db::BIGINT_TYPE, or Zend_Db::FLOAT_TYPE. 251 */ 252 require_once 'Zend/Db/Adapter/Exception.php'; 253 throw new Zend_Db_Adapter_Exception("LIMIT argument count=$count is not valid"); 260 */ 261 require_once 'Zend/Db/Adapter/Exception.php'; 262 throw new Zend_Db_Adapter_Exception("LIMIT argument offset=$offset is not valid");Pgsql.php https://github.com/StefanRHRO/SCRM.git | PHP | 336 lines
1<?php 2/** 19 * @license http://framework.zend.com/license/new-bsd New BSD License 20 * @version $Id: Pgsql.php 23775 2011-03-01 17:25:24Z ralph $ 21 */ 26 */ 27require_once 'Zend/Db/Adapter/Pdo/Abstract.php'; 28 49 /** 50 * Keys are UPPERCASE SQL datatypes or the constants 51 * Zend_Db::INT_TYPE, Zend_Db::BIGINT_TYPE, or Zend_Db::FLOAT_TYPE. 251 */ 252 require_once 'Zend/Db/Adapter/Exception.php'; 253 throw new Zend_Db_Adapter_Exception("LIMIT argument count=$count is not valid"); 260 */ 261 require_once 'Zend/Db/Adapter/Exception.php'; 262 throw new Zend_Db_Adapter_Exception("LIMIT argument offset=$offset is not valid");Token.php https://github.com/bshaffer/ChartDown.git | PHP | 224 lines
1<?php 2 130 /** 131 * Returns the constant representation (internal) of a given type. 132 *Exception.php https://github.com/axxtel/agilebill.git | 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,v 1.29 2008/01/03 20:26:35 cellog Exp $ 22 * @version CVS: $Id: Exception.php,v 1.29 2008/01/03 20:26:35 cellog Exp $ 23 * @link http://pear.php.net/package/PEAR 24 * @since File available since Release 1.3.3 52 * 53 * 4) Inherited methods from PHP Exception Class: 54 * 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 154 /** 155 * @param mixed $callback - A valid php callback, see php func is_callable() 156 * - A PEAR_Exception::OBSERVER_* constantAdminObjectAclData.php https://gitlab.com/cuza/Clinic_Recods | PHP | 319 lines
1<?php 2 85 foreach ($permissions as $permission) { 86 $this->masks[$permission] = $reflectionClass->getConstant('MASK_'.$permission); 87 }Data.php https://gitlab.com/LisovyiEvhenii/ismextensions | PHP | 478 lines
1<?php 2/** 9 * It is also available through the world-wide-web at this URL: 10 * http://opensource.org/licenses/osl-3.0.php 11 * If you did not receive a copy of the license and are unable to 23 * @copyright Copyright (c) 2006-2016 X.commerce, Inc. and affiliates (http://www.magento.com) 24 * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) 25 */ 46 /** 47 * Minimum advertise price constants 48 */MetaTranslator.php https://github.com/ChuguluGames/mediawiki-svn.git | PHP | 338 lines
1<?php 2 2 3require_once('HTMLTranslator.php'); 4 13 14 /* Constant */ 15 private $TAG_BEGIN="<notranslate>";Imlib.php https://github.com/bermi/akelos.git | PHP | 379 lines
1<?php 2// +----------------------------------------------------------------------+ 4// +----------------------------------------------------------------------+ 5// | Copyright (c) 1997-2003 The PHP Group | 6// +----------------------------------------------------------------------+ 6// +----------------------------------------------------------------------+ 7// | This source file is subject to version 2.02 of the PHP license, | 8// | that is bundled with this package in the file LICENSE, and is | 9// | available at through the world-wide-web at | 10// | http://www.php.net/license/2_02.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// +----------------------------------------------------------------------+ 37 * 38 * @see http://mmcc.cx/php_imlib/index.php 39 * @version Revision: 1.0Doctype.php https://github.com/orchestra-io/sample-openx.git | PHP | 194 lines
1<?php 2/** 17 * @copyright Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com) 18 * @version $Id: Placeholder.php 7078 2007-12-11 14:29:33Z matthew $ 19 * @license http://framework.zend.com/license/new-bsd New BSD License 22/** Zend_Registry */ 23require_once 'Zend/Registry.php'; 24 24 25/** Zend_View_Helper_Abstract.php */ 26require_once 'Zend/View/Helper/Abstract.php'; 38 /**#@+ 39 * DocType constants 40 */ 74 * 75 * Map constants to doctype strings, and set default doctype 76 *Oci.php https://gitlab.com/rsilveira1987/Expresso | PHP | 378 lines
1<?php 2/** 19 * @license http://framework.zend.com/license/new-bsd New BSD License 20 * @version $Id: Oci.php 10020 2009-08-18 14:34:09Z j.fischer@metaways.de $ 21 */ 26 */ 27require_once 'Zend/Db/Adapter/Pdo/Abstract.php'; 28 56 /** 57 * Keys are UPPERCASE SQL datatypes or the constants 58 * Zend_Db::INT_TYPE, Zend_Db::BIGINT_TYPE, or Zend_Db::FLOAT_TYPE. 349 /** @see Zend_Db_Adapter_Exception */ 350 require_once 'Zend/Db/Adapter/Exception.php'; 351 throw new Zend_Db_Adapter_Exception("LIMIT argument count=$count is not valid"); 356 /** @see Zend_Db_Adapter_Exception */ 357 require_once 'Zend/Db/Adapter/Exception.php'; 358 throw new Zend_Db_Adapter_Exception("LIMIT argument offset=$offset is not valid");Tag.php https://github.com/michaelmcandrew/vaw.git | PHP | 215 lines
1<?php 2 107 $tagset[$tagsetItem]['entityId'] = $entityId; 108 require_once 'CRM/Core/BAO/EntityTag.php'; 109 $entityTags = CRM_Core_BAO_EntityTag::getChildEntityTags( $parentId, $entityId, $entityTable ); 115 CRM_Utils_Array::value( $parentId, $form->_submitValues['activity_taglist']) ) { 116 $allTags = CRM_Core_Pseudoconstant::tag( ); 117 $tagIds = explode( ',', $form->_submitValues['activity_taglist'][$parentId] ); 132 CRM_Utils_Array::value( $parentId, $form->_submitValues['case_taglist']) ) { 133 $allTags = CRM_Core_Pseudoconstant::tag( ); 134 $tagIds = explode( ',', $form->_submitValues['case_taglist'][$parentId] ); 148 if ( !empty($form->_formValues['contact_tags']) ) { 149 require_once 'CRM/Core/BAO/Tag.php'; 150 $contactTags = CRM_Core_BAO_Tag::getTagsUsedFor( 'civicrm_contact', true, false, $parentId );README.md https://github.com/elrond79/pymel.git | Markdown | 289 lines
9 - graphviz: using an OS package manager like `yum`, `apt-get`, or `brew`, or 10 on windows, from an [installer](http://www.graphviz.org/Download_windows.php) 11 - python dependencies: 121 122### Version Constants 123list_generator.php https://github.com/mackensen/moodle.git | PHP | 336 lines
1<?php 2// This file is part of Moodle - http://moodle.org/ 167 * 168 * @param int $edulevel Takes either the edulevel constant or string. 169 * @return string get_string for the specific education level. 295 // Create a link for further event detail. 296 $url = new \moodle_url('eventdetail.php', array('eventname' => $eventfullpath)); 297 $link = \html_writer::link($url, $eventfullpath::get_name_with_info());banned_emails.php https://gitlab.com/kingcody/Mods-for-HESK | PHP | 343 lines
72 <li role="presentation" class="active"> 73 <a href="#"><?php echo $hesklang['banemail']; ?> <i class="fa fa-question-circle settingsquestionmark" 74 onclick="javascript:alert('<?php echo hesk_makeJsString($hesklang['banemail_intro']); ?>')"></i></a> 132 <div class="col-sm-9"> 133 <input type="text" class="form-control" name="email" size="30" maxlength="255" data-error="<?php echo htmlspecialchars($hesklang['enterbanemail']); ?>" 134 placeholder="<?php echo htmlspecialchars($hesklang['email']); ?>" required> 134 placeholder="<?php echo htmlspecialchars($hesklang['email']); ?>" required> 135 <input type="hidden" name="token" value="<?php hesk_token_echo(); ?>"/> 136 <input type="hidden" name="a" value="ban"/> 272 // Redirect either to banned emails or ticket page from now on 273 $redirect_to = ($trackingID = hesk_cleanID()) ? 'admin_ticket.php?track=' . $trackingID . '&Refresh=' . mt_rand(10000, 99999) : 'banned_emails.php'; 274 302 // Redirect either to banned emails or ticket page from now on 303 $redirect_to = ($trackingID = hesk_cleanID()) ? 'admin_ticket.php?track=' . $trackingID . '&Refresh=' . mt_rand(10000, 99999) : 'banned_emails.php'; 304PlatformJobQueueTest.php https://bitbucket.org/Dal-Papa/is-340-publish-base.git | PHP | 329 lines
1<?php 2/** 19 * @license http://framework.zend.com/license/new-bsd New BSD License 20 * @version $Id: PlatformJobQueueTest.php 24593 2012-01-05 20:35:02Z matthew $ 21 */ 23/** Zend_Queue */ 24require_once 'Zend/Queue.php'; 25 26/** Zend_Queue */ 27require_once 'Zend/Queue/Message.php'; 28 29/** Zend_Queue_Message_Test */ 30require_once 'MessageTestClass.php'; 31 32/** Base Adapter test class */ 33require_once dirname(__FILE__) . '/AdapterTest.php'; 34distinguished.vim https://github.com/creationix/vimrc.git | Vim Script | 180 lines
86 \ 87 \ , 'Constant' : [ 137, '', 'bold', 'af875f', '', 'bold'] 88 \ , 'Special' : [ 150, '', '', 'afd787', '', ''] 114 \ 115 \ , 'phpEOL' : [ 245, '', '', 'dadada', '', ''] 116 \ , 'phpStringDelim' : [ 94, '', '', '875f00', '', ''] 116 \ , 'phpStringDelim' : [ 94, '', '', '875f00', '', ''] 117 \ , 'phpDelimiter' : [ 160, '', '', 'd70000', '', ''] 118 \ , 'phpFunctions' : [ 221, '', 'bold', 'ffd75f', '', 'bold'] 118 \ , 'phpFunctions' : [ 221, '', 'bold', 'ffd75f', '', 'bold'] 119 \ , 'phpBoolean' : [ 172, '', 'bold', 'd78700', '', 'bold'] 120 \ , 'phpOperator' : [ 215, '', '', 'ffaf5f', '', ''] 120 \ , 'phpOperator' : [ 215, '', '', 'ffaf5f', '', ''] 121 \ , 'phpMemberSelector' : [ 138, '', 'bold', 'af8787', '', 'bold'] 122 \ , 'phpParent' : [ 227, '', '', 'ffff5f', '', '']Db.php https://gitlab.com/devtoannh/cafe | PHP | 286 lines
1<?php 2 19 * @license http://framework.zend.com/license/new-bsd New BSD License 20 * @version $Id: Db.php 24417 2011-08-28 10:15:47Z padraic $ 21 */ 35 /** 36 * Use the PROFILER constant in the config of a Zend_Db_Adapter. 37 */ 40 /** 41 * Use the CASE_FOLDING constant in the config of a Zend_Db_Adapter. 42 */ 45 /** 46 * Use the FETCH_MODE constant in the config of a Zend_Db_Adapter. 47 */ 50 /** 51 * Use the AUTO_QUOTE_IDENTIFIERS constant in the config of a Zend_Db_Adapter. 52 */PCPBlock.php https://gitlab.com/virtualrealms/d7civicrm | PHP | 397 lines
1<?php 2 242 ], 243 'pseudoconstant' => [ 244 'optionGroupName' => 'pcp_owner_notify',Action.php https://gitlab.com/virtualrealms/d7civicrm | PHP | 408 lines
1<?php 2/* 41 * Different possible actions are defined here. Keep in sync with the 42 * constant from CRM_Core_Form for various modes. 43 * 72 /** 73 * Map the action names to the relevant constant. We perform 74 * bit manipulation operations so we can perform multipleInitializePasses.h https://gitlab.com/Birhetia/platform_external_llvm | C Header | 313 lines
80void initializeBreakCriticalEdgesPass(PassRegistry&); 81void initializeCallGraphPrinterPass(PassRegistry&); 82void initializeCallGraphViewerPass(PassRegistry&); 92void initializeCFGViewerPass(PassRegistry&); 93void initializeConstantHoistingPass(PassRegistry&); 94void initializeCodeGenPreparePass(PassRegistry&); 94void initializeCodeGenPreparePass(PassRegistry&); 95void initializeConstantMergePass(PassRegistry&); 96void initializeConstantPropagationPass(PassRegistry&);Data.php https://bitbucket.org/mengqing/magento-mirror.git | PHP | 478 lines
1<?php 2/** 9 * It is also available through the world-wide-web at this URL: 10 * http://opensource.org/licenses/osl-3.0.php 11 * If you did not receive a copy of the license and are unable to 23 * @copyright Copyright (c) 2012 Magento Inc. (http://www.magentocommerce.com) 24 * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) 25 */ 46 /** 47 * Minimum advertise price constants 48 */ChartWrapper.html https://gitlab.com/kevinkhill/lavacharts-api | HTML | 342 lines
83 <p> class 84 <strong>ChartWrapper</strong> extends <a href="../../../Khill/Lavacharts/Dashboards/Wrapper.html"><abbr title="Khill\Lavacharts\Dashboards\Wrapper">Wrapper</abbr></a> (<a href="https://github.com/khill/lavacharts/blob/master/src/Dashboards/ChartWrapper.php">View source</a>) 85</p> 90 91 <h2>Constants</h2> 92