PageRenderTime 29ms queryFilters 9ms Sphinxql 389ms GetByIds 186ms meta 0ms repositoryFilters 12ms languageFilters 1ms sourceFilters 1ms

206,208 results for 'php is_null repo:fuel/oil' (29 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',
class.phpwsdl.php https://github.com/abnemo/stalker_portal.git | PHP | 2,445 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 
302	/**
303	 * Force sending PHP (has a higher priority than PhpWsdl->ForceNotOutputPhp)
304	 * 
580	public function IsPhpRequested(){
581		return $this->ForceOutputPhp||((isset($_GET['phpsoapclient'])||isset($_GET['PHPSOAPCLIENT']))&&!$this->ForceNotOutputPhp);
582	}
1382		$res[]='<p>Readable WSDL URI: <span class="pre"><a href="'.$server->GetWsdlUri().'&readable">'.$server->GetWsdlUri().'&readable</a></span></p>';
1383		$res[]='<p>PHP SOAP client download URI: <span class="pre"><a href="'.$server->GetPhpUri().'">'.$server->GetPhpUri().'</a></span></p>';
1384		if(self::$HTML2PDFSettings['attachments']=='1'&&!is_null(self::$HTML2PDFLicenseKey))
1887	public function GetPhpUri(){
1888		return ((is_null($this->PhpUri))?$this->EndPoint:$this->PhpUri).'?phpsoapclient';
1889	}
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"
is_null.html git://github.com/kvz/phpjs.git | HTML | 42 lines
16layout: function
17title: PHP's is_null in JavaScript
18description: >-
19  Here’s what our current JavaScript equivalent to <a
20  href="https://php.net/manual/en/function.is-null.php">PHP's is_null</a> looks
21  like.
24language: php
25permalink: php/var/is_null/
26alias:
28  - /functions/var/is_null/
29  - /php/is_null/
30  - /functions/is_null/
32{% codeblock lang:javascript %}module.exports = function is_null (mixedVar) { // eslint-disable-line camelcase
33  //  discuss at: https://locutus.io/php/is_null/
34  // original by: Kevin van Zonneveld (https://kvz.io)
is_null.html https://github.com/andriuspetrauskis/phpjs.git | HTML | 42 lines
16layout: function
17title: PHP's is_null in JavaScript
18description: >-
19  Here’s what our current JavaScript equivalent to <a
20  href="http://php.net/manual/en/function.is_null.php">PHP's is_null</a> looks
21  like.
24language: php
25permalink: php/var/is_null/
26alias:
28  - /functions/var/is_null/
29  - /php/is_null/
30  - /functions/is_null/
32{% codeblock lang:javascript %}module.exports = function is_null (mixedVar) { // eslint-disable-line camelcase
33  //  discuss at: http://locutus.io/php/is_null/
34  // original by: Kevin van Zonneveld (http://kvz.io)
modules.inc.php https://gitlab.com/dddudeman/Haruko.git | PHP | 773 lines
1<?php
2if (!defined("IN_MOD"))
40					echo "<b style='color: red;'>".$lang['mod/no_file']."</b>";
41				} elseif (is_null($zip->locateName("module.json")))
42				{
43					echo "<b style='color: red;'>".$lang['mod/invalid_module']."</b>";	
44				} elseif ((is_null($zip->locateName("install.php"))) || (is_null($zip->locateName("config.php")))) //Does the archive contain install.php and config.php?
45				{
49					$json = json_decode($zip->getFromIndex($zip->locateName("module.json")));
50					if (is_null($json))
51					{
78				//Validate JSON
79				if ((is_dir($dir)) &&(file_exists($dir."/module.json")) && (file_exists($dir."/install.php")) && (file_exists($dir."/config.php")))
80				{
458				//Validate JSON
459				if ((is_dir($dir)) &&(file_exists($dir."/module.json")) && (file_exists($dir."/install.php")) && (file_exists($dir."/config.php")))
460				{
modules.inc.php https://gitlab.com/dddudeman/Haruko.git | PHP | 773 lines
1<?php
2if (!defined("IN_MOD"))
40					echo "<b style='color: red;'>".$lang['mod/no_file']."</b>";
41				} elseif (is_null($zip->locateName("module.json")))
42				{
43					echo "<b style='color: red;'>".$lang['mod/invalid_module']."</b>";	
44				} elseif ((is_null($zip->locateName("install.php"))) || (is_null($zip->locateName("config.php")))) //Does the archive contain install.php and config.php?
45				{
49					$json = json_decode($zip->getFromIndex($zip->locateName("module.json")));
50					if (is_null($json))
51					{
78				//Validate JSON
79				if ((is_dir($dir)) &&(file_exists($dir."/module.json")) && (file_exists($dir."/install.php")) && (file_exists($dir."/config.php")))
80				{
458				//Validate JSON
459				if ((is_dir($dir)) &&(file_exists($dir."/module.json")) && (file_exists($dir."/install.php")) && (file_exists($dir."/config.php")))
460				{
icwp-wpfunctions.php https://github.com/bhanukolli/WP-Blog.git | PHP | 318 lines
1<?php
2/**
17
18require_once( dirname(__FILE__).'/icwp-data-processor.php' );
19
32		public static function GetInstance() {
33			if ( is_null( self::$oInstance ) ) {
34				self::$oInstance = new self();
66		public function getPluginUpgradeLink( $insPluginFile ) {
67			$sUrl = self_admin_url( 'update.php' ) ;
68			$aQueryArgs = array(
89			if ( !$this->getIsPluginUpdateAvailable($insPluginFile)
90				|| ( isset( $GLOBALS['pagenow'] ) && $GLOBALS['pagenow'] == 'update.php' ) ) {
91				return true;
127			if ( empty( $this->m_sWpVersion ) ) {
128				$sVersionFile = ABSPATH.WPINC.'/version.php';
129				$sVersionContents = file_get_contents( $sVersionFile );
is_null.js git://github.com/kvz/phpjs.git | JavaScript | 10 lines
1module.exports = function is_null (mixedVar) { // eslint-disable-line camelcase
2  //  discuss at: https://locutus.io/php/is_null/
3  // original by: Kevin van Zonneveld (https://kvz.io)
3  // original by: Kevin van Zonneveld (https://kvz.io)
4  //   example 1: is_null('23')
5  //   returns 1: false
5  //   returns 1: false
6  //   example 2: is_null(null)
7  //   returns 2: true
is_null.js https://github.com/andriuspetrauskis/phpjs.git | JavaScript | 10 lines
1module.exports = function is_null (mixedVar) { // eslint-disable-line camelcase
2  //  discuss at: http://locutus.io/php/is_null/
3  // original by: Kevin van Zonneveld (http://kvz.io)
3  // original by: Kevin van Zonneveld (http://kvz.io)
4  //   example 1: is_null('23')
5  //   returns 1: false
5  //   returns 1: false
6  //   example 2: is_null(null)
7  //   returns 2: true
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(); ?>
book.var.php git://github.com/php/web-php.git | PHP | 84 lines
1<?php
2include_once __DIR__ . '/../../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(); ?>
85
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';
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;
Client.php https://bitbucket.org/mkrasuski/magento-ce.git | PHP | 2,426 lines
1<?php
2/**
45 */
46#require_once 'Zend/Service/WindowsAzure/Storage/Table.php';
47
834    	}
835    	if ( (is_null($location) && is_null($affinityGroup)) || (!is_null($location) && !is_null($affinityGroup)) ) {
836			#require_once 'Zend/Service/WindowsAzure/Management/Exception.php';
1435		
1436		// http://www.php.net/manual/en/simplexmlelement.xpath.php#97818
1437		$namespaces = $xml->getDocNamespaces();
1942    	}
1943    	if (strpos($serviceName, 'https') === false && ($algorithm == '' || is_null($algorithm)) && ($thumbprint == '' || is_null($thumbprint))) {
1944			#require_once 'Zend/Service/WindowsAzure/Management/Exception.php';
2027    	}
2028    	if (strpos($serviceName, 'https') === false && ($algorithm == '' || is_null($algorithm)) && ($thumbprint == '' || is_null($thumbprint))) {
2029			#require_once 'Zend/Service/WindowsAzure/Management/Exception.php';
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
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21