PageRenderTime 644ms queryFilters 121ms Sphinxql 543ms GetByIds 472ms meta 0ms repositoryFilters 169ms languageFilters 1ms sourceFilters 83ms

70,509 results for 'php is_null repo:connvoi/dev' (644 ms)

Source

Language

Repository

class.phpwsdl.php http://php-wsdl-creator.googlecode.com/svn/trunk/ | PHP | 2,854 lines
30	
31// You don't require class.phpwsdlelement.php and class.phpwsdlcomplex.php, 
32// as long as you don't use complex types. So you may comment those two 
619	public function IsPhpRequested(){
620		return $this->ForceOutputPhp||((isset($_GET['phpsoapclient'])||isset($_GET['PHPSOAPCLIENT']))&&!$this->ForceNotOutputPhp);
621	}
1472		if(!$server->ForceNotOutputPhp)
1473			$res[]='<p>PHP SOAP client download URI: <span class="pre"><a href="'.$server->GetPhpUri().'">'.$server->GetPhpUri().'</a></span></p>';
1474		//FIXME There may be attachments if a hooking method (PdfAttachmentHook) adds a file!
1658			}
1659		}else if(isset($options['php'])&&!is_null($options['php'])){
1660			echo $options['php'];
1989	public function GetPhpUri(){
1990		return ((is_null($this->PhpUri))?$this->EndPoint:$this->PhpUri).'?PHPSOAPCLIENT';
1991	}
all.php http://showslow.googlecode.com/svn/trunk/ | PHP | 247 lines
46		} else {
47			?><li><a href="<?php echo $showslow_base.'all.php?'.(is_null($searchstring) ? '' : 'search='.urlencode(trim($_GET['search'])).'&').'group='.$id; ?>"><?php echo $group['title']?></a></li><?php
48		}
204		<td class="score" title="Current YSlow grade: <?php echo prettyScore($row['o'])?> (<?php echo $row['o']?>)"><?php echo prettyScore($row['o'])?> (<?php echo $row['o']?>)</td>
205		<td title="Current YSlow grade: <?php echo prettyScore($row['o'])?> (<?php echo $row['o']?>)"><div class="gbox"><div style="width: <?php echo $row['o']+1?>px" class="bar c<?php echo scoreColorStep($row['o'])?>"/></div></td>
206	<?php }?>
213		<td class="score" title="Current Page Speed score: <?php echo prettyScore($row['ps_o'])?> (<?php echo $row['ps_o']?>)"><?php echo prettyScore($row['ps_o'])?> (<?php echo $row['ps_o']?>)</td>
214		<td title="Current Page Speed score: <?php echo prettyScore($row['ps_o'])?> (<?php echo $row['ps_o']?>)"><div class="gbox"><div style="width: <?php echo $row['ps_o']+1?>px" class="bar c<?php echo scoreColorStep($row['ps_o'])?>"/></div></td>
215	<?php }?>
222		<td class="score" title="Current dynaTrace score: <?php echo prettyScore($row['dt_o'])?> (<?php echo $row['dt_o']?>)"><?php echo prettyScore($row['dt_o'])?> (<?php echo $row['dt_o']?>)</td>
223		<td title="Current dynaTrace score: <?php echo prettyScore($row['dt_o'])?> (<?php echo $row['dt_o']?>)"><div class="gbox"><div style="width: <?php echo $row['dt_o']+1?>px" class="bar c<?php echo scoreColorStep($row['dt_o'])?>"/></div></td>
224	<?php }?>
225
226	<td class="url"><a href="details/?url=<?php echo urlencode($row['url'])?>"><?php echo htmlentities(substr($row['url'], 0, 100))?><?php if (strlen($row['url']) > 100) { ?>...<?php } ?></a></td>
227	</tr><?php
index.php https://bitbucket.org/hermescarretero/simon-iniesta.git | PHP | 519 lines
162                        'table' => $table,
163                        'linkToExport' => 'exportar-camiseta-experiencia.php'.(is_null($activeFilter) ? '' : '?active='.$activeFilter),
164                        'title' => 'Listado de personas que han canjeado un codigo grande',
178                        'table' => $table,
179                        'linkToExport' => "/admin/exportar-camiseta-experiencia.php/$zone".(is_null($activeFilter) ? '' : '?active='.$activeFilter),
180                        'title' => 'Listado de personas que han canjeado un codigo grande',
197                        'table' => $table,
198                        'linkToExport' => "/admin/exportar-camiseta-experiencia.php/$zone/$delegation".(is_null($activeFilter) ? '' : '?active='.$activeFilter),
199                        'title' => 'Listado de personas que han canjeado un codigo grande',
286                        'table' => $table,
287                        'linkToExport' => "/admin/exportar-balon.php/$zone".(is_null($activeFilter) ? '' : '?active='.$activeFilter),
288                        'title' => 'Listado de personas que han canjeado un codigo grande',
305                        'table' => $table,
306                        'linkToExport' => "/admin/exportar-balon.php/$zone/$delegation".(is_null($activeFilter) ? '' : '?active='.$activeFilter),
307                        'title' => 'Listado de personas que han canjeado un codigo grande',
php-var.el git://github.com/ejmr/php-mode.git | Lisp | 264 lines
21;; Variable handling functions
22;; http://php.net/manual/en/ref.var.php
23;; file:///usr/share/doc/php-doc/html/ref.var.html
24
25(define-skeleton php-boolval
26  "Insert a boolval statement"
31 
32(define-skeleton php-debug_zval_dump
33  "Insert a debug_zval_dump"
38
39(define-skeleton php-empty
40  "Insert an empty statement"
143
144(define-skeleton php-is_null
145  "Insert an is_null statement"
book.var.php https://github.com/ssbalakumar/web-php.git | PHP | 84 lines
1<?php
2include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
9    0 => 'index.php',
10    1 => 'PHP Manual',
11  ),
18  array (
19    0 => 'book.var.php',
20    1 => 'Variable handling',
23  array (
24    0 => 'refs.basic.vartype.php',
25    1 => 'Variable and Type Related Extensions',
28  array (
29    0 => 'class.reflectionexception.php',
30    1 => 'ReflectionException',
83
84<ul class="chunklist chunklist_book"><li><a href="intro.var.php">Introduction</a></li><li><a href="var.setup.php">Installing/Configuring</a><ul class="chunklist chunklist_book chunklist_children"><li><a href="var.requirements.php">Requirements</a></li><li><a href="var.installation.php">Installation</a></li><li><a href="var.configuration.php">Runtime Configuration</a></li><li><a href="var.resources.php">Resource Types</a></li></ul></li><li><a href="var.constants.php">Predefined Constants</a></li><li><a href="ref.var.php">Variable handling Functions</a><ul class="chunklist chunklist_book chunklist_children"><li><a href="function.boolval.php">boolval</a> — Get the boolean value of a variable</li><li><a href="function.debug-zval-dump.php">debug_zval_dump</a> — Dumps a string representation of an internal zend value to output</li><li><a href="function.doubleval.php">doubleval</a> — Alias of floatval</li><li><a href="function.empty.php">empty</a> — Determine whether a variable is empty</li><li><a href="function.floatval.php">floatval</a> — Get float value of a variable</li><li><a href="function.get-defined-vars.php">get_defined_vars</a> — Returns an array of all defined variables</li><li><a href="function.get-resource-type.php">get_resource_type</a> — Returns the resource type</li><li><a href="function.gettype.php">gettype</a> — Get the type of a variable</li><li><a href="function.import-request-variables.php">import_request_variables</a> — Import GET/POST/Cookie variables into the global scope</li><li><a href="function.intval.php">intval</a> — Get the integer value of a variable</li><li><a href="function.is-array.php">is_array</a> — Finds whether a variable is an array</li><li><a href="function.is-bool.php">is_bool</a> — Finds out whether a variable is a boolean</li><li><a href="function.is-callable.php">is_callable</a> — Verify that the contents of a variable can be called as a function</li><li><a href="function.is-double.php">is_double</a> — Alias of is_float</li><li><a href="function.is-float.php">is_float</a> — Finds whether the type of a variable is float</li><li><a href="function.is-int.php">is_int</a> — Find whether the type of a variable is integer</li><li><a href="function.is-integer.php">is_integer</a> — Alias of is_int</li><li><a href="function.is-long.php">is_long</a> — Alias of is_int</li><li><a href="function.is-null.php">is_null</a> — Finds whether a variable is NULL</li><li><a href="function.is-numeric.php">is_numeric</a> — Finds whether a variable is a number or a numeric string</li><li><a href="function.is-object.php">is_object</a> — Finds whether a variable is an object</li><li><a href="function.is-real.php">is_real</a> — Alias of is_float</li><li><a href="function.is-resource.php">is_resource</a> — Finds whether a variable is a resource</li><li><a href="function.is-scalar.php">is_scalar</a> — Finds whether a variable is a scalar</li><li><a href="function.is-string.php">is_string</a> — Find whether the type of a variable is string</li><li><a href="function.isset.php">isset</a> — Determine if a variable is set and is not NULL</li><li><a href="function.print-r.php">print_r</a> — Prints human-readable information about a variable</li><li><a href="function.serialize.php">serialize</a> — Generates a storable representation of a value</li><li><a href="function.settype.php">settype</a> — Set the type of a variable</li><li><a href="function.strval.php">strval</a> — Get string value of a variable</li><li><a href="function.unserialize.php">unserialize</a> — Creates a PHP value from a stored representation</li><li><a href="function.unset.php">unset</a> — Unset a given variable</li><li><a href="function.var-dump.php">var_dump</a> — Dumps information about a variable</li><li><a href="function.var-export.php">var_export</a> — Outputs or returns a parsable string representation of a variable</li></ul></li></ul></div><?php manual_footer(); ?>
book.var.php https://github.com/ssbalakumar/web-php.git | PHP | 90 lines
1<?php
2include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
9    0 => 'index.php',
10    1 => 'PHP Manual',
11  ),
18  array (
19    0 => 'book.var.php',
20    1 => '変数操作',
23  array (
24    0 => 'refs.basic.vartype.php',
25    1 => '変数・データ型関連',
28  array (
29    0 => 'class.reflectionexception.php',
30    1 => 'ReflectionException',
89
90<ul class="chunklist chunklist_book"><li><a href="intro.var.php">導入</a></li><li><a href="var.setup.php">インストール/設定</a><ul class="chunklist chunklist_book chunklist_children"><li><a href="var.requirements.php">要件</a></li><li><a href="var.installation.php">インストール手順</a></li><li><a href="var.configuration.php">実行時設定</a></li><li><a href="var.resources.php">リソース型</a></li></ul></li><li><a href="var.constants.php">定義済み定数</a></li><li><a href="ref.var.php">変数操作 関数</a><ul class="chunklist chunklist_book chunklist_children"><li><a href="function.boolval.php">boolval</a> — 変数の boolean としての値を取得する</li><li><a href="function.debug-zval-dump.php">debug_zval_dump</a> — 内部的な Zend の値を表す文字列をダンプする</li><li><a href="function.doubleval.php">doubleval</a> — floatval のエイリアス</li><li><a href="function.empty.php">empty</a> — 変数が空であるかどうかを検査する</li><li><a href="function.floatval.php">floatval</a> — 変数の float 値を取得する</li><li><a href="function.get-defined-vars.php">get_defined_vars</a> — 全ての定義済の変数を配列で返す</li><li><a href="function.get-resource-type.php">get_resource_type</a> — リソース型を返す</li><li><a href="function.gettype.php">gettype</a> — 変数の型を取得する</li><li><a href="function.import-request-variables.php">import_request_variables</a> — GET/POST/Cookie 変数をグローバルスコープにインポートする</li><li><a href="function.intval.php">intval</a> — 変数の整数としての値を取得する</li><li><a href="function.is-array.php">is_array</a> — 変数が配列かどうかを検査する</li><li><a href="function.is-bool.php">is_bool</a> — 変数が boolean であるかを調べる</li><li><a href="function.is-callable.php">is_callable</a> — 引数が、関数としてコール可能な構造であるかどうかを調べる</li><li><a href="function.is-double.php">is_double</a> — is_float のエイリアス</li><li><a href="function.is-float.php">is_float</a> — 変数の型が float かどうか調べる</li><li><a href="function.is-int.php">is_int</a> — 変数が整数型かどうかを検査する</li><li><a href="function.is-integer.php">is_integer</a> — is_int のエイリアス</li><li><a href="function.is-long.php">is_long</a> — is_int のエイリアス</li><li><a href="function.is-null.php">is_null</a> — 変数が NULL かどうか調べる</li><li><a href="function.is-numeric.php">is_numeric</a> — 変数が数字または数値形式の文字列であるかを調べる</li><li><a href="function.is-object.php">is_object</a> — 変数がオブジェクトかどうかを検査する</li><li><a href="function.is-real.php">is_real</a> — is_float のエイリアス</li><li><a href="function.is-resource.php">is_resource</a> — 変数がリソースかどうかを調べる</li><li><a href="function.is-scalar.php">is_scalar</a> — 変数がスカラかどうかを調べる</li><li><a href="function.is-string.php">is_string</a> — 変数の型が文字列かどうかを調べる</li><li><a href="function.isset.php">isset</a> — 変数がセットされていること、そして NULL でないことを検査する</li><li><a href="function.print-r.php">print_r</a> — 指定した変数に関する情報を解りやすく出力する</li><li><a href="function.serialize.php">serialize</a> — 値の保存可能な表現を生成する</li><li><a href="function.settype.php">settype</a> — 変数の型をセットする</li><li><a href="function.strval.php">strval</a> — 変数の文字列としての値を取得する</li><li><a href="function.unserialize.php">unserialize</a> — 保存用表現から PHP の値を生成する</li><li><a href="function.unset.php">unset</a> — 指定した変数の割当を解除する</li><li><a href="function.var-dump.php">var_dump</a> — 変数に関する情報をダンプする</li><li><a href="function.var-export.php">var_export</a> — 変数の文字列表現を出力または返す</li></ul></li></ul></div><?php manual_footer(); ?>
Client.php http://grupal.googlecode.com/svn/trunk/ | PHP | 2,424 lines
1<?php
2/**
45 */
46require_once 'Zend/Service/WindowsAzure/Storage/Table.php';
47
831    	}
832    	if ( (is_null($location) && is_null($affinityGroup)) || (!is_null($location) && !is_null($affinityGroup)) ) {
833			require_once 'Zend/Service/WindowsAzure/Management/Exception.php';
1432		
1433		// http://www.php.net/manual/en/simplexmlelement.xpath.php#97818
1434		$namespaces = $xml->getDocNamespaces();
1939    	}
1940    	if (strpos($serviceName, 'https') === false && ($algorithm == '' || is_null($algorithm)) && ($thumbprint == '' || is_null($thumbprint))) {
1941			require_once 'Zend/Service/WindowsAzure/Management/Exception.php';
2024    	}
2025    	if (strpos($serviceName, 'https') === false && ($algorithm == '' || is_null($algorithm)) && ($thumbprint == '' || is_null($thumbprint))) {
2026			require_once 'Zend/Service/WindowsAzure/Management/Exception.php';
PHPExpressionProviderTest.php https://hg01.codeplex.com/odataphpproducer | PHP | 692 lines
117            $actualPHPExpression = $expressionProcessor->processExpression();
118            $expectedPHPExpression = '((((!(is_null($lt->Customer)) && !(is_null($lt->Customer->Address))) && !(is_null($lt->Customer->Address->LineNumber))) && (($lt->Customer->Address->LineNumber + 2) == 4)) || (((!(is_null($lt->Customer)) && !(is_null($lt->Customer->Address))) && !(is_null($lt->Customer->Address->LineNumber2))) && (($lt->Customer->Address->LineNumber2 - 2) != 6)))';
119            $this->AssertEquals($actualPHPExpression, $expectedPHPExpression);
125            $actualPHPExpression = $expressionProcessor->processExpression();
126            $expectedPHPExpression = '((((!(is_null($lt->Customer)) && !(is_null($lt->Customer->Address))) && !(is_null($lt->Customer->Address->Address2))) && !(is_null($lt->Customer->Address->Address2->IsPrimary))) && ($lt->Customer->Address->Address2->IsPrimary == true))';
127            $this->AssertEquals($actualPHPExpression, $expectedPHPExpression);
133            $actualPHPExpression = $expressionProcessor->processExpression();  
134            $expectedPHPExpression = '(((((!(is_null($lt->Customer)) && !(is_null($lt->Customer->Address))) && !(is_null($lt->Customer->Address->Address2))) && !(is_null($lt->Customer->Address->Address2->IsPrimary))) && !(is_null($lt->Customer->Address->IsValid))) && ($lt->Customer->Address->Address2->IsPrimary && $lt->Customer->Address->IsValid))';
135            $this->AssertEquals($actualPHPExpression, $expectedPHPExpression);
141            $actualPHPExpression = $expressionProcessor->processExpression();  
142            $expectedPHPExpression = '(((((!(is_null($lt->Customer)) && !(is_null($lt->Customer->Address))) && !(is_null($lt->Customer->Address->Address2))) && !(is_null($lt->Customer->Address->Address2->IsPrimary))) && $lt->Customer->Address->Address2->IsPrimary) || (((!(is_null($lt->Customer)) && !(is_null($lt->Customer->Address))) && !(is_null($lt->Customer->Address->IsValid))) && $lt->Customer->Address->IsValid))';
143            $this->AssertEquals($actualPHPExpression, $expectedPHPExpression);
148            $actualPHPExpression = $expressionProcessor->processExpression();
149            $expectedPHPExpression = '(((((!(is_null($lt->Customer)) && !(is_null($lt->Customer->Address))) && !(is_null($lt->Customer->Address->Address2))) && !(is_null($lt->Customer->Address->Address2->IsPrimary))) && !(is_null($lt->Customer->Address->IsValid))) && ($lt->Customer->Address->Address2->IsPrimary <= $lt->Customer->Address->IsValid))';
150            $this->AssertEquals($actualPHPExpression, $expectedPHPExpression);
IDSQP2Test_WordPressMySQL.php https://hg01.codeplex.com/odataphpproducer | PHP | 853 lines
1<?php
2use ODataProducer\UriProcessor\QueryProcessor\ExpandProjectionParser\ProjectionNode;
21use ODataProducer\Common\NotImplementedException;
22require_once 'PHPUnit\Framework\Assert.php';
23require_once 'PHPUnit\Framework\test.php';
23require_once 'PHPUnit\Framework\test.php';
24require_once 'PHPUnit\Framework\SelfDescribing.php';
25require_once 'PHPUnit\Framework\testCase.php';
25require_once 'PHPUnit\Framework\testCase.php';
26require_once 'PHPUnit\Framework\testSuite.php';
27require_once 'ODataProducer\Common\ClassAutoLoader.php';
28ODataProducer\Common\ClassAutoLoader::register();
29require_once (dirname(__FILE__) . "\.\..\..\Resources\WordPress2\WordPressMetadata.php");
30require_once (dirname(__FILE__) . "\.\..\..\Resources\WordPress2\WordPressDataService.php");
30require_once (dirname(__FILE__) . "\.\..\..\Resources\WordPress2\WordPressDataService.php");
31require_once (dirname(__FILE__) . "\.\..\..\Resources\WordPress2\DataServiceHost5.php");
32
class.phpwsdl.servers.php http://php-wsdl-creator.googlecode.com/svn/trunk/ | PHP | 1,763 lines
366	public static function IsJsonPhpRequest(){
367		return self::$EnableJson&&(self::$UseServer->ForceOutputJsonPhp||((self::HasParam('phpjsonclient')||self::HasParam('PHPJSONCLIENT'))&&!self::$UseServer->ForceNotOutputJsonPhp));
368	}
384	public static function IsRpcPhpRequest(){
385		return self::$EnableRpc&&(self::$UseServer->ForceOutputRpcPhp||((self::HasParam('phprpcclient')||self::HasParam('PHPRPCCLIENT'))&&!self::$UseServer->ForceNotOutputRpcPhp));
386	}
393	public static function IsHttpPhpRequest(){
394		return self::$EnableHttp&&(self::$UseServer->ForceOutputHttpPhp||((self::HasParam('phphttpclient')||self::HasParam('PHPHTTPCLIENT'))&&!self::$UseServer->ForceNotOutputHttpPhp));
395	}
402	public static function IsRestPhpRequest(){
403		return self::$EnableRest&&(self::$UseServer->ForceOutputRestPhp||((self::HasParam('phprestclient')||self::HasParam('PHPRESTCLIENT'))&&!self::$UseServer->ForceNotOutputRestPhp));
404	}
423		$restPhp=self::IsRestPhpRequest();
424		if(!$jsonPhp&&!$jsonJs&&!$rpcPhp&&!$httpPhp&&!$restPhp)
425			return false;
main.php git://github.com/bcosca/fatfree.git | PHP | 3,577 lines
1<?php
2
86					$this->expect(
87						!is_null($this->get('ERROR')) && $this->get('ERROR.code')===500,
88						$this->get('ERROR.text'),
118
119		foreach (explode('|',F3::PHP_Globals) as $php) {
120			$this->set($php.'.x',3.14);
122			$this->expect(
123				$this->get($php)==$GLOBALS['_'.$php],
124				$php.' matches $_'.$php,
124				$php.' matches $_'.$php,
125				$php.' does not match $_'.$php.': '.
126					var_export($this->get($php),TRUE).' != '.
431		$this->expect(
432			is_null($this->get('{{@b.1}}')) && !is_null($this->get('ERROR')),
433			'Incorrect variable variable usage',
Functions.php https://PHPExcel.svn.codeplex.com/svn | PHP | 11,481 lines
5724			if ($PHPDateArray['day'] == '')		{ $PHPDateArray['day'] = strftime('%d'); }
5725			$excelDateValue = floor(PHPExcel_Shared_Date::FormattedPHPToExcel($PHPDateArray['year'],$PHPDateArray['month'],$PHPDateArray['day'],$PHPDateArray['hour'],$PHPDateArray['minute'],$PHPDateArray['second']));
5726
5775			if (self::$compatibilityMode == self::COMPATIBILITY_OPENOFFICE) {
5776				$excelDateValue = PHPExcel_Shared_Date::FormattedPHPToExcel($PHPDateArray['year'],$PHPDateArray['month'],$PHPDateArray['day'],$PHPDateArray['hour'],$PHPDateArray['minute'],$PHPDateArray['second']);
5777			} else {
5777			} else {
5778				$excelDateValue = PHPExcel_Shared_Date::FormattedPHPToExcel(1900,1,1,$PHPDateArray['hour'],$PHPDateArray['minute'],$PHPDateArray['second']) - 1;
5779			}
6523												  break;
6524			case self::RETURNDATE_PHP_NUMERIC	: return (integer) PHPExcel_Shared_Date::ExcelToPHP(PHPExcel_Shared_Date::PHPToExcel($PHPDateObject));
6525												  break;
6562												  break;
6563			case self::RETURNDATE_PHP_NUMERIC	: return (integer) PHPExcel_Shared_Date::ExcelToPHP(PHPExcel_Shared_Date::PHPToExcel($PHPDateObject));
6564												  break;
XVWeb.class.php http://xvweb.googlecode.com/svn/trunk/ | PHP | 934 lines
1<?php
2/***************************************************************************
20include_once(dirname(__FILE__).DIRECTORY_SEPARATOR.'libraries'.DIRECTORY_SEPARATOR.'Session.XVWeb.class.php');
21include_once(dirname(__FILE__).DIRECTORY_SEPARATOR.'libraries'.DIRECTORY_SEPARATOR.'operation.XVWeb.class.php');
22include_once(dirname(__FILE__).DIRECTORY_SEPARATOR.'libraries'.DIRECTORY_SEPARATOR.'db.XVWeb.class.php');
22include_once(dirname(__FILE__).DIRECTORY_SEPARATOR.'libraries'.DIRECTORY_SEPARATOR.'db.XVWeb.class.php');
23include_once(dirname(__FILE__).DIRECTORY_SEPARATOR.'libraries'.DIRECTORY_SEPARATOR.'phpQuery'.DIRECTORY_SEPARATOR.'phpQuery.php');
24
91	function __construct($ConfigDir = null) {
92		if(!is_null($ConfigDir) ){
93			$this->Date['ConfigDir'] = $ConfigDir;
101		$this->Session = new SessionClass($this);
102		if(is_null($this->Session->Session('user_permissions'))){
103			$this->Session->Session('Logged_ID', 2);
396		}
397		if(is_null($this->ReadArticleOut) or is_null($this->ReadArticleIndexOut))
398		return false; else
pipeline.class.php http://simpleinvoices.googlecode.com/svn/trunk/ | text | 0 lines
1<?php
2
2
3require_once(HTML2PS_DIR.'utils_array.php');
4require_once(HTML2PS_DIR.'utils_graphic.php');
4require_once(HTML2PS_DIR.'utils_graphic.php');
5require_once(HTML2PS_DIR.'utils_url.php');
6require_once(HTML2PS_DIR.'utils_text.php');
6require_once(HTML2PS_DIR.'utils_text.php');
7require_once(HTML2PS_DIR.'utils_units.php');
8require_once(HTML2PS_DIR.'utils_number.php');
9
10require_once(HTML2PS_DIR.'value.color.php');
11
11
12require_once(HTML2PS_DIR.'config.parse.php');
13
UriProcessorTest.php https://hg01.codeplex.com/odataphpproducer | PHP | 2,461 lines
23use ODataProducer\Common\ODataException;
24require_once 'PHPUnit\Framework\Assert.php';
25require_once 'PHPUnit\Framework\Test.php';
25require_once 'PHPUnit\Framework\Test.php';
26require_once 'PHPUnit\Framework\SelfDescribing.php';
27require_once 'PHPUnit\Framework\TestCase.php';
27require_once 'PHPUnit\Framework\TestCase.php';
28require_once 'PHPUnit\Framework\TestSuite.php';
29require_once 'ODataProducer\Common\ClassAutoLoader.php';
1125            $this->assertEquals($code, 
1126            'if(((!(is_null($lt->OrderID)) && !(is_null($lt->OrderDate))) && (($lt->OrderID == 123) && (ODataProducer\Providers\Metadata\Type\DateTime::dateTimeCmp($lt->OrderDate, \'2000-11-11\') <= 0)))) { return true; } else { return false;}');
1127            $host->getWebOperationContext()->resetWebContextInternal();
1206            $this->assertEquals($code, 
1207            'if(((!(is_null($lt->OrderID)) && !(is_null($lt->OrderDate))) && (($lt->OrderID == 123) && (ODataProducer\Providers\Metadata\Type\DateTime::dateTimeCmp($lt->OrderDate, \'2000-11-11\') <= 0)))) { return true; } else { return false;}');
1208            $host->getWebOperationContext()->resetWebContextInternal();
config.class.php git://github.com/splitbrain/dokuwiki.git | PHP | 1,415 lines
1<?php
2/**
18        var $_name = 'conf';           // name of the config variable found in the files (overridden by $config['varname'])
19        var $_format = 'php';          // format of the config file, supported formats - php (overridden by $config['format'])
20        var $_heading = '';            // heading string written at top of config file - don't include comment indicators
199                if(file_exists($file)){
200                    $contents = @php_strip_whitespace($file);
201                }else{
238        /**
239         * Convert php string into value
240         *
272            $out = '';
273            if ($this->_format == 'php') {
274                $out .= '<'.'?php'."\n".
940            $valid = parent::update($input);
941            if ($valid && !(is_null($this->_min) && is_null($this->_max))) {
942                $numeric_local = (int) eval('return '.$this->_local.';');
Client.php http://grupal.googlecode.com/svn/trunk/ | PHP | 610 lines
1<?php
2/**
30 */
31 require_once 'Zend/Service/WindowsAzure/RetryPolicy/RetryPolicyAbstract.php';
32 
35 */
36 require_once 'Zend/Service/SqlAzure/Management/ServerInstance.php';
37 
40 */
41 require_once 'Zend/Service/SqlAzure/Management/FirewallRuleInstance.php';
42 
131		$this->_retryPolicy = $retryPolicy;
132		if (is_null($this->_retryPolicy)) {
133		    $this->_retryPolicy = Zend_Service_WindowsAzure_RetryPolicy_RetryPolicyAbstract::noRetry();
356                }
357                if (is_null($location) && is_null($affinityGroup)) {
358                    require_once 'Zend/Service/SqlAzure/Management/Exception.php';
Blob.php http://grupal.googlecode.com/svn/trunk/ | PHP | 2,143 lines
1<?php
2/**
19 * @license    http://todo     name_todo
20 * @version    $Id: Blob.php 24697 2012-03-23 13:11:04Z ezimuel $
21 */
25 */
26require_once 'Zend/Service/WindowsAzure/Storage.php';
27
30 */
31require_once 'Zend/Service/WindowsAzure/Storage/BlobInstance.php';
32
35 */
36require_once 'Zend/Service/WindowsAzure/Storage/BlobContainer.php';
37
40 */
41require_once 'Zend/Service/WindowsAzure/Storage/PageRegionInstance.php';
42
pluginlib.php git://github.com/moodle/moodle.git | PHP | 1,691 lines
526     * Passing the parameter $typeclass allows us to reach the same effect as with the
527     * late binding in PHP 5.3. Once PHP 5.3 is required, we can refactor this to use
528     * {@example $plugin = new static();} instead of {@example $plugin = new $typeclass()}
859
860        } else if (is_null($this->versiondb) and !is_null($this->versiondisk)) {
861            return plugin_manager::PLUGIN_STATUS_NEW;
862
863        } else if (!is_null($this->versiondb) and is_null($this->versiondisk)) {
864            if (plugin_manager::is_deleted_standard_plugin($this->type, $this->name)) {
1373
1374        if (file_exists($this->full_path('settings.php')) or file_exists($this->full_path('settingstree.php'))) {
1375            return new moodle_url('/admin/settings.php', array('section' => 'modsetting' . $this->name));
1536
1537        if (file_exists($this->full_path('settings.php')) or file_exists($this->full_path('settingstree.php'))) {
1538            return new moodle_url('/admin/settings.php', array('section' => 'messagesetting' . $this->name));
pluginlib.php git://github.com/moodle/moodle.git | text | 0 lines
502     * Passing the parameter $typeclass allows us to reach the same effect as with the
503     * late binding in PHP 5.3. Once PHP 5.3 is required, we can refactor this to use
504     * {@example $plugin = new static();} instead of {@example $plugin = new $typeclass()}
832
833        } else if (is_null($this->versiondb) and !is_null($this->versiondisk)) {
834            return plugin_manager::PLUGIN_STATUS_NEW;
835
836        } else if (!is_null($this->versiondb) and is_null($this->versiondisk)) {
837            return plugin_manager::PLUGIN_STATUS_MISSING;
1342
1343        if (file_exists($this->full_path('settings.php')) or file_exists($this->full_path('settingstree.php'))) {
1344            return new moodle_url('/admin/settings.php', array('section' => 'modsetting' . $this->name));
1505
1506        if (file_exists($this->full_path('settings.php')) or file_exists($this->full_path('settingstree.php'))) {
1507            return new moodle_url('/admin/settings.php', array('section' => 'messagesetting' . $this->name));
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21