PageRenderTime 2321ms queryFilters 0ms Sphinxql 697ms GetByIds 1487ms meta 0ms repositoryFilters 18ms languageFilters 1ms sourceFilters 1ms

206,208 results for 'php is_null repo:connvoi/dev' (2321 ms)

Source

Language

Repository

mdl.certificate.php http://phpfor.googlecode.com/svn/trunk/ | PHP | 861 lines
1<?php
2
40    function to_shopex_certificate($certi_app,$certificate_id=NULL,$token=NULL,$identifier=NULL,$password=NULL,$certi_session=NULL,$version=NULL,$app_id=NULL,$app_instance_id=NULL,$certi_url=NULL,$certi_validate_url=NULL,$shop_version=NULL,$format='json'){
41        $certificate_id = is_null($certificate_id)?$this->getCerti():$certificate_id;
42        $token = is_null($token)?$this->getToken():$token;
42        $token = is_null($token)?$this->getToken():$token;
43        $identifier = is_null($identifier)?$this->getIdentifier():$identifier;
44        $password = is_null($password)?$this->getPassword():$password;
44        $password = is_null($password)?$this->getPassword():$password;
45        $certi_session = is_null($certi_session)?STORE_KEY:$certi_session;
46        $version = is_null($version)?'1.2':$version;
46        $version = is_null($version)?'1.2':$version;
47        $app_id = is_null($app_id)?VERIFY_APP_ID:$app_id;
48        $app_instance_id = is_null($app_instance_id)?$this->get_app_instance_id(VERIFY_APP_ID):$app_instance_id;
51        $certi_url = is_null($certi_url)?$base_url:$certi_url;
52        $certi_validate_url = is_null($certi_validate_url)?$base_url . "shopadmin/index.php?ctl=passport&act=certi_validate":$certi_validate_url;
53        $format = empty($format)?'json':$format;
sfForm.class.php http://opac-sbweb.googlecode.com/svn/trunk/ | PHP | 1,256 lines
1<?php
2
20 * @author     Fabien Potencier <fabien.potencier@symfony-project.com>
21 * @version    SVN: $Id: sfForm.class.php 14852 2009-01-17 23:27:45Z Kris.Wallsmith $
22 */
208
209    if (is_null($this->taintedValues))
210    {
213
214    if (is_null($this->taintedFiles))
215    {
373
374    $decorator = is_null($decorator) ? $widgetSchema->getFormFormatter()->getDecoratorFormat() : $decorator;
375
418
419    $decorator = is_null($decorator) ? $widgetSchema->getFormFormatter()->getDecoratorFormat() : $decorator;
420    $innerDecorator = is_null($innerDecorator) ? $widgetSchema->getFormFormatter()->getDecoratorFormat() : $innerDecorator;
osj-phpfn50.php http://osjobber.googlecode.com/svn/trunk/ | PHP | 2,930 lines
1<?php
2
76	function BeginRow() {
77		if (EW_IS_PHP5) {
78			$this->XmlRow = $this->XmlDoc->createElement($this->RowTagName);
85	function EndRow() {
86		if (!EW_IS_PHP5) {
87			$this->XML .= "</$this->RowTagName>";
1373function ew_CompareValue($v1, $v2) {
1374	if (is_null($v1) && is_null($v2)) {
1375		return TRUE;
1375		return TRUE;
1376	} elseif (is_null($v1) || is_null($v2)) {
1377		return FALSE;
2157if (EW_EMAIL_COMPONENT == "PHPMAILER") {
2158	include("phpmailer" . EW_PATH_DELIMITER . "class.phpmailer.php");
2159}
class.phpwsdlcomplex.php http://php-wsdl-creator.googlecode.com/svn/trunk/ | PHP | 379 lines
3/*
4PhpWsdl - Generate WSDL from PHP
5Copyright (C) 2011  Andreas Müller-Saala, wan24.de 
22
23PhpWsdl::RegisterHook('InterpretKeywordpw_complexHook','internal','PhpWsdlComplex::InterpretComplex');
24PhpWsdl::RegisterHook('CreateObjectHook','internalcomplex','PhpWsdlComplex::CreateComplexTypeObject');
30 */
31class PhpWsdlComplex extends PhpWsdlObject{
32	/**
95			if(isset($settings['phpconstructor']))
96				$this->EnablePhpConstructor=$settings['phpconstructor']=='1'||$settings['phpconstructor']=='true';
97			if(isset($settings['type']))
269			$res[]="\tpublic function ".$this->Name."(".implode(',',$temp)."){";
270			if(!is_null($this->Inherit)&&$it->EnablePhpConstructor)
271				$res[]="\t\tparent::".$this->Inherit."(".implode(',',$tempb).");";
GlobalFunctions.php https://code.google.com/p/alfresco-php-sdk/ | PHP | 2,139 lines
1<?php
2
30 * Re-implementations of newer functions or functions in non-standard
31 * PHP extensions may be included here.
32 */
1764		# This is a hack to work around PHP's flawed invocation of cmd.exe
1765		# http://news.php.net/php.internals/21796
1766		$cmd = '"' . $cmd . '"';
1792function wfUsePHP( $req_ver ) {
1793	$php_ver = PHP_VERSION;
1794
1795	if ( version_compare( $php_ver, (string)$req_ver, '<' ) )
1796		 throw new MWException( "PHP $req_ver required--this is only $php_ver" );
1797}
1828 * Reimplemented because PHP5's basename() is buggy with multibyte text.
1829 * http://bugs.php.net/bug.php?id=33898
1830 *
default.php http://getk2.googlecode.com/svn/trunk/ | PHP | 329 lines
66					      <td>1.0.1</td>
67					      <td><?php echo JText::_('K2_PHP_CLASS'); ?></td>
68					      <td><?php echo JText::_('K2_BSD'); ?></td>
269			          <td><strong>Finder - K2</strong></td>
270			          <td><?php echo (JFile::exists(JPATH_PLUGINS.DS.'finder'.DS.'k2.php') || JFile::exists(JPATH_PLUGINS.DS.'finder'.DS.'k2'.DS.'k2.php'))?JText::_('K2_INSTALLED'):JText::_('K2_NOT_INSTALLED'); ?> - <?php echo (JPluginHelper::isEnabled('finder', 'k2'))?JText::_('K2_ENABLED'):JText::_('K2_DISABLED'); ?></td>
271			        </tr>
274			          <td><strong>Search - K2</strong></td>
275			          <td><?php echo (JFile::exists(JPATH_PLUGINS.DS.'search'.DS.'k2.php') || JFile::exists(JPATH_PLUGINS.DS.'search'.DS.'k2'.DS.'k2.php'))?JText::_('K2_INSTALLED'):JText::_('K2_NOT_INSTALLED'); ?> - <?php echo (JPluginHelper::isEnabled('search', 'k2'))?JText::_('K2_ENABLED'):JText::_('K2_DISABLED'); ?></td>
276			        </tr>
278			          <td><strong>System - K2</strong></td>
279			          <td><?php echo (JFile::exists(JPATH_PLUGINS.DS.'system'.DS.'k2.php') || JFile::exists(JPATH_PLUGINS.DS.'system'.DS.'k2'.DS.'k2.php'))?JText::_('K2_INSTALLED'):JText::_('K2_NOT_INSTALLED'); ?> - <?php echo (JPluginHelper::isEnabled('system', 'k2'))?JText::_('K2_ENABLED'):JText::_('K2_DISABLED'); ?></td>
280			        </tr>
282			          <td><strong>User - K2</strong></td>
283			          <td><?php echo (JFile::exists(JPATH_PLUGINS.DS.'user'.DS.'k2.php') || JFile::exists(JPATH_PLUGINS.DS.'user'.DS.'k2'.DS.'k2.php'))?JText::_('K2_INSTALLED'):JText::_('K2_NOT_INSTALLED'); ?> - <?php echo (JPluginHelper::isEnabled('user', 'k2'))?JText::_('K2_ENABLED'):JText::_('K2_DISABLED'); ?></td>
284			        </tr>
sfForm.class.php http://selfpublish.googlecode.com/svn/trunk/ | PHP | 1,252 lines
1<?php
2
20 * @author     Fabien Potencier <fabien.potencier@symfony-project.com>
21 * @version    SVN: $Id: sfForm.class.php 15892 2009-03-01 15:41:49Z hartym $
22 */
208
209    if (is_null($this->taintedValues))
210    {
213
214    if (is_null($this->taintedFiles))
215    {
373
374    $decorator = is_null($decorator) ? $widgetSchema->getFormFormatter()->getDecoratorFormat() : $decorator;
375
418
419    $decorator = is_null($decorator) ? $widgetSchema->getFormFormatter()->getDecoratorFormat() : $decorator;
420    $innerDecorator = is_null($innerDecorator) ? $widgetSchema->getFormFormatter()->getDecoratorFormat() : $innerDecorator;
TKTrinhdoctb.php http://tinkerportal.googlecode.com/svn/trunk/ | PHP | 1,927 lines
503	<?php if ($Pager->FirstButton->Enabled) { ?>
504	<td><a href="<?php echo ewrpt_CurrentPage() ?>?start=<?php echo $Pager->FirstButton->Start ?>"><img src="phprptimages/first.gif" alt="<?php echo $ReportLanguage->Phrase("PagerFirst") ?>" width="16" height="16" border="0"></a></td>
505	<?php } else { ?>
532	<td>
533	<span class="phpreportmaker"><?php echo $ReportLanguage->Phrase("Record") ?> <?php echo $Pager->FromIndex ?> <?php echo $ReportLanguage->Phrase("To") ?> <?php echo $Pager->ToIndex ?> <?php echo $ReportLanguage->Phrase("Of") ?> <?php echo $Pager->RecordCount ?></span>
534<?php } else { ?>
584		<td class="ewPointer" onmousedown="ewrpt_Sort(event,'<?php echo $TKTrinhdo->SortUrl($TKTrinhdo->pqlf_name) ?>',2);"><?php echo $TKTrinhdo->pqlf_name->FldCaption() ?></td><td style="width: 10px;">
585		<?php if ($TKTrinhdo->pqlf_name->getSort() == "ASC") { ?><img src="phprptimages/sortup.gif" width="10" height="9" border="0"><?php } elseif ($TKTrinhdo->pqlf_name->getSort() == "DESC") { ?><img src="phprptimages/sortdown.gif" width="10" height="9" border="0"><?php } ?></td>
586<?php } ?>
599		<td class="ewPointer" onmousedown="ewrpt_Sort(event,'<?php echo $TKTrinhdo->SortUrl($TKTrinhdo->qlf_name) ?>',2);"><?php echo $TKTrinhdo->qlf_name->FldCaption() ?></td><td style="width: 10px;">
600		<?php if ($TKTrinhdo->qlf_name->getSort() == "ASC") { ?><img src="phprptimages/sortup.gif" width="10" height="9" border="0"><?php } elseif ($TKTrinhdo->qlf_name->getSort() == "DESC") { ?><img src="phprptimages/sortdown.gif" width="10" height="9" border="0"><?php } ?></td>
601<?php } ?>
789	<td>
790	<span class="phpreportmaker"><?php echo $ReportLanguage->Phrase("Record") ?> <?php echo $Pager->FromIndex ?> <?php echo $ReportLanguage->Phrase("To") ?> <?php echo $Pager->ToIndex ?> <?php echo $ReportLanguage->Phrase("Of") ?> <?php echo $Pager->RecordCount ?></span>
791<?php } else { ?>
Emp_Reports_by_Yearsmry.php http://tinkerportal.googlecode.com/svn/trunk/ | PHP | 1,919 lines
477	<td>
478	<span class="phpreportmaker"><?php echo $ReportLanguage->Phrase("Record") ?> <?php echo $Pager->FromIndex ?> <?php echo $ReportLanguage->Phrase("To") ?> <?php echo $Pager->ToIndex ?> <?php echo $ReportLanguage->Phrase("Of") ?> <?php echo $Pager->RecordCount ?></span>
479<?php } else { ?>
547<?php } ?>
548		<td style="width: 20px;" align="right"><a href="#" onclick="ewrpt_ShowPopup(this.name, 'Emp_Reports_by_Year_department_name', false, '<?php echo $Emp_Reports_by_Year->department_name->RangeFrom; ?>', '<?php echo $Emp_Reports_by_Year->department_name->RangeTo; ?>');return false;" name="x_department_name<?php echo $Emp_Reports_by_Year_summary->Cnt[0][0]; ?>" id="x_department_name<?php echo $Emp_Reports_by_Year_summary->Cnt[0][0]; ?>"><img src="phprptimages/popup.gif" width="15" height="14" border="0" alt="<?php echo $ReportLanguage->Phrase("Filter") ?>"></a></td>
549	</tr></table>
562<?php } ?>
563		<td style="width: 20px;" align="right"><a href="#" onclick="ewrpt_ShowPopup(this.name, 'Emp_Reports_by_Year_year', false, '<?php echo $Emp_Reports_by_Year->year->RangeFrom; ?>', '<?php echo $Emp_Reports_by_Year->year->RangeTo; ?>');return false;" name="x_year<?php echo $Emp_Reports_by_Year_summary->Cnt[0][0]; ?>" id="x_year<?php echo $Emp_Reports_by_Year_summary->Cnt[0][0]; ?>"><img src="phprptimages/popup.gif" width="15" height="14" border="0" alt="<?php echo $ReportLanguage->Phrase("Filter") ?>"></a></td>
564	</tr></table>
668	<tr<?php echo $Emp_Reports_by_Year->RowAttributes(); ?>>
669		<td colspan="5"<?php echo $Emp_Reports_by_Year->department_name->CellAttributes() ?>><?php echo $ReportLanguage->Phrase("RptSumHead") ?> <?php echo $Emp_Reports_by_Year->department_name->FldCaption() ?>: <?php echo $Emp_Reports_by_Year->department_name->GroupViewValue; ?> (<?php echo ewrpt_FormatNumber($Emp_Reports_by_Year_summary->Cnt[1][0],0,-2,-2,-2); ?><?php echo $ReportLanguage->Phrase("RptDtlRec") ?>)</td></tr>
670<?php
739	<td>
740	<span class="phpreportmaker"><?php echo $ReportLanguage->Phrase("Record") ?> <?php echo $Pager->FromIndex ?> <?php echo $ReportLanguage->Phrase("To") ?> <?php echo $Pager->ToIndex ?> <?php echo $ReportLanguage->Phrase("Of") ?> <?php echo $Pager->RecordCount ?></span>
741<?php } else { ?>
IS_Reportssmry.php http://tinkerportal.googlecode.com/svn/trunk/ | PHP | 1,771 lines
453	<td>
454	<span class="phpreportmaker"><?php echo $ReportLanguage->Phrase("Record") ?> <?php echo $Pager->FromIndex ?> <?php echo $ReportLanguage->Phrase("To") ?> <?php echo $Pager->ToIndex ?> <?php echo $ReportLanguage->Phrase("Of") ?> <?php echo $Pager->RecordCount ?></span>
455<?php } else { ?>
523<?php } ?>
524		<td style="width: 20px;" align="right"><a href="#" onclick="ewrpt_ShowPopup(this.name, 'IS_Reports_name', false, '<?php echo $IS_Reports->name->RangeFrom; ?>', '<?php echo $IS_Reports->name->RangeTo; ?>');return false;" name="x_name<?php echo $IS_Reports_summary->Cnt[0][0]; ?>" id="x_name<?php echo $IS_Reports_summary->Cnt[0][0]; ?>"><img src="phprptimages/popup.gif" width="15" height="14" border="0" alt="<?php echo $ReportLanguage->Phrase("Filter") ?>"></a></td>
525	</tr></table>
550		<td class="ewPointer" onmousedown="ewrpt_Sort(event,'<?php echo $IS_Reports->SortUrl($IS_Reports->dob) ?>',2);"><?php echo $IS_Reports->dob->FldCaption() ?></td><td style="width: 10px;">
551		<?php if ($IS_Reports->dob->getSort() == "ASC") { ?><img src="phprptimages/sortup.gif" width="10" height="9" border="0"><?php } elseif ($IS_Reports->dob->getSort() == "DESC") { ?><img src="phprptimages/sortdown.gif" width="10" height="9" border="0"><?php } ?></td>
552<?php } ?>
627	<tr<?php echo $IS_Reports->RowAttributes(); ?>>
628		<td colspan="4"<?php echo $IS_Reports->name->CellAttributes() ?>><?php echo $ReportLanguage->Phrase("RptSumHead") ?> <?php echo $IS_Reports->name->FldCaption() ?>: <?php echo $IS_Reports->name->GroupViewValue; ?> (<?php echo ewrpt_FormatNumber($IS_Reports_summary->Cnt[1][0],0,-2,-2,-2); ?><?php echo $ReportLanguage->Phrase("RptDtlRec") ?>)</td></tr>
629<?php
698	<td>
699	<span class="phpreportmaker"><?php echo $ReportLanguage->Phrase("Record") ?> <?php echo $Pager->FromIndex ?> <?php echo $ReportLanguage->Phrase("To") ?> <?php echo $Pager->ToIndex ?> <?php echo $ReportLanguage->Phrase("Of") ?> <?php echo $Pager->RecordCount ?></span>
700<?php } else { ?>
TKChucdanhsmry.php http://tinkerportal.googlecode.com/svn/trunk/ | PHP | 1,793 lines
454	<td>
455	<span class="phpreportmaker"><?php echo $ReportLanguage->Phrase("Record") ?> <?php echo $Pager->FromIndex ?> <?php echo $ReportLanguage->Phrase("To") ?> <?php echo $Pager->ToIndex ?> <?php echo $ReportLanguage->Phrase("Of") ?> <?php echo $Pager->RecordCount ?></span>
456<?php } else { ?>
524<?php } ?>
525		<td style="width: 20px;" align="right"><a href="#" onclick="ewrpt_ShowPopup(this.name, 'TKChucdanh_name', false, '<?php echo $TKChucdanh->name->RangeFrom; ?>', '<?php echo $TKChucdanh->name->RangeTo; ?>');return false;" name="x_name<?php echo $TKChucdanh_summary->Cnt[0][0]; ?>" id="x_name<?php echo $TKChucdanh_summary->Cnt[0][0]; ?>"><img src="phprptimages/popup.gif" width="15" height="14" border="0" alt="<?php echo $ReportLanguage->Phrase("Filter") ?>"></a></td>
526	</tr></table>
551		<td class="ewPointer" onmousedown="ewrpt_Sort(event,'<?php echo $TKChucdanh->SortUrl($TKChucdanh->Count28tbl__employee2Egender29) ?>',2);"><?php echo $TKChucdanh->Count28tbl__employee2Egender29->FldCaption() ?></td><td style="width: 10px;">
552		<?php if ($TKChucdanh->Count28tbl__employee2Egender29->getSort() == "ASC") { ?><img src="phprptimages/sortup.gif" width="10" height="9" border="0"><?php } elseif ($TKChucdanh->Count28tbl__employee2Egender29->getSort() == "DESC") { ?><img src="phprptimages/sortdown.gif" width="10" height="9" border="0"><?php } ?></td>
553<?php } ?>
565		<td class="ewPointer" onmousedown="ewrpt_Sort(event,'<?php echo $TKChucdanh->SortUrl($TKChucdanh->Count28tbl__profile2Ejoined_party_date29) ?>',2);"><?php echo $TKChucdanh->Count28tbl__profile2Ejoined_party_date29->FldCaption() ?></td><td style="width: 10px;">
566		<?php if ($TKChucdanh->Count28tbl__profile2Ejoined_party_date29->getSort() == "ASC") { ?><img src="phprptimages/sortup.gif" width="10" height="9" border="0"><?php } elseif ($TKChucdanh->Count28tbl__profile2Ejoined_party_date29->getSort() == "DESC") { ?><img src="phprptimages/sortdown.gif" width="10" height="9" border="0"><?php } ?></td>
567<?php } ?>
670	<td>
671	<span class="phpreportmaker"><?php echo $ReportLanguage->Phrase("Record") ?> <?php echo $Pager->FromIndex ?> <?php echo $ReportLanguage->Phrase("To") ?> <?php echo $Pager->ToIndex ?> <?php echo $ReportLanguage->Phrase("Of") ?> <?php echo $Pager->RecordCount ?></span>
672<?php } else { ?>
rpt-summary.php http://tinkerportal.googlecode.com/svn/trunk/ | PHP | 2,224 lines
577		<td<!--##=sJsSort##-->><?php echo $<!--##=sFldObj##-->->FldCaption() ?></td><td style="width: 10px;">
578		<?php if ($<!--##=sFldObj##-->->getSort() == "ASC") { ?><img src="<!--##=ew_FolderPath("_images")##-->/sortup.gif" width="10" height="9" border="0"><?php } elseif ($<!--##=sFldObj##-->->getSort() == "DESC") { ?><img src="<!--##=ew_FolderPath("_images")##-->/sortdown.gif" width="10" height="9" border="0"><?php } ?></td>
579<?php } ?>
580	<!--## If bGenFilter Then ##-->
581		<td style="width: 20px;" align="right"><a href="#" onclick="ewrpt_ShowPopup(this.name, '<!--##=sSessionFldVar##-->', <!--##=sUseRange##-->, '<?php echo $<!--##=sFldObj##-->->RangeFrom; ?>', '<?php echo $<!--##=sFldObj##-->->RangeTo; ?>');return false;" name="<!--##=sFldVar##--><?php echo $<!--##=sPageObj##-->->Cnt[0][0]; ?>" id="<!--##=sFldVar##--><?php echo $<!--##=sPageObj##-->->Cnt[0][0]; ?>"><img src="<!--##=ew_FolderPath("_images")##-->/popup.gif" width="15" height="14" border="0" alt="<!--##@Filter##-->"></a></td>
582	<!--## End If ##-->
630		<td<!--##=sJsSort##-->><?php echo $<!--##=sFldObj##-->->FldCaption() ?></td><td style="width: 10px;">
631		<?php if ($<!--##=sFldObj##-->->getSort() == "ASC") { ?><img src="<!--##=ew_FolderPath("_images")##-->/sortup.gif" width="10" height="9" border="0"><?php } elseif ($<!--##=sFldObj##-->->getSort() == "DESC") { ?><img src="<!--##=ew_FolderPath("_images")##-->/sortdown.gif" width="10" height="9" border="0"><?php } ?></td>
632<?php } ?>
633	<!--## If bGenFilter Then ##-->
634		<td style="width: 20px;" align="right"><a href="#" onclick="ewrpt_ShowPopup(this.name, '<!--##=sSessionFldVar##-->', <!--##=sUseRange##-->, '<?php echo $<!--##=sFldObj##-->->RangeFrom; ?>', '<?php echo $<!--##=sFldObj##-->->RangeTo; ?>');return false;" name="<!--##=sFldVar##--><?php echo $<!--##=sPageObj##-->->Cnt[0][0]; ?>" id="<!--##=sFldVar##--><?php echo $<!--##=sPageObj##-->->Cnt[0][0]; ?>"><img src="<!--##=ew_FolderPath("_images")##-->/popup.gif" width="15" height="14" border="0" alt="<!--##@Filter##-->"></a></td>
635	<!--## End If ##-->
838##-->
839		<td colspan="<!--##=nSlots-i##-->"<?php echo $<!--##=sFldObj##-->->CellAttributes() ?>><!--##@RptSumHead##--> <?php echo $<!--##=sFldObj##-->->FldCaption() ?>: <?php echo $<!--##=sFldObj##-->->GroupViewValue; ?> (<?php echo ewrpt_FormatNumber($<!--##=sPageObj##-->->Cnt[<!--##=lvl##-->][0],0,-2,-2,-2); ?><!--##@RptDtlRec##-->)</td></tr>
840
oci8.php http://railoapacheportable.googlecode.com/svn/trunk/ | PHP | 1,514 lines
1<?php
2// vim: set et ts=4 sw=4 fdm=marker:
10// | MDB2 is a merge of PEAR DB and Metabases that provides a unified DB  |
11// | API as well as database abstraction for PHP applications.            |
12// | This LICENSE is in the BSD license style.                            |
45
46// $Id: oci8.php,v 1.192 2007/03/04 22:27:11 quipo Exp $
47
72
73        $this->phptype = 'oci8';
74        $this->dbsyntax = 'oci8';
126        $native_msg  = $error_data['message'];
127        if (is_null($error)) {
128            static $ecode_map;
322            return $this->raiseError(MDB2_ERROR_NOT_FOUND, null, null,
323                'extension '.$this->phptype.' is not compiled into PHP', __FUNCTION__);
324        }
Queue.php https://moodleazure.svn.codeplex.com/svn | PHP | 553 lines
1<?php
2/**
32 * @license    http://todo     name_todo
33 * @version    $Id: Blob.php 24241 2009-07-22 09:43:13Z unknown $
34 */
38 */
39require_once 'Microsoft/WindowsAzure/SharedKeyCredentials.php';
40
43 */
44require_once 'Microsoft/WindowsAzure/RetryPolicy.php';
45
48 */
49require_once 'Microsoft/Http/Transport.php';
50
53 */
54require_once 'Microsoft/Http/Response.php';
55
adodb-session2.php git://github.com/indowebit/Ext-PHP.git | PHP | 945 lines
1<?php
2
58if (!defined('_ADODB_LAYER')) {
59	require realpath(dirname(__FILE__) . '/../adodb.inc.php');
60}
67/* 
68	Unserialize session data manually. See http://phplens.com/lens/lensforum/msgs.php?id=9821 
69	
86/*
87	Thanks Joe Li. See http://phplens.com/lens/lensforum/msgs.php?id=11487&x=1
88	Since adodb 4.61.
119    Generate database table for session data
120    @see http://phplens.com/lens/lensforum/msgs.php?id=12280
121    @return 0 if failure, 1 if errors, 2 if successful.
150	
151		if (!is_null($lock)) $_lock = $lock;
152		return $lock;
db.php git://github.com/unirgy/buckyball.git | PHP | 2,641 lines
1<?php
2/**
260    {
261        if (!is_null($connectionName)) {
262            BDb::connect($connectionName);
301            $row = $r->$method();
302            if (!is_null($fields)) $row = BUtil::arrayMask($row, $fields, $maskInverse);
303            $res[$i] = $row;
794*
795* @see http://us.php.net/manual/en/pdo.connections.php#94100
796* @see http://www.kennynet.co.uk/2008/12/02/php-pdo-nested-transactions/
1302            || is_null($this->_data[$key]) && !is_null($value)
1303            || !is_null($this->_data[$key]) && is_null($value)
1304            || is_scalar($this->_data[$key]) && is_scalar($value)
1762            }
1763            if (is_scalar($key) && (!is_null($flag) || is_null($this->get($key)))) {
1764                parent::set($key, $value);
Queue.php git://github.com/centurion-project/Centurion.git | PHP | 547 lines
1<?php
2/**
19 * @license    http://todo     name_todo
20 * @version    $Id: Blob.php 24241 2009-07-22 09:43:13Z unknown $
21 */
25 */
26//$1 'Zend/Service/WindowsAzure/Credentials/SharedKey.php';
27
30 */
31//$1 'Zend/Service/WindowsAzure/RetryPolicy/RetryPolicyAbstract.php';
32
35 */
36//$1 'Zend/Http/Client.php';
37
40 */
41//$1 'Zend/Http/Response.php';
42
Consumer.php git://github.com/centurion-project/Centurion.git | PHP | 272 lines
1<?php
2/**
22/** Zend_Oauth */
23//$1 'Zend/Oauth.php';
24
25/** Zend_Uri */
26//$1 'Zend/Uri.php';
27
28/** Zend_Oauth_Http_RequestToken */
29//$1 'Zend/Oauth/Http/RequestToken.php';
30
31/** Zend_Oauth_Http_UserAuthorization */
32//$1 'Zend/Oauth/Http/UserAuthorization.php';
33
34/** Zend_Oauth_Http_AccessToken */
35//$1 'Zend/Oauth/Http/AccessToken.php';
36
Container.php git://github.com/KrynLabs/Kryn.cms.git | PHP | 777 lines
1<?php
2// +---------------------------------------------------------------------+
4// +---------------------------------------------------------------------+
5// | Copyright (c) 1997, 1998, 1999, 2000, 2001 The PHP Group            |
6// +---------------------------------------------------------------------+
6// +---------------------------------------------------------------------+
7// | This source file is subject to version 2.0 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// +---------------------------------------------------------------------+
404    {
405        if (is_null($type) && is_null($name)) {
406            return count($this->children);
index.php git://github.com/thorsten/phpMyFAQ.git | PHP | 381 lines
1<?php
2
10 * @package phpMyFAQ
11 * @author Thorsten Rinne <thorsten@phpmyfaq.de>
12 * @author Bastian Poettner <bastian@poettner.net>
14 * @author Minoru TODA <todam@netjapan.co.jp>
15 * @author Matteo Scaramuccia <matteo@phpmyfaq.de>
16 * @copyright 2002-2020 phpMyFAQ Team
17 * @license http://www.mozilla.org/MPL/2.0/ Mozilla Public License Version 2.0
18 * @link https://www.phpmyfaq.de
19 * @since 2002-09-16
21
22use phpMyFAQ\Attachment\AttachmentFactory;
23use phpMyFAQ\Auth\AuthLdap;
138// Login via local DB or LDAP or SSO
139if (!is_null($faqusername) && !is_null($faqpassword)) {
140    $user = new CurrentUser($faqConfig);
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21