PageRenderTime 796ms queryTime 55ms sortTime 304ms getByIdsTime 73ms findMatchingLines 117ms

100+ results results for 'php abs' (796 ms)

Not the results you expected?
Url.php https://gitlab.com/x33n/respond | PHP | 548 lines
                    
1<?php
                    
2
                    
458    /**
                    
459     * Check if this is an absolute URL
                    
460     *
                    
462     */
                    
463    public function isAbsolute()
                    
464    {
                    
486        // Use the more absolute URL as the base URL
                    
487        if (!$this->isAbsolute() && $url->isAbsolute()) {
                    
488            $url = $url->combine($this);
                    
                
Pager.php https://github.com/cawago/ci_campusync_auth.git | PHP | 576 lines
                    
1<?php
                    
2/*
                    
18 * and is licensed under the LGPL. For more information, see
                    
19 * <http://www.phpdoctrine.org>.
                    
20 */
                    
27 * @subpackage  Pager
                    
28 * @license     http://www.opensource.org/licenses/lgpl-license.php LGPL
                    
29 * @version     $Revision$
                    
29 * @version     $Revision$
                    
30 * @link        www.phpdoctrine.org
                    
31 * @since       0.9
                    
421        } else {
                    
422            $this->_maxPerPage = abs($max);
                    
423        }
                    
445
                    
446        return abs($this->getNumResults() - $offset);
                    
447    }
                    
                
sweetalert2.css https://gitlab.com/ptisky/API_prestashop | CSS | 595 lines
                    
8 * It is also available through the world-wide-web at this URL:
                    
9 * http://opensource.org/licenses/afl-3.0.php
                    
10 * If you did not receive a copy of the license and are unable to
                    
21 * @copyright 2015-2016 Cubyn
                    
22 * @license   http://opensource.org/licenses/afl-3.0.php  Academic Free License (AFL 3.0)
                    
23 */
                    
119      .sweet-alert .icon.error .line {
                    
120        position: absolute;
                    
121        height: 5px;
                    
139      .sweet-alert .icon.warning .body {
                    
140        position: absolute;
                    
141        width: 5px;
                    
148      .sweet-alert .icon.warning .dot {
                    
149        position: absolute;
                    
150        width: 7px;
                    
                
ez_sql_core.php https://github.com/LamCiuLoeng/BookShare.git | PHP | 552 lines
                    
1<?php
                    
2
                    
6	*  Name..: ezSQL
                    
7	*  Desc..: ezSQL Core module - database abstraction library to make
                    
8	*          it very easy to deal with databases. ezSQLcore can not be used by 
                    
404		* table listing results (if there were any).
                    
405		* (abstracted into a seperate file to save server overhead).
                    
406		*/
                    
                
header.tmpl.php https://github.com/harriswong/ATutor.git | PHP | 237 lines
                    
56	<?php if ($system_courses[$_SESSION['course_id']]['rss']): ?>
                    
57	<link rel="alternate" type="application/rss+xml" title="<?php echo SITE_NAME; ?> - RSS 2.0" href="<?php echo $this->base_path; ?>get_rss.php?<?php echo $_SESSION['course_id']; ?>-2" />
                    
58	<link rel="alternate" type="application/rss+xml" title="<?php echo SITE_NAME; ?> - RSS 1.0" href="<?php echo $this->base_path; ?>get_rss.php?<?php echo $_SESSION['course_id']; ?>-1" />
                    
87			<?php if (get_num_new_messages()): ?>
                    
88				<strong><a href="<?php echo $this->base_path; ?>inbox/index.php"><?php echo _AT('inbox'); ?> - <?php echo get_num_new_messages(); ?></a></strong> | 
                    
89			<?php else: ?>
                    
102		<a href="<?php echo $this->base_path; ?>browse.php"><?php echo _AT('browse_courses'); ?></a> | 
                    
103		<a href="<?php echo $this->base_path; ?>login.php?course=<?php echo $_SESSION['course_id']; ?>"><?php echo _AT('login'); ?></a> | 
                    
104		<a href="<?php echo $this->base_path; ?>search.php"><?php echo _AT('search'); ?></a> | 
                    
219		<?php if ($this->sequence_links['resume']): ?>
                    
220				<a style="color:white;" href="<?php echo $this->sequence_links['resume']['url']; ?>" accesskey="."><img src="<?php echo $this->img; ?>resume.gif" border="0" title="<?php echo _AT('resume').': '.$this->sequence_links['resume']['title']; ?> Alt+." alt="<?php echo $this->sequence_links['resume']['title']; ?> Alt+." class="img-size-ascdesc" /></a>
                    
221		<?php else:
                    
222			if ($this->sequence_links['previous']): ?>
                    
223				<a href="<?php echo $this->sequence_links['previous']['url']; ?>" title="<?php echo _AT('previous_topic').': '. $this->sequence_links['previous']['title']; ?> Alt+," accesskey=","><img src="<?php echo $this->img; ?>previous.gif" border="0" alt="<?php echo _AT('previous_topic').': '. $this->sequence_links['previous']['title']; ?> Alt+," class="img-size-ascdesc" /></a>
                    
224			<?php endif;
                    
                
eventapi.html.md https://gitlab.com/ggsaavedra/PredictionIO | Markdown | 412 lines
                    
88
                    
89<div class="tabs">
                    
90  <div data-tab="Raw HTTP" data-lang="bash">
                    
109  </div>
                    
110  <div data-tab="PHP SDK" data-lang="php">
                    
111```php
                    
111```php
                    
112<?php
                    
113  require_once("vendor/autoload.php");
                    
185
                    
186<div class="tabs">
                    
187  <div data-tab="Raw HTTP" data-lang="bash">
                    
204  </div>
                    
205  <div data-tab="PHP SDK" data-lang="php">
                    
206```php
                    
                
Advertiser.php https://bitbucket.org/blackriver/openx.git | PHP | 371 lines
                    
1<?php
                    
2
                    
35// Required classes
                    
36require_once MAX_PATH . '/lib/OA/Dal/Statistics.php';
                    
37
                    
38/**
                    
39 * The Data Abstraction Layer (DAL) class for statistics for Advertiser.
                    
40 */
                    
                
VarCloner.php https://gitlab.com/nzqadri/bejeep | PHP | 324 lines
                    
1<?php
                    
2
                    
16 */
                    
17class VarCloner extends AbstractCloner
                    
18{
                    
148                    case 'object':
                    
149                        if (empty($objRefs[$h = $zval['object_handle'] ?: ($hashMask ^ hexdec(substr(spl_object_hash($v), $hashOffset, PHP_INT_SIZE)))])) {
                    
150                            $stub = new Stub();
                    
164                                } else {
                    
165                                    $h = $hashMask ^ hexdec(substr(spl_object_hash($stub->value), $hashOffset, PHP_INT_SIZE));
                    
166                                }
                    
300        $obj = (object) array();
                    
301        self::$hashOffset = 16 - PHP_INT_SIZE;
                    
302        self::$hashMask = -1;
                    
321
                    
322        self::$hashMask ^= hexdec(substr(spl_object_hash($obj), self::$hashOffset, PHP_INT_SIZE));
                    
323    }
                    
                
ImageMagick.php https://gitlab.com/crazybutterfly815/magento2 | PHP | 480 lines
                    
1<?php
                    
2/**
                    
7
                    
8class ImageMagick extends \Magento\Framework\Image\Adapter\AbstractAdapter
                    
9{
                    
17     */
                    
18    const ERROR_WATERMARK_IMAGE_ABSENT = 'Watermark Image absent.';
                    
19
                    
126    /**
                    
127     * @see \Magento\Framework\Image\Adapter\AbstractAdapter::getImage
                    
128     * @return string
                    
237     * @throws \Exception
                    
238     * @SuppressWarnings(PHPMD.CyclomaticComplexity)
                    
239     * @SuppressWarnings(PHPMD.NPathComplexity)
                    
438
                    
439        $height = abs($metrics['ascender']) + abs($metrics['descender']);
                    
440        $image->newImage($metrics['textWidth'], $height, $background);
                    
                
ContributionPage.php https://github.com/michaelmcandrew/vaw.git | PHP | 354 lines
                    
1<?php
                    
2
                    
36
                    
37require_once 'CRM/Core/Form.php';
                    
38require_once 'CRM/Core/PseudoConstant.php';
                    
38require_once 'CRM/Core/PseudoConstant.php';
                    
39require_once 'CRM/Contribute/PseudoConstant.php';
                    
40
                    
114
                    
115        // set up tabs
                    
116        require_once 'CRM/Contribute/Form/ContributionPage/TabHeader.php';
                    
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 ) ) {
                    
                
Command.php https://bitbucket.org/maatao/estrutura-b-sica-doctrine.git | PHP | 512 lines
                    
1<?php
                    
2
                    
88     *
                    
89     * @throws \LogicException When this abstract class is not implemented
                    
90     */
                    
378            $name,
                    
379            $_SERVER['PHP_SELF'].' '.$name
                    
380        );
                    
                
FinderTest.php https://github.com/Exercise/symfony.git | PHP | 333 lines
                    
48        $this->assertSame($finder, $finder->files());
                    
49        $this->assertIterator($this->toAbsolute(array('foo/bar.tmp', 'test.php', 'test.py')), $finder->in(self::$tmpDir)->getIterator());
                    
50
                    
54        $finder->files();
                    
55        $this->assertIterator($this->toAbsolute(array('foo/bar.tmp', 'test.php', 'test.py')), $finder->in(self::$tmpDir)->getIterator());
                    
56    }
                    
125        $this->assertSame($finder, $finder->exclude('foo'));
                    
126        $this->assertIterator($this->toAbsolute(array('test.php', 'test.py', 'toto')), $finder->in(self::$tmpDir)->getIterator());
                    
127    }
                    
190        $this->assertSame($finder, $finder->sort(function (\SplFileInfo $a, \SplFileInfo $b) { return strcmp($a->getRealpath(), $b->getRealpath()); }));
                    
191        $this->assertIterator($this->toAbsolute(array('foo', 'foo/bar.tmp', 'test.php', 'test.py', 'toto')), $finder->in(self::$tmpDir)->getIterator());
                    
192    }
                    
224
                    
225        $this->assertIterator(array(self::$tmpDir.DIRECTORY_SEPARATOR.'test.php', __DIR__.DIRECTORY_SEPARATOR.'FinderTest.php', __DIR__.DIRECTORY_SEPARATOR.'bootstrap.php', __DIR__.DIRECTORY_SEPARATOR.'GlobTest.php'), $iterator);
                    
226    }
                    
                
Abstract.php https://bitbucket.org/kudutest1/moodlegit.git | PHP | 456 lines
                    
24 */
                    
25require_once 'Zend/Validate/Interface.php';
                    
26
                    
32 */
                    
33abstract class Zend_Validate_Abstract implements Zend_Validate_Interface
                    
34{
                    
137     * @param  string $messageKey     OPTIONAL
                    
138     * @return Zend_Validate_Abstract Provides a fluent interface
                    
139     * @throws Zend_Validate_Exception
                    
151        if (!isset($this->_messageTemplates[$messageKey])) {
                    
152            require_once 'Zend/Validate/Exception.php';
                    
153            throw new Zend_Validate_Exception("No message template exists for key '$messageKey'");
                    
193         */
                    
194        require_once 'Zend/Validate/Exception.php';
                    
195        throw new Zend_Validate_Exception("No property exists by the name '$property'");
                    
                
File.php https://github.com/Martin1982/IBMessagingWorkshopServer.git | PHP | 473 lines
                    
1<?php
                    
2/**
                    
19 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
20 * @version    $Id: File.php 20096 2010-01-06 02:05:09Z bkarwin $
                    
21 */
                    
29 */
                    
30abstract class Zend_Search_Lucene_Storage_File
                    
31{
                    
38     */
                    
39    abstract protected function _fread($length=1);
                    
40
                    
57     */
                    
58    abstract public function seek($offset, $whence=SEEK_SET);
                    
59
                    
64     */
                    
65    abstract public function tell();
                    
66
                    
                
Location.js https://github.com/stephaneerard/qooxdoo.git | JavaScript | 406 lines
                    
11     LGPL: http://www.gnu.org/licenses/lgpl.html
                    
12     EPL: http://www.eclipse.org/org/documents/epl-v10.php
                    
13     See the LICENSE file in the project's top-level directory for details.
                    
242      document.body.innerHTML =
                    
243      '<div id="absolute1" style="position: absolute; top: 300px; left: 400px; margin: 5px; border: 2px solid #000; padding: 3px; width: 100px; height: 100px;">' +
                    
244      ' <div id="relative1" style="position: relative; top: 50px; left: 50px; margin: 5px; border: 2px solid #000; padding: 3px; width: 300px; height: 300px;">' +
                    
246      '     <div id="relative2" style="overflow: auto; position: relative; top: 10px; left: 10px; margin: 5px; border: 2px solid #000; padding: 3px; width: 200px; height: 200px;">' +
                    
247      '       <div id="absolute2" style="position: absolute; top: 30px; left: -90px; margin: 5px; border: 2px solid #000; padding: 3px; width: 200px; height: 200px;">' +
                    
248      '         <div id="static2" style="position: static; margin: 10px; border: 2px solid #000; padding: 3px; width: 250px; height: 250px;">' +
                    
255
                    
256      var absolute1 = document.getElementById("absolute1");
                    
257      var pos = qx.bom.element.Location.get(absolute1);
                    
292
                    
293      var absolute2 = document.getElementById("absolute2");
                    
294      var pos = qx.bom.element.Location.get(absolute2);
                    
                
File.php https://github.com/Riges/KawaiViewModel.git | PHP | 468 lines
                    
25 */
                    
26require_once 'Zend/CodeGenerator/Php/Abstract.php';
                    
27
                    
38 */
                    
39class Zend_CodeGenerator_Php_File extends Zend_CodeGenerator_Php_Abstract
                    
40{
                    
86        if ($fileName == '') {
                    
87            require_once 'Zend/CodeGenerator/Php/Exception.php';
                    
88            throw new Zend_CodeGenerator_Php_Exception('FileName does not exist.');
                    
293            require_once 'Zend/CodeGenerator/Php/Exception.php';
                    
294            throw new Zend_CodeGenerator_Php_Exception('Expecting either an array or an instance of Zend_CodeGenerator_Php_Class');
                    
295        }
                    
460        if ($this->_filename == '' || !is_writable(dirname($this->_filename))) {
                    
461            require_once 'Zend/CodeGenerator/Php/Exception.php';
                    
462            throw new Zend_CodeGenerator_Php_Exception('This code generator object is not writable.');
                    
                
web.php https://github.com/XioNoX/Benevolus.git | PHP | 509 lines
                    
1<?php
                    
2
                    
3/**
                    
4	Web pack for the PHP Fat-Free Framework
                    
5
                    
75				function($url) use($path,$file) {
                    
76					// Ignore absolute URLs
                    
77					if (preg_match('/https?:/',$url[2]))
                    
205		if ($echo) {
                    
206			if (PHP_SAPI!='cli' && !headers_sent())
                    
207				header(self::HTTP_Content.': '.$mime[$ext[1]].'; '.
                    
295				self::HTTP_Agent.': Mozilla/5.0 '.
                    
296					'(compatible;'.PHP_OS.')'.self::EOL.
                    
297				($reqhdrs?
                    
330					self::$vars['HEADERS'][]=$hdr;
                    
331					if (PHP_SAPI!='cli' && $forward)
                    
332						// Forward HTTP header
                    
                
File.php https://github.com/testruby/Tine-2.0-Open-Source-Groupware-and-CRM.git | PHP | 473 lines
                    
1<?php
                    
2/**
                    
19 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
20 * @version    $Id: File.php 10020 2009-08-18 14:34:09Z j.fischer@metaways.de $
                    
21 */
                    
29 */
                    
30abstract class Zend_Search_Lucene_Storage_File
                    
31{
                    
38     */
                    
39    abstract protected function _fread($length=1);
                    
40
                    
57     */
                    
58    abstract public function seek($offset, $whence=SEEK_SET);
                    
59
                    
64     */
                    
65    abstract public function tell();
                    
66
                    
                
auth_tkt.py https://bitbucket.org/eaviles/gobierno.git | Python | 380 lines
                    
1# (c) 2005 Ian Bicking and contributors; written for Paste (http://pythonpaste.org)
                    
2# Licensed under the MIT license: http://www.opensource.org/licenses/mit-license.php
                    
3##########################################################################
                    
27Implementation of cookie signing as done in `mod_auth_tkt
                    
28<http://www.openfusion.com.au/labs/mod_auth_tkt/>`_.
                    
29
                    
194    Middleware that checks for signed cookies that match what
                    
195    `mod_auth_tkt <http://www.openfusion.com.au/labs/mod_auth_tkt/>`_
                    
196    looks for (if you have mod_auth_tkt installed, you don't need this
                    
                
NetClient.php https://gitlab.com/wuhang2003/rainloop-webmail | PHP | 629 lines
                    
1<?php
                    
2
                    
17 */
                    
18abstract class NetClient
                    
19{
                    
187	 */
                    
188	public function capturePhpErrorWithException($iErrNo, $sErrStr, $sErrFile, $iErrLine)
                    
189	{
                    
270
                    
271		\set_error_handler(array(&$this, 'capturePhpErrorWithException'));
                    
272
                    
                
SqlBase.php https://gitlab.com/andecode/theme-spark | PHP | 415 lines
                    
1<?php
                    
2
                    
15 */
                    
16abstract class SqlBase extends PagerPluginBase implements CacheableDependencyInterface, ContainerFactoryPluginInterface {
                    
17
                    
                
ZMO.php https://github.com/ThiloWitt/core.git | PHP | 548 lines
                    
1<?php
                    
2/**
                    
18 * It can read MO files and use them for translating strings.
                    
19 * The files are passed to gettext_reader as a Stream (see streams.php)
                    
20 *
                    
49     *
                    
50     * @var StreamReader_Abstract
                    
51     */
                    
130     *
                    
131     * @param StreamReader_Abstract $reader       The StreamReader object.
                    
132     * @param boolean               $enable_cache Enable or disable caching of strings (default on).
                    
133     */
                    
134    public function __construct(StreamReader_Abstract $reader, $enable_cache = true)
                    
135    {
                    
148        if ($magic == -1794895138 || $magic == 2500072158) {
                    
149            // (int)0x950412de; PHP 5.2 wont convert this properly
                    
150            $this->byteorder = 0;
                    
                
bp-loader.php https://bitbucket.org/codemen_iftekhar/codemen.git | PHP | 487 lines
                    
86	/**
                    
87	 * The absolute path and filename of this file.
                    
88	 *
                    
104	/**
                    
105	 * @var string Absolute path to the BuddyPress themes directory
                    
106	 */
                    
354		// Load the WP abstraction file so BuddyPress can run on all WordPress setups.
                    
355		require( BP_PLUGIN_DIR . '/bp-core/bp-core-wpabstraction.php' );
                    
356
                    
414			// Require all of the BuddyPress core libraries
                    
415			require( $this->plugin_dir . 'bp-core/bp-core-actions.php'    );
                    
416			require( $this->plugin_dir . 'bp-core/bp-core-caps.php'       );
                    
435			if ( false !== $this->load_deprecated ) {
                    
436				require( $this->plugin_dir . 'bp-core/deprecated/1.5.php' );
                    
437				require( $this->plugin_dir . 'bp-core/deprecated/1.6.php' );
                    
                
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 */
                    
24/**
                    
25 * @see Zend_Db_Adapter_Pdo_Abstract
                    
26 */
                    
26 */
                    
27#require_once 'Zend/Db/Adapter/Pdo/Abstract.php';
                    
28
                    
38 */
                    
39class Zend_Db_Adapter_Pdo_Pgsql extends Zend_Db_Adapter_Pdo_Abstract
                    
40{
                    
251             */
                    
252            #require_once 'Zend/Db/Adapter/Exception.php';
                    
253            throw new Zend_Db_Adapter_Exception("LIMIT argument count=$count is not valid");
                    
                
AbstractClassMetadataFactory.php https://github.com/nattaphat/hgis.git | PHP | 389 lines
                    
1<?php
                    
2/*
                    
29 *
                    
30 * This class was abstracted from the ORM ClassMetadataFactory
                    
31 *
                    
37 */
                    
38abstract class AbstractClassMetadataFactory implements ClassMetadataFactory
                    
39{
                    
123     */
                    
124    abstract protected function initialize();
                    
125
                    
132     */
                    
133    abstract protected function getFqcnFromAlias($namespaceAlias, $simpleClassName);
                    
134
                    
139     */
                    
140    abstract protected function getDriver();
                    
141
                    
                
Pgsql.php https://github.com/grjones/qframe.git | PHP | 336 lines
                    
1<?php
                    
2/**
                    
19 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
20 * @version    $Id: Pgsql.php 22789 2010-08-03 19:01:10Z ramon $
                    
21 */
                    
24/**
                    
25 * @see Zend_Db_Adapter_Pdo_Abstract
                    
26 */
                    
26 */
                    
27require_once 'Zend/Db/Adapter/Pdo/Abstract.php';
                    
28
                    
38 */
                    
39class Zend_Db_Adapter_Pdo_Pgsql extends Zend_Db_Adapter_Pdo_Abstract
                    
40{
                    
251             */
                    
252            require_once 'Zend/Db/Adapter/Exception.php';
                    
253            throw new Zend_Db_Adapter_Exception("LIMIT argument count=$count is not valid");
                    
                
ext_std_classobj.cpp https://gitlab.com/iranjith4/hhvm | C++ | 385 lines
                    
2   +----------------------------------------------------------------------+
                    
3   | HipHop for PHP                                                       |
                    
4   +----------------------------------------------------------------------+
                    
5   | Copyright (c) 2010-2016 Facebook, Inc. (http://www.facebook.com)     |
                    
6   | Copyright (c) 1997-2010 The PHP Group                                |
                    
7   +----------------------------------------------------------------------+
                    
7   +----------------------------------------------------------------------+
                    
8   | This source file is subject to version 3.01 of the PHP license,      |
                    
9   | that is bundled with this package in the file LICENSE, and is        |
                    
10   | available through the world-wide-web at the following url:           |
                    
11   | http://www.php.net/license/3_01.txt                                  |
                    
12   | If you did not receive a copy of the PHP license and are unable to   |
                    
13   | obtain it through the world-wide-web, please send a note to          |
                    
14   | license@php.net so we can mail you a copy immediately.               |
                    
15   +----------------------------------------------------------------------+
                    
                
class-gf-field-checkbox.php https://gitlab.com/level-level/gravityforms | PHP | 380 lines
                    
1<?php
                    
2
                    
37
                    
38		$form_id         = absint( $form['id'] );
                    
39		$is_entry_detail = $this->is_entry_detail();
                    
93		//if this is the main checkbox field (not an input), display a comma separated list of all inputs
                    
94		if ( absint( $field_id ) == $field_id ) {
                    
95			$lead_field_keys = array_keys( $entry );
                    
97			foreach ( $lead_field_keys as $input_id ) {
                    
98				if ( is_numeric( $input_id ) && absint( $input_id ) == $field_id ) {
                    
99					$items[] = GFCommon::selection_display( rgar( $entry, $input_id ), null, $entry['currency'], false );
                    
283		if ( $this->type === 'option' ) {
                    
284			$this->productField = absint( $this->productField );
                    
285		}
                    
322			//mark as a tick if input label (from form meta) is equal to submitted value (from lead)
                    
323			if ( is_numeric( $input_id ) && absint( $input_id ) == absint( $field_id ) ) {
                    
324				$sanitized_value = wp_kses( $entry[ $input_id ], $allowed_tags );
                    
                
HeadStyle.php https://github.com/sidealice/zf2.git | PHP | 426 lines
                    
1<?php
                    
2/**
                    
31 * @uses       stdClass
                    
32 * @uses       \Zend\View\Helper\Placeholder\Container\AbstractContainer
                    
33 * @uses       \Zend\View\Helper\Placeholder\Container\Exception
                    
84     *
                    
85     * Set separator to PHP_EOL.
                    
86     *
                    
91        parent::__construct();
                    
92        $this->setSeparator(PHP_EOL);
                    
93    }
                    
274     */
                    
275    public function captureStart($type = Placeholder\Container\AbstractContainer::APPEND, $attrs = null)
                    
276    {
                    
301        switch ($this->_captureType) {
                    
302            case Placeholder\Container\AbstractContainer::SET:
                    
303                $this->setStyle($content, $attrs);
                    
                
Attribute.php https://github.com/rgranadino/magento-mirror.git | PHP | 400 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 */
                    
113     * @throws Mage_Core_Exception
                    
114     * @return Mage_Core_Model_Abstract
                    
115     */
                    
143     *
                    
144     * @return Mage_Core_Model_Abstract
                    
145     */
                    
274     *
                    
275     * @return Mage_Eav_Model_Entity_Attribute_Source_Abstract
                    
276     */
                    
                
options.php https://gitlab.com/alexprowars/bitrix | PHP | 479 lines
                    
1<?php
                    
2$module_id = 'landing';
                    
23// lang
                    
24IncludeModuleLangFile($docRoot . '/bitrix/modules/main/options.php');
                    
25Loc::loadMessages(__FILE__);
                    
195
                    
196	// tabs
                    
197	$tabControl = new \CAdmintabControl('tabControl', array(
                    
333		ob_start();
                    
334		require_once($docRoot . '/bitrix/modules/main/admin/group_rights.php');
                    
335		ob_end_clean();
                    
464	$tabControl->BeginNextTab();
                    
465	require_once($docRoot . '/bitrix/modules/main/admin/group_rights.php');
                    
466
                    
                
componentbase.php https://gitlab.com/alexprowars/bitrix | PHP | 558 lines
                    
1<?php
                    
2
                    
11
                    
12abstract class ComponentBase
                    
13	extends \CBitrixComponent
                    
135	 */
                    
136	protected function checkPermissionEditPhp()
                    
137	{
                    
141			{
                    
142				$this->sendJsonResponse(new Error(Loc::getMessage('TRANSLATE_FILTER_ERROR_PHP_EDIT_RIGHTS'), self::STATUS_DENIED));
                    
143			}
                    
198		{
                    
199			$params['SHOW_SOURCE_PATH'] = '/bitrix/admin/translate_show_php.php';
                    
200		}
                    
202		{
                    
203			$params['EDIT_SOURCE_PATH'] = '/bitrix/admin/translate_edit_php.php';
                    
204		}
                    
                
MappingInfo.php https://gitlab.com/cserobiul/BITM-LabMs-New | PHP | 517 lines
                    
1<?php
                    
2
                    
16  public function __construct() {
                    
17    if (session_status() == PHP_SESSION_NONE) {
                    
18      session_start();
                    
204     // Lab busy ?
                    
205  public function labShedule(){
                    
206    try{
                    
                
internal-link-aliases.php https://gitlab.com/phamngsinh/baitaplon_sinhvien | PHP | 374 lines
                    
1<?php
                    
2
                    
34		if (suwp::permalink_mode() != SUWP_PRETTY_PERMALINKS)
                    
35			$this->print_message('error', sprintf(__('Link Mask Generator won&#8217;t work with default or &#8220;pathinfo&#8221; permalinks. Please change your <a href="%s">permalink structure</a> to enable this module&#8217;s functionality.', 'seo-ultimate'), 'options-permalink.php'));
                    
36		
                    
36		
                    
37		$this->children_admin_page_tabs_form();
                    
38	}
                    
39	
                    
40	function get_admin_page_tabs() {
                    
41		return array(
                    
321	
                    
322	function add_help_tabs($screen) {
                    
323		
                    
                
Pgsql.php https://github.com/Doap/iCms---intelligent-Content-management-system.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 */
                    
24/**
                    
25 * @see Zend_Db_Adapter_Pdo_Abstract
                    
26 */
                    
26 */
                    
27require_once 'Zend/Db/Adapter/Pdo/Abstract.php';
                    
28
                    
38 */
                    
39class Zend_Db_Adapter_Pdo_Pgsql extends Zend_Db_Adapter_Pdo_Abstract
                    
40{
                    
251             */
                    
252            require_once 'Zend/Db/Adapter/Exception.php';
                    
253            throw new Zend_Db_Adapter_Exception("LIMIT argument count=$count is not valid");
                    
                
Collection.php https://gitlab.com/crazybutterfly815/magento2 | PHP | 347 lines
                    
1<?php
                    
2/**
                    
14 * Sales Rules resource collection model.
                    
15 * @SuppressWarnings(PHPMD.CouplingBetweenObjects)
                    
16 */
                    
16 */
                    
17class Collection extends \Magento\Rule\Model\ResourceModel\Rule\Collection\AbstractCollection
                    
18{
                    
42     * @param mixed $connection
                    
43     * @param \Magento\Framework\Model\ResourceModel\Db\AbstractDb $resource
                    
44     */
                    
51        \Magento\Framework\DB\Adapter\AdapterInterface $connection = null,
                    
52        \Magento\Framework\Model\ResourceModel\Db\AbstractDb $resource = null
                    
53    ) {
                    
126     * @use $this->addWebsiteGroupDateFilter()
                    
127     * @SuppressWarnings(PHPMD.UnusedFormalParameter)
                    
128     * @return $this
                    
                
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 */
                    
24/**
                    
25 * @see Zend_Db_Adapter_Pdo_Abstract
                    
26 */
                    
26 */
                    
27require_once 'Zend/Db/Adapter/Pdo/Abstract.php';
                    
28
                    
38 */
                    
39class Zend_Db_Adapter_Pdo_Pgsql extends Zend_Db_Adapter_Pdo_Abstract
                    
40{
                    
251             */
                    
252            require_once 'Zend/Db/Adapter/Exception.php';
                    
253            throw new Zend_Db_Adapter_Exception("LIMIT argument count=$count 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 */
                    
24/**
                    
25 * @see Zend_Db_Adapter_Pdo_Abstract
                    
26 */
                    
26 */
                    
27require_once 'Zend/Db/Adapter/Pdo/Abstract.php';
                    
28
                    
38 */
                    
39class Zend_Db_Adapter_Pdo_Pgsql extends Zend_Db_Adapter_Pdo_Abstract
                    
40{
                    
251             */
                    
252            require_once 'Zend/Db/Adapter/Exception.php';
                    
253            throw new Zend_Db_Adapter_Exception("LIMIT argument count=$count is not valid");
                    
                
ClientesController.php https://gitlab.com/fabiorf/fsipedidos | PHP | 320 lines
                    
1<?php
                    
2 
                    
2 
                    
3// namespace de localizacao clientesController.php
                    
4namespace Cliente\Controller;
                    
5 
                    
6use Zend\Mvc\Controller\AbstractActionController;
                    
7use Propel;
                    
8 
                    
9class ClientesController extends AbstractActionController
                    
10{
                    
                
SelectableAssociationTrait.php https://gitlab.com/alexandresgv/siteentec | PHP | 341 lines
                    
1<?php
                    
2/**
                    
2/**
                    
3 * CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
                    
4 * Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
                    
10 * @copyright     Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
                    
11 * @link          http://cakephp.org CakePHP(tm) Project
                    
12 * @since         3.0.0
                    
12 * @since         3.0.0
                    
13 * @license       http://www.opensource.org/licenses/mit-license.php MIT License
                    
14 */
                    
207     */
                    
208    protected abstract function _linkField($options);
                    
209
                    
275     */
                    
276    protected abstract function _buildResultMap($fetchQuery, $options);
                    
277
                    
                
class-cp-user-relationships.php https://gitlab.com/clusterpress/clusterpress | PHP | 543 lines
                    
1<?php
                    
2/**
                    
11// Exit if accessed directly.
                    
12defined( 'ABSPATH' ) || exit;
                    
13
                    
                
Timesheet.php https://github.com/testruby/Tine-2.0-Open-Source-Groupware-and-CRM.git | PHP | 295 lines
                    
1<?php
                    
2/**
                    
17 */
                    
18class Timetracker_Controller_Timesheet extends Tinebase_Controller_Record_Abstract
                    
19{
                    
                
Pgsql.php https://bitbucket.org/ksekar/campus.git | PHP | 336 lines
                    
1<?php
                    
2/**
                    
19 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
20 * @version    $Id: Pgsql.php 24594 2012-01-05 21:27:01Z matthew $
                    
21 */
                    
24/**
                    
25 * @see Zend_Db_Adapter_Pdo_Abstract
                    
26 */
                    
26 */
                    
27require_once 'Zend/Db/Adapter/Pdo/Abstract.php';
                    
28
                    
38 */
                    
39class Zend_Db_Adapter_Pdo_Pgsql extends Zend_Db_Adapter_Pdo_Abstract
                    
40{
                    
251             */
                    
252            require_once 'Zend/Db/Adapter/Exception.php';
                    
253            throw new Zend_Db_Adapter_Exception("LIMIT argument count=$count is not valid");
                    
                
DynamicRouter.php https://gitlab.com/guillaumev/alkarama | PHP | 387 lines
                    
1<?php
                    
2
                    
169     */
                    
170    public function generate($name, $parameters = array(), $referenceType = UrlGeneratorInterface::ABSOLUTE_PATH)
                    
171    {
                    
                
Ajax.php https://github.com/ThiloWitt/core.git | PHP | 341 lines
                    
1<?php
                    
2/**
                    
17 */
                    
18class Categories_Controller_Ajax extends Zikula_Controller_AbstractAjax
                    
19{
                    
84
                    
85        Zikula_AbstractController::configureView();
                    
86        $this->view->setCaching(Zikula_View::CACHE_DISABLED);
                    
215
                    
216        Zikula_AbstractController::configureView();
                    
217        $this->view->setCaching(Zikula_View::CACHE_DISABLED);
                    
                
Pgsql.php https://bitbucket.org/haichau59/manga.git | PHP | 336 lines
                    
1<?php
                    
2/**
                    
19 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
20 * @version    $Id: Pgsql.php 24594 2012-01-05 21:27:01Z matthew $
                    
21 */
                    
24/**
                    
25 * @see Zend_Db_Adapter_Pdo_Abstract
                    
26 */
                    
26 */
                    
27//require_once 'Zend/Db/Adapter/Pdo/Abstract.php';
                    
28
                    
38 */
                    
39class Zend_Db_Adapter_Pdo_Pgsql extends Zend_Db_Adapter_Pdo_Abstract
                    
40{
                    
251             */
                    
252            //require_once 'Zend/Db/Adapter/Exception.php';
                    
253            throw new Zend_Db_Adapter_Exception("LIMIT argument count=$count is not valid");
                    
                
index.php https://github.com/tlezotte/HCR.git | PHP | 342 lines
                    
19 */
                    
20include_once('../../include/Timer.php');
                    
21$starttime = StartLoadTimer();
                    
59  <link href="../../default.css" type="text/css" charset="UTF-8" rel="stylesheet">
                    
60  <?php if ($default['rss'] == 'on') { ?>
                    
61  <link rel="alternate" type="application/rss+xml" title="Human Capital Request Announcements" href="<?= $default['URL_HOME']; ?>/Request/<?= $default['rss_file']; ?>">
                    
145                            <tr>
                    
146                              <td nowrap><a href="../index.php" class="off">Home</a></td>
                    
147                              <td width="30" valign="middle" nowrap><div align="center"><img src="../../images/Dot.gif" width="10" height="10"></div></td>	
                    
177				  ?>
                    
178				  <div align="right" class="FieldNumberDisabled"><strong><?= $language['label']['welcome']; ?> <a href="../../Administration/user_information.php" class="FieldNumberDisabled" <?php help('', 'Edit your user information', 'default'); ?>><?= ucwords(strtolower($_SESSION['fullname'])); ?></a></strong>&nbsp;&nbsp;<a href="../../logout.php" class="FieldNumberDisabled" <?php help('', 'Selecting [logout] will Log you out of the '.$default[title1].' and stop automatic cookie login', 'default'); ?>>[logout]</a>&nbsp;</div>
                    
179				  <?php
                    
310              <tr>
                    
311                <td width="50%" nowrap><!-- InstanceBeginEditable name="copyright" --><?php include('../include/copyright.php'); ?><!-- InstanceBeginEditable --></td>
                    
312                <td width="50%"><div id="noPrint" align="right"><!-- InstanceBeginEditable name="version" --><!-- InstanceEndEditable --></div></td>
                    
                
Move.php https://github.com/edmondscommerce/XAMPP-Magento-Demo-Site.git | PHP | 364 lines
                    
1<?php
                    
2/* vim: set expandtab tabstop=4 shiftwidth=4: */
                    
3// +----------------------------------------------------------------------+
                    
4// | PHP version 5                                                        |
                    
5// +----------------------------------------------------------------------+
                    
9// | This LICENSE is in the BSD license style.                            |
                    
10// | http://www.opensource.org/licenses/bsd-license.php                   |
                    
11// |                                                                      |
                    
43//
                    
44// $Id: Move.php 12 2007-09-17 20:20:11Z killersoft $
                    
45//
                    
112 * <code>
                    
113 * <?php
                    
114 * require_once 'VersionControl/SVN.php';
                    
                
HeadMeta.php https://bitbucket.org/juan_sanchez/aiyellow.git | PHP | 420 lines
                    
1<?php
                    
2/**
                    
20 */
                    
21class HeadMeta extends Placeholder\Container\AbstractStandalone
                    
22{
                    
38     *
                    
39     * Set separator to PHP_EOL
                    
40     *
                    
44        parent::__construct();
                    
45        $this->setSeparator(PHP_EOL);
                    
46    }
                    
57     */
                    
58    public function __invoke($content = null, $keyValue = null, $keyType = 'name', $modifiers = array(), $placement = Placeholder\Container\AbstractContainer::APPEND)
                    
59    {
                    
                
create.php https://bitbucket.org/codemen_iftekhar/codemen.git | PHP | 315 lines
                    
17		<form action="<?php bp_group_creation_form_action(); ?>" method="post" id="create-group-form" class="standard-form" enctype="multipart/form-data">
                    
18			<h3><?php _e( 'Create a Group', 'buddypress' ); ?> &nbsp;<a class="button" href="<?php echo trailingslashit( bp_get_root_domain() . '/' . bp_get_groups_root_slug() ); ?>"><?php _e( 'Groups Directory', 'buddypress' ); ?></a></h3>
                    
19
                    
60					<div class="radio">
                    
61						<label><input type="radio" name="group-status" value="public"<?php if ( 'public' == bp_get_new_group_status() || !bp_get_new_group_status() ) { ?> checked="checked"<?php } ?> />
                    
62							<strong><?php _e( 'This is a public group', 'buddypress' ); ?></strong>
                    
122
                    
123							<p><?php printf( __( '<strong>Attention Site Admin:</strong> Group forums require the <a href="%s">correct setup and configuration</a> of a bbPress installation.', 'buddypress' ), bp_core_do_network_admin() ? network_admin_url( 'settings.php?page=bb-forums-setup' ) :  admin_url( 'admin.php?page=bb-forums-setup' ) ); ?></p>
                    
124
                    
228										<div class="action">
                    
229											<a class="remove" href="<?php bp_group_invite_user_remove_invite_url(); ?>" id="<?php bp_group_invite_item_id(); ?>"><?php _e( 'Remove Invite', 'buddypress' ); ?></a>
                    
230										</div>
                    
267
                    
268							<input type="button" value="<?php _e( 'Back to Previous Step', 'buddypress' ); ?>" id="group-creation-previous" name="previous" onclick="location.href='<?php bp_group_creation_previous_link(); ?>'" />
                    
269
                    
                
Pgsql.php https://bitbucket.org/hmancvs/farmis.git | PHP | 336 lines
                    
1<?php
                    
2/**
                    
19 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
20 * @version    $Id: Pgsql.php,v 1.1 2011/11/03 08:29:49 smusoke Exp $
                    
21 */
                    
24/**
                    
25 * @see Zend_Db_Adapter_Pdo_Abstract
                    
26 */
                    
26 */
                    
27require_once 'Zend/Db/Adapter/Pdo/Abstract.php';
                    
28
                    
38 */
                    
39class Zend_Db_Adapter_Pdo_Pgsql extends Zend_Db_Adapter_Pdo_Abstract
                    
40{
                    
251             */
                    
252            require_once 'Zend/Db/Adapter/Exception.php';
                    
253            throw new Zend_Db_Adapter_Exception("LIMIT argument count=$count is not valid");
                    
                
Conditional.js https://github.com/Wkasel/qooxdoo.git | JavaScript | 463 lines
                    
12     LGPL: http://www.gnu.org/licenses/lgpl.html
                    
13     EPL: http://www.eclipse.org/org/documents/epl-v10.php
                    
14     See the LICENSE file in the project's top-level directory for details.
                    
26{
                    
27  extend     : qx.ui.progressive.renderer.table.cell.Abstract,
                    
28
                    
300     * @param cellInfo {Map}
                    
301     *   The information about the cell.  See {@link qx.ui.table.cellrenderer.Abstract#createDataCellHtml}.
                    
302     *
                    
                
File.php https://github.com/Enrise/Zend.git | PHP | 473 lines
                    
1<?php
                    
2/**
                    
19 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
20 * @version    $Id: File.php 24593 2012-01-05 20:35:02Z matthew $
                    
21 */
                    
29 */
                    
30abstract class Zend_Search_Lucene_Storage_File
                    
31{
                    
38     */
                    
39    abstract protected function _fread($length=1);
                    
40
                    
57     */
                    
58    abstract public function seek($offset, $whence=SEEK_SET);
                    
59
                    
64     */
                    
65    abstract public function tell();
                    
66
                    
                
AclVoterTest.php https://gitlab.com/Snizer/PI-DEV-TUNISIAMALL3A6-WEB | PHP | 432 lines
                    
1<?php
                    
2
                    
22
                    
23class AclVoterTest extends \PHPUnit_Framework_TestCase
                    
24{
                    
97
                    
98        $this->assertSame(VoterInterface::ACCESS_ABSTAIN, $voter->vote($this->getToken(), null, array('VIEW', 'EDIT', 'DELETE')));
                    
99    }
                    
115        } else {
                    
116            $vote = VoterInterface::ACCESS_ABSTAIN;
                    
117        }
                    
142        } else {
                    
143            $vote = VoterInterface::ACCESS_ABSTAIN;
                    
144        }
                    
                
mma.vim https://gitlab.com/shinvdu/vim_win_config | Vim Script | 325 lines
                    
5" Source:       http://members.wri.com/layland/vim/syntax/mma.vim
                    
6"               http://vim.sourceforge.net/scripts/script.php?script_id=1273
                    
7" Id:           $Id: mma.vim,v 1.4 2006/04/14 20:40:38 vimboss Exp $
                    
53"   it's probably smarter to define a select few, and get the rest from
                    
54"   context if absolutely necessary.
                    
55"   TODO - populate this with other often used Symbols
                    
                
ScopeIndentSniff.php https://gitlab.com/michield/dokuwiki | PHP | 319 lines
                    
15 * @version   CVS: $Id: ScopeIndentSniff.php 270281 2008-12-02 02:38:34Z squiz $
                    
16 * @link      http://pear.php.net/package/PHP_CodeSniffer
                    
17 */
                    
24 *
                    
25 * @category  PHP
                    
26 * @package   PHP_CodeSniffer
                    
31 * @version   Release: 1.2.0
                    
32 * @link      http://pear.php.net/package/PHP_CodeSniffer
                    
33 */
                    
76     *
                    
77     * @param PHP_CodeSniffer_File $phpcsFile All the tokens found in the document.
                    
78     * @param int                  $stackPtr  The position of the current token
                    
82     */
                    
83    public function process(PHP_CodeSniffer_File $phpcsFile, $stackPtr)
                    
84    {
                    
                
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';
                    
35
                    
                
date.php https://github.com/chemila/kohana.git | PHP | 566 lines
                    
1<?php defined('SYSPATH') or die('No direct script access.');
                    
2/**
                    
28	 * Timezone for formatted_time
                    
29	 * @link http://uk2.php.net/manual/en/timezones.php
                    
30	 * @var  string
                    
39	 *
                    
40	 * [!!] A list of time zones that PHP supports can be found at
                    
41	 * <http://php.net/timezones>.
                    
330		// Calculate timespan (seconds)
                    
331		$timespan = abs($remote - $local);
                    
332
                    
398		// Determine the difference in seconds
                    
399		$offset = abs($local_timestamp - $timestamp);
                    
400
                    
548	 *
                    
549	 * @see     http://php.net/manual/en/datetime.construct.php
                    
550	 * @param   string  datetime_str     datetime string
                    
                
MysqliManager.php https://gitlab.com/tjaafar/SuiteCRM | PHP | 379 lines
                    
1<?php
                    
2if(!defined('sugarEntry') || !sugarEntry) die('Not A Valid Entry Point');
                    
43* Description: This file handles the Data base functionality for the application.
                    
44* It acts as the DB abstraction layer for the application. It depends on helper classes
                    
45* which generate the necessary SQL. This sql is then passed to PEAR DB classes.
                    
45* which generate the necessary SQL. This sql is then passed to PEAR DB classes.
                    
46* The helper class is chosen in DBManagerFactory, which is driven by 'db_type' in 'dbconfig' under config.php.
                    
47*
                    
93
                    
94require_once('include/database/MysqlManager.php');
                    
95
                    
147		for ( $i = count($bt) ; $i-- ; $i > 0 ) {
                    
148			if ( strpos('MysqliManager.php',$bt[$i]['file']) === false ) {
                    
149				$line = $bt[$i];
                    
177	 * This function can't be reliably implemented on most DB, do not use it.
                    
178	 * @abstract
                    
179	 * @deprecated
                    
                
install-location.php https://github.com/nsswaga/OSClass.git | PHP | 418 lines
                    
8
                    
9require_once ABS_PATH . 'config.php';
                    
10require_once LIB_PATH . 'osclass/db.php';
                    
44    require_once LIB_PATH . 'osclass/model/Preference.php' ;
                    
45    require_once LIB_PATH . 'osclass/helpers/hSecurity.php' ;
                    
46
                    
96    try{
                    
97        require_once LIB_PATH . 'phpmailer/class.phpmailer.php' ;
                    
98        $mail = new PHPMailer(true) ;
                    
403
                    
404    require_once ABS_PATH . 'oc-includes/osclass/model/Country.php';
                    
405    require_once ABS_PATH . 'oc-includes/osclass/model/Region.php';
                    
405    require_once ABS_PATH . 'oc-includes/osclass/model/Region.php';
                    
406    require_once ABS_PATH . 'oc-includes/osclass/model/City.php';
                    
407
                    
                
rules.php https://gitlab.com/lankerd/paGO---Testing-Site | PHP | 415 lines
                    
1<?php
                    
2/**
                    
199
                    
200		// Begin tabs
                    
201		$html[] = '<div id="permissions-sliders" class="tabbable tabs-left">';
                    
203		// Building tab nav
                    
204		$html[] = '<ul class="nav nav-tabs">';
                    
205
                    
                
Data.php https://github.com/arush/desparation-deprecated.git | PHP | 309 lines
                    
1<?php
                    
2class Evogue_Customer_Helper_Data extends Mage_Core_Helper_Abstract {
                    
                
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';
                    
35
                    
                
BaseFcvalinmold.php https://github.com/cidesa/siga-universitario.git | PHP | 714 lines
                    
1<?php
                    
2
                    
3
                    
4abstract class BaseFcvalinmold extends BaseObject  implements Persistent {
                    
5
                    
469	
                    
470	public function getByName($name, $type = BasePeer::TYPE_PHPNAME)
                    
471	{
                    
524	
                    
525	public function toArray($keyType = BasePeer::TYPE_PHPNAME)
                    
526	{
                    
546	
                    
547	public function setByName($name, $value, $type = BasePeer::TYPE_PHPNAME)
                    
548	{
                    
598	
                    
599	public function fromArray($arr, $keyType = BasePeer::TYPE_PHPNAME)
                    
600	{
                    
                
PyDown.py https://github.com/jedie/python-code-snippets.git | Python | 459 lines
                    
12__author__  = "Jens Diemer (www.jensdiemer.de)"
                    
13__license__ = "GNU General Public License v2 or above - http://www.opensource.org/licenses/gpl-license.php"
                    
14__url__     = "http://www.jensdiemer.de/Programmieren/Python/PyDown"
                    
66    #       -normalen slash "/" verwenden!
                    
67    #       -ganze Laufwerke mit abschließendem slash!
                    
68    "base_path": "/tmp",
                    
102    "upload_email_notify"   : False,
                    
103    # Die Absender-Adresse
                    
104    "email_from"           : "pydown@localhost",
                    
196
                    
197    naviTABs = [
                    
198        { "url": "info/status",    "title": "info"},
                    
368        self.request.context = {
                    
369            "naviTABs"          : self.naviTABs,
                    
370            "cfg"               : self.request.cfg,
                    
                
users.php https://github.com/amoslanka/dartphotographie.com.git | PHP | 402 lines
                    
1<?php
                    
2/**
                    
9/** WordPress Administration Bootstrap */
                    
10require_once('admin.php');
                    
11
                    
12/** WordPress Registration API */
                    
13require_once( ABSPATH . WPINC . '/registration.php');
                    
14
                    
18$title = __('Users');
                    
19$parent_file = 'users.php';
                    
20
                    
310<input type="submit" value="<?php _e('Apply'); ?>" name="doaction" id="doaction" class="button-secondary action" />
                    
311<label class="hidden" for="new_role"><?php _e('Change role to&hellip;') ?></label><select name="new_role" id="new_role"><option value=''><?php _e('Change role to&hellip;') ?></option><?php wp_dropdown_roles(); ?></select>
                    
312<input type="submit" value="<?php _e('Change'); ?>" name="changeit" class="button-secondary" />
                    
333	<?php if ( $wp_user_search->is_search() ) : ?>
                    
334		<p><a href="users.php"><?php _e('&larr; Back to All Users'); ?></a></p>
                    
335	<?php endif; ?>
                    
                
template.html https://github.com/infusion/HTML5-Experiments.git | HTML | 372 lines
                    
23            .frame {
                    
24                position:absolute;
                    
25                cursor: pointer;
                    
39            .wing {
                    
40                position: absolute;
                    
41                background:white; /* necessary to make contents visible while loading */
                    
63            #pre canvas{
                    
64                position:absolute;left:0;top:0;
                    
65            }
                    
76
                    
77              var today = <?php echo $today;?>;
                    
78
                    
182                    cont.innerHTML = d.contentFloor;
                    
183                    cont.style.position = "absolute";
                    
184
                    
                
linux_osl.c https://github.com/DJSteve/StreakKernel.git | C | 620 lines
                    
8 * under the terms of the GNU General Public License version 2 (the "GPL"),
                    
9 * available at http://www.broadcom.com/licenses/GPLv2.php, with the
                    
10 * following added to such license:
                    
162	
                    
163	ASSERT(ABS(BCME_LAST) == (ARRAYSIZE(linuxbcmerrormap) - 1));
                    
164
                    
                
ircmodel_8h_source.html https://github.com/communi/communi.github.com.git | HTML | 134 lines
                    
8<title>Communi: include/IrcModel/ircmodel.h Source File</title>
                    
9<link href="tabs.css" rel="stylesheet" type="text/css"/>
                    
10<script type="text/javascript" src="jquery.js"></script>
                    
45$(function() {
                    
46  initMenu('',true,false,'search.php','Search');
                    
47  $(document).ready(function() { init_search(); });
                    
                
detail.inc.php https://github.com/drietsch/newcms.git | PHP | 110 lines
                    
1<?php
                    
2
                    
71$lang["Step"]["DetermineFiles"]["headline"] = "Downloading necessary files."; 
                    
72$lang["Step"]["DetermineFiles"]["content"] = "The files for the selected extension will be transferred from our server to your server and will be imported in webEdition. The files consist of templates, CSS-styles and layout specific files like pictures and images. You may create demo pages at a later point.<br /><br />The downloaded files will be displayed in the webEdition file tree after the successful import.<br /><br />There are tabs to the left of the file tree, that allow you to switch between documents and templates. Documents and templates have their respective file trees and contain different files.<br /><br />If you have already downloaded a layout and installed it with the wizard, it will be replaced with the new layout! If you wish to keep the old layout, you will need to move the corresponding files to another folder.<br /><br />The following folders will be created in the webEdition document file tree:<br />&nbsp; &nbsp; &nbsp; {seleceted extension}/{extension}<br /><br />The following folders will be created in the webEdition template file tree:<br />&nbsp; &nbsp; &nbsp; /living-e/{extension}<br /><br />To add further extensions, please restart the First Steps Wizard after successful import at File > New > webEdition page > Other"; 
                    
73$lang["Step"]["DetermineFiles"]["description"] = "Depending on the size and number of files and the internet connection speed, the download may take some time.<br /><br />The WCMS webEdition strictly separates content from design. That way a consistent layout of the website can be assured.<br /><br />The layouts are downloaded from our server;  during this no personal data is gathered or saved.<br /><br />Editable areas are marked with so-called  &lt; we:tags&gt;  in webEdition. Currently, there are about 200 of them!<br /><br />You may edit your webEdition  templates in your HTML-Editor with the Editor Plugin."; 
                    
100$lang["Step"]["ImportFiles"]["headline"] = "Prepare necessary files"; 
                    
101$lang["Step"]["ImportFiles"]["content"] = "The files for your new extension have been transferred to your server. In this step, they will be imported in webEdition. Within the import, contents will be written into the database and the folders and files will be created in the webEdition interface.<br /><br />Depending on character and number of files, the import may take some time. The progress is displayed below.<br /><br />If you chose the corresponding settings on the last screen, the new documents are already embedded in your navigation and can be reached on your website.<br /><br />Before any changes to any webEdition page appear on the website, you will need to save and publish the document!<br /><br />With the new multi tabs you may open several webEdition documents and templates. This enables you to switch quickly between a document and its template, to view the changes in the sourcecode at once.<br /><br />Documents and templates have multiple tabs at the upper end, with which you may switch between different displays. Documents can be validated or more information about templates can be displayed."; 
                    
102$lang["Step"]["ImportFiles"]["description"] = "Do you know the seeMode? In this simplified display you navigate in webEdition like on the done webpage. Just activate the seeMode radiobutton at the login.<br /><br />You can cut or scale imported images directly in webEdition. Simply choose the file in the edit view.<br /><br />The new Editor Plugin can link file formats like .doc or .jpg to the original application: Start the editor, edit the file, save - done!<br /><br />You can\'t find the correct we:tag? You can find the Tag Wizard in the edit view of the templates: all tags are include therein with a short explanation!"; 
                    
                
Statement.php https://gitlab.com/remyvianne/krowkaramel | PHP | 342 lines
                    
1<?php
                    
2namespace MailPoetVendor\Doctrine\DBAL;
                    
2namespace MailPoetVendor\Doctrine\DBAL;
                    
3if (!defined('ABSPATH')) exit;
                    
4use MailPoetVendor\Doctrine\DBAL\Abstraction\Result;
                    
7use MailPoetVendor\Doctrine\DBAL\Exception\NoKeyValue;
                    
8use MailPoetVendor\Doctrine\DBAL\Platforms\AbstractPlatform;
                    
9use MailPoetVendor\Doctrine\DBAL\Result as BaseResult;
                    
                
classInteractiveFastBlurView.html https://gitlab.com/oktomus/s5-projet-poo2 | HTML | 165 lines
                    
8<title>Vectorize: Référence de la classe InteractiveFastBlurView</title>
                    
9<link href="tabs.css" rel="stylesheet" type="text/css"/>
                    
10<script type="text/javascript" src="jquery.js"></script>
                    
39$(function() {
                    
40  initMenu('',true,false,'search.php','Recherche');
                    
41  $(document).ready(function() { init_search(); });
                    
                
internal-link-aliases.php https://github.com/sharpmachine/wakeupmedia.com.git | PHP | 310 lines
                    
1<?php
                    
2
                    
27	
                    
28	function get_admin_page_tabs() {
                    
29		return array(
                    
                
DeleteComment.php https://gitlab.com/Blueprint-Marketing/wordpress-unit-tests | PHP | 355 lines
                    
1<?php
                    
2
                    
5 */
                    
6require_once( ABSPATH . 'wp-admin/includes/ajax-actions.php' );
                    
7
                    
71		$_POST['_page']       = 1;
                    
72		$_POST['_url']        = admin_url( 'edit-comments.php' );
                    
73
                    
128		$_POST['_page']       = 1;
                    
129		$_POST['_url']        = admin_url( 'edit-comments.php' );
                    
130
                    
158		$_POST['_page']       = 1;
                    
159		$_POST['_url']        = admin_url( 'edit-comments.php' );
                    
160
                    
187		$_POST['_page']       = 1;
                    
188		$_POST['_url']        = admin_url( 'edit-comments.php' );
                    
189
                    
                
FieldType.php https://gitlab.com/jankube/mautic | PHP | 363 lines
                    
1<?php
                    
2/**
                    
16use Mautic\LeadBundle\Form\DataTransformer\FieldToOrderTransformer;
                    
17use Symfony\Component\Form\AbstractType;
                    
18use Symfony\Component\Form\CallbackTransformer;
                    
30 */
                    
31class FieldType extends AbstractType
                    
32{
                    
                
codebench.php https://bitbucket.org/seyar/kinda.local.git | PHP | 258 lines
                    
39		#bench h2 > span { display:block; min-width:1px; height:33px; background:#fff; -moz-border-radius:2px; -webkit-border-radius:2px; }
                    
40		#bench h2 .method { position:absolute; top:6px; left:8px; text-shadow:0 -1px 0 rgba(255,255,255,0.6); }
                    
41		#bench h2 .method:before { content:'▸ '; }
                    
187					<h2 title="<?php printf('%01.6f', $benchmark['time']) ?>s">
                    
188						<span class="grade-<?php echo $benchmark['grade']['time'] ?>" style="width:<?php echo $benchmark['percent']['slowest']['time'] ?>%">
                    
189							<span class="method"><?php echo $method ?></span>
                    
195						<table>
                    
196							<caption>Benchmarks per subject for <?php echo $method ?></caption>
                    
197							<thead>
                    
208									<td>
                    
209										<strong class="help" title="(<?php echo gettype($codebench['subjects'][$subject_key]) ?>) <?php echo HTML::chars(var_export($codebench['subjects'][$subject_key], TRUE)) ?>">
                    
210											[<?php echo HTML::chars($subject_key) ?>] →
                    
250	<p id="footer">
                    
251		Page executed in <strong><?php echo round(microtime(TRUE) - KOHANA_START_TIME, 2) ?>&nbsp;s</strong>
                    
252		using <strong><?php echo Text::widont(Text::bytes(memory_get_usage(), 'MB')) ?></strong> of memory.<br />
                    
                
metas.php https://gitlab.com/hop23typhu/list-theme | PHP | 223 lines
                    
1<?php
                    
2/**
                    
18
                    
19	<h2 class="nav-tab-wrapper" id="wpseo-tabs">
                    
20		<a class="nav-tab" id="general-tab" href="#top#general"><?php _e( 'General', 'wordpress-seo' ); ?></a>
                    
20		<a class="nav-tab" id="general-tab" href="#top#general"><?php _e( 'General', 'wordpress-seo' ); ?></a>
                    
21		<a class="nav-tab" id="home-tab" href="#top#home"><?php _e( 'Homepage', 'wordpress-seo' ); ?></a>
                    
22		<a class="nav-tab" id="post_types-tab" href="#top#post_types"><?php _e( 'Post Types', 'wordpress-seo' ); ?></a>
                    
22		<a class="nav-tab" id="post_types-tab" href="#top#post_types"><?php _e( 'Post Types', 'wordpress-seo' ); ?></a>
                    
23		<a class="nav-tab" id="taxonomies-tab" href="#top#taxonomies"><?php _e( 'Taxonomies', 'wordpress-seo' ); ?></a>
                    
24		<a class="nav-tab" id="archives-tab" href="#top#archives"><?php _e( 'Archives', 'wordpress-seo' ); ?></a>
                    
24		<a class="nav-tab" id="archives-tab" href="#top#archives"><?php _e( 'Archives', 'wordpress-seo' ); ?></a>
                    
25		<a class="nav-tab" id="other-tab" href="#top#other"><?php _e( 'Other', 'wordpress-seo' ); ?></a>
                    
26	</h2>
                    
32					<th>
                    
33						<?php _e( 'Force rewrite titles', 'wordpress-seo' ); ?>
                    
34					</th>
                    
                
CodeCleaner.php https://gitlab.com/nmhieucoder/laravel_tintuc | PHP | 403 lines
                    
16use PhpParser\PrettyPrinter\Standard as Printer;
                    
17use Psy\CodeCleaner\AbstractClassPass;
                    
18use Psy\CodeCleaner\AssignThisVariablePass;
                    
47 * A service to clean up user input, detect parse errors before they happen,
                    
48 * and generally work around issues with the PHP code evaluation experience.
                    
49 */
                    
261     *
                    
262     * @throws ParseErrorException if the code is invalid PHP, and cannot be coerced into valid PHP
                    
263     *
                    
266     *
                    
267     * @return string|false Cleaned PHP code, False if the input is incomplete
                    
268     */
                    
270    {
                    
271        $stmts = $this->parse('<?php '.\implode(\PHP_EOL, $codeLines).\PHP_EOL, $requireSemicolons);
                    
272        if ($stmts === false) {
                    
                
paperclip.rb https://github.com/palladius/lovd-by-less.git | Ruby | 244 lines
                    
8# Copyright:: Copyright (c) 2008 thoughtbot, inc.
                    
9# License:: MIT License (http://www.opensource.org/licenses/mit-license.php)
                    
10#
                    
83    #   that can control permissions. You can specify the full domain and path, but usually
                    
84    #   just an absolute path is sufficient. The leading slash must be included manually for 
                    
85    #   absolute paths. The default value is "/:class/:attachment/:id/:style_:filename". See
                    
95    #   geometry strings at the ImageMagick website 
                    
96    #   (http://www.imagemagick.org/script/command-line-options.php#resize). Paperclip
                    
97    #   also adds the "#" option (e.g. "50x50#"), which will resize the image to fit maximally 
                    
                
Application.php https://gitlab.com/rsilveira1987/Expresso | PHP | 374 lines
                    
1<?php
                    
2/**
                    
18 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
19 * @version    $Id: Application.php 10020 2009-08-18 14:34:09Z j.fischer@metaways.de $
                    
20 */
                    
39     * 
                    
40     * @var Zend_Application_Bootstrap_BootstrapAbstract
                    
41     */
                    
60     *
                    
61     * Initialize application. Potentially initializes include_paths, PHP 
                    
62     * settings, and bootstrap class.
                    
72
                    
73        require_once 'Zend/Loader/Autoloader.php';
                    
74        $this->_autoloader = Zend_Loader_Autoloader::getInstance();
                    
127        if (!empty($options['phpsettings'])) {
                    
128            $this->setPhpSettings($options['phpsettings']);
                    
129        }
                    
                
SetTest.php https://gitlab.com/yousafsyed/easternglamor | PHP | 295 lines
                    
1<?php
                    
2/** 
                    
11 
                    
12class SetTest extends \PHPUnit_Framework_TestCase
                    
13{
                    
14    /**
                    
15     * @var \PHPUnit_Framework_MockObject_MockObject|Set
                    
16     */
                    
19    /**
                    
20     * @var \PHPUnit_Framework_MockObject_MockObject
                    
21     */
                    
24    /**
                    
25     * @var \PHPUnit_Framework_MockObject_MockObject
                    
26     */
                    
29    /**
                    
30     * @var \PHPUnit_Framework_MockObject_MockObject
                    
31     */
                    
                
QueryPluginBase.php https://gitlab.com/reasonat/test8 | PHP | 353 lines
                    
1<?php
                    
2
                    
33 */
                    
34abstract class QueryPluginBase extends PluginBase implements CacheableDependencyInterface {
                    
35
                    
                
Statement.php https://github.com/cosmocommerce/magento-mirror.git | PHP | 488 lines
                    
1<?php
                    
2/**
                    
19 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
20 * @version    $Id: Statement.php 24790 2012-05-10 12:28:51Z mcleod@spaceweb.nl $
                    
21 */
                    
25 */
                    
26#require_once 'Zend/Db.php';
                    
27
                    
30 */
                    
31#require_once 'Zend/Db/Statement/Interface.php';
                    
32
                    
33/**
                    
34 * Abstract class to emulate a PDOStatement for native database adapters.
                    
35 *
                    
41 */
                    
42abstract class Zend_Db_Statement implements Zend_Db_Statement_Interface
                    
43{
                    
                
MatchingTask.php https://bitbucket.org/ferOnti/processmaker.git | PHP | 361 lines
                    
1<?php
                    
2/*
                    
2/*
                    
3 *  $Id: MatchingTask.php 3076 2006-12-18 08:52:12Z fabien $
                    
4 *
                    
21
                    
22require_once 'phing/TaskPhing.php';
                    
23require_once 'phing/types/selectors/SelectorContainer.php';
                    
23require_once 'phing/types/selectors/SelectorContainer.php';
                    
24include_once 'phing/types/FileSet.php';
                    
25include_once 'phing/types/PatternSet.php';
                    
25include_once 'phing/types/PatternSet.php';
                    
26include_once 'phing/util/DirectoryScanner.php';
                    
27
                    
28/**
                    
29 * This is an abstract task that should be used by all those tasks that 
                    
30 * require to include or exclude files based on pattern matching.
                    
                
PageRepositoryTest.php https://gitlab.com/crazybutterfly815/magento2 | PHP | 282 lines
                    
1<?php
                    
2/**
                    
9use Magento\TestFramework\Helper\Bootstrap;
                    
10use Magento\TestFramework\TestCase\WebapiAbstract;
                    
11
                    
14 */
                    
15class PageRepositoryTest extends WebapiAbstract
                    
16{
                    
                
config.values.php https://gitlab.com/trungthao379/phpmyadmin | PHP | 277 lines
                    
1<?php
                    
2/* vim: set expandtab sw=4 ts=4 sts=4: */
                    
6 *
                    
7 * @package PhpMyAdmin
                    
8 */
                    
9
                    
10if (!defined('PHPMYADMIN')) {
                    
11    exit;
                    
74$cfg_db['CharEditing'] = array('input', 'textarea');
                    
75$cfg_db['TabsMode'] = array(
                    
76    'icons' => __('Icons'),
                    
100);
                    
101$cfg_db['DefaultTabServer'] = array(
                    
102    // the welcome page (recommended for multiuser setups)
                    
222/**
                    
223 * Basic validator assignments (functions from libraries/config/Validator.php
                    
224 * and 'validators' object in js/config.js)
                    
                
CreditCard.php https://github.com/michaelmcandrew/vaw.git | PHP | 297 lines
                    
1<?php
                    
2/* vim: set expandtab tabstop=4 shiftwidth=4: */
                    
5 *
                    
6 * PHP Versions 4 and 5
                    
7 *
                    
10 * the world-wide-web at
                    
11 * http://www.opensource.org/licenses/bsd-license.php
                    
12 * If you did not receive a copy of the new BSDlicense and are unable
                    
13 * to obtain it through the world-wide-web, please send a note to
                    
14 * pajoye@php.net so we can mail you a copy immediately.
                    
15 *
                    
20 * @copyright 1997-2005  Stefan Neufeind
                    
21 * @license   http://www.opensource.org/licenses/bsd-license.php  New BSD License
                    
22 * @version   CVS: $Id: CreditCard.php,v 1.13 2007/09/16 16:42:34 kguest Exp $
                    
22 * @version   CVS: $Id: CreditCard.php,v 1.13 2007/09/16 16:42:34 kguest Exp $
                    
23 * @link      http://pear.php.net/package/Validate_Finance_CreditCard
                    
24 */
                    
                
schema_2.php https://github.com/jaydson/Call-for-Papers.git | PHP | 139 lines
                    
1<?php 
                    
2/* SVN FILE: $Id$ */
                    
6
                    
7	var $file = 'schema_2.php';
                    
8
                    
81		'title' => array('type' => 'string', 'null' => false, 'default' => NULL, 'length' => 155, 'collate' => 'utf8_general_ci', 'charset' => 'utf8'),
                    
82		'abstract' => array('type' => 'string', 'null' => false, 'default' => NULL, 'collate' => 'utf8_general_ci', 'charset' => 'utf8'),
                    
83		'description' => array('type' => 'text', 'null' => false, 'default' => NULL, 'collate' => 'utf8_general_ci', 'charset' => 'utf8'),
                    
101		'rg' => array('type' => 'string', 'null' => false, 'default' => NULL, 'length' => 100, 'collate' => 'utf8_general_ci', 'charset' => 'utf8'),
                    
102		'abstract' => array('type' => 'text', 'null' => false, 'default' => NULL, 'collate' => 'utf8_general_ci', 'charset' => 'utf8'),
                    
103		'description' => array('type' => 'text', 'null' => true, 'default' => NULL, 'collate' => 'utf8_general_ci', 'charset' => 'utf8'),
                    
                
ResponseHeader.php https://github.com/Shreef/zf2.git | PHP | 395 lines
                    
1<?php
                    
2/**
                    
16 * @package    Zend_Test
                    
17 * @subpackage PHPUnit
                    
18 * @copyright  Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
                    
24 */
                    
25namespace Zend\Test\PHPUnit\Constraint;
                    
26use Zend\Controller\Response;
                    
28/**
                    
29 * Response header PHPUnit Constraint
                    
30 *
                    
30 *
                    
31 * @uses       PHPUnit_Framework_Constraint
                    
32 * @uses       \Zend\Test\PHPUnit\Constraint\Exception
                    
34 * @package    Zend_Test
                    
35 * @subpackage PHPUnit
                    
36 * @copyright  Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
                    
                
YamlFileLoader.php https://bitbucket.org/cryofrost/portal.git | PHP | 339 lines
                    
1<?php
                    
2
                    
164        if (isset($service['abstract'])) {
                    
165            $definition->setAbstract($service['abstract']);
                    
166        }
                    
                
wp-background-process.php https://gitlab.com/campus-academy/krowkaramel | PHP | 503 lines
                    
1<?php // @codingStandardsIgnoreLine.
                    
2/**
                    
2/**
                    
3 * Abstract WP_Background_Process class.
                    
4 *
                    
8
                    
9defined( 'ABSPATH' ) || exit;
                    
10
                    
11/**
                    
12 * Abstract WP_Background_Process class.
                    
13 */
                    
13 */
                    
14abstract class WP_Background_Process extends WP_Async_Request {
                    
15
                    
500	 */
                    
501	abstract protected function task( $item );
                    
502
                    
                
Abstract.php https://github.com/Martin1982/IBMessagingWorkshopServer.git | PHP | 350 lines
                    
1<?php
                    
2/**
                    
19 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
20 * @version    $Id: Abstract.php 20096 2010-01-06 02:05:09Z bkarwin $
                    
21 */
                    
26 */
                    
27// require_once 'Zend/Mime.php';
                    
28
                    
30/**
                    
31 * Abstract for sending eMails through different
                    
32 * ways of transport
                    
39 */
                    
40abstract class Zend_Mail_Transport_Abstract
                    
41{
                    
114     */
                    
115    abstract protected function _sendMail();
                    
116
                    
                
Type.php https://bitbucket.org/shashwat_dinasource/bitscentral.git | PHP | 395 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 3.0 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/3_0.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// +----------------------------------------------------------------------+
                    
                
Barcode.php https://github.com/mrbanzai/zf2.git | PHP | 323 lines
                    
1<?php
                    
2/**
                    
47     * It's used by standard barcode objects derived from
                    
48     * {@link Object\AbstractObject} class
                    
49     * if corresponding constructor option is not provided.
                    
                
OracleSchemaManager.php https://gitlab.com/adrianjose605/SaintW | PHP | 322 lines
                    
1<?php
                    
2/*
                    
29 */
                    
30class OracleSchemaManager extends AbstractSchemaManager
                    
31{
                    
                
ConfigListener.php https://bitbucket.org/alexandretaz/maniac_divers.git | PHP | 383 lines
                    
1<?php
                    
2/**
                    
24 */
                    
25class ConfigListener extends AbstractListener implements
                    
26    ConfigMergerInterface,
                    
                
wp-settings.php https://github.com/sharpmachine/wakeupmedia.com.git | PHP | 323 lines
                    
21require( ABSPATH . WPINC . '/load.php' );
                    
22require( ABSPATH . WPINC . '/default-constants.php' );
                    
23require( ABSPATH . WPINC . '/version.php' );
                    
61if ( WP_CACHE )
                    
62	WP_DEBUG ? include( WP_CONTENT_DIR . '/advanced-cache.php' ) : @include( WP_CONTENT_DIR . '/advanced-cache.php' );
                    
63
                    
67// Load early WordPress files.
                    
68require( ABSPATH . WPINC . '/compat.php' );
                    
69require( ABSPATH . WPINC . '/functions.php' );
                    
124require( ABSPATH . WPINC . '/post-thumbnail-template.php' );
                    
125require( ABSPATH . WPINC . '/category.php' );
                    
126require( ABSPATH . WPINC . '/category-template.php' );
                    
141require( ABSPATH . WPINC . '/media.php' );
                    
142require( ABSPATH . WPINC . '/http.php' );
                    
143require( ABSPATH . WPINC . '/class-http.php' );
                    
                
FileValidatorTest.php https://github.com/Exercise/symfony.git | PHP | 324 lines
                    
1<?php
                    
2
                    
18
                    
19abstract class FileValidatorTest extends \PHPUnit_Framework_TestCase
                    
20{
                    
322
                    
323    abstract protected function getFile($filename);
                    
324}
                    
                
Rule.php https://github.com/joebushi/magento-mirror.git | PHP | 347 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) 2009 Irubin Consulting Inc. DBA Varien (http://www.varien.com)
                    
24 * @license     http://opensource.org/licenses/osl-3.0.php  Open Software License (OSL 3.0)
                    
25 */
                    
27
                    
28class Mage_SalesRule_Model_Mysql4_Rule extends Mage_Core_Model_Mysql4_Abstract
                    
29{
                    
34
                    
35    public function _beforeSave(Mage_Core_Model_Abstract $object)
                    
36    {
                    
                
AbstractContainer.php https://gitlab.com/imamul68e/137619_PHP31 | PHP | 282 lines
                    
10 * file that was distributed with this source code. For the full list of
                    
11 * contributors, visit https://github.com/PHPOffice/PHPWord/contributors.
                    
12 *
                    
50 */
                    
51abstract class AbstractContainer extends AbstractElement
                    
52{
                    
76     * @param mixed $args
                    
77     * @return \PhpOffice\PhpWord\Element\AbstractElement
                    
78     */
                    
124     * @param string $elementName
                    
125     * @return \PhpOffice\PhpWord\Element\AbstractElement
                    
126     */
                    
143
                    
144        /** @var \PhpOffice\PhpWord\Element\AbstractElement $element Type hint */
                    
145        $element = $reflection->newInstanceArgs($elementArgs);
                    
                
 

Source

Language