PageRenderTime 494ms queryTime 38ms sortTime 4ms getByIdsTime 164ms findMatchingLines 232ms

100+ results results for 'php get_object_vars repo:JackoPlane/magento2' (494 ms)

Not the results you expected?
Font.php https://bitbucket.org/kudutest1/moodlegit.git | PHP | 640 lines
                    
22 * @package	PHPExcel_Style
                    
23 * @copyright  Copyright (c) 2006 - 2012 PHPExcel (http://www.codeplex.com/PHPExcel)
                    
24 * @license	http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt	LGPL
                    
33 * @package	PHPExcel_Style
                    
34 * @copyright  Copyright (c) 2006 - 2012 PHPExcel (http://www.codeplex.com/PHPExcel)
                    
35 */
                    
35 */
                    
36class PHPExcel_Style_Font implements PHPExcel_IComparable
                    
37{
                    
153			$this->_strikethrough	= NULL;
                    
154			$this->_color			= new PHPExcel_Style_Color(PHPExcel_Style_Color::COLOR_BLACK, $isSupervisor, $isConditional);
                    
155		} else {
                    
155		} else {
                    
156			$this->_color	= new PHPExcel_Style_Color(PHPExcel_Style_Color::COLOR_BLACK, $isSupervisor);
                    
157		}
                    
                
ez_sql_core.php https://github.com/LamCiuLoeng/BookShare.git | PHP | 552 lines
                    
1<?php
                    
2
                    
127			{
                    
128				$values = array_values(get_object_vars($this->last_result[$y]));
                    
129			}
                    
158			{
                    
159				return $this->last_result[$y]?get_object_vars($this->last_result[$y]):null;
                    
160			}
                    
163			{
                    
164				return $this->last_result[$y]?array_values(get_object_vars($this->last_result[$y])):null;
                    
165			}
                    
228
                    
229						$new_array[$i] = get_object_vars($row);
                    
230
                    
                
BaseDrawing.php https://gitlab.com/techniconline/kmc | PHP | 515 lines
                    
22 * @package    PHPExcel_Worksheet
                    
23 * @copyright  Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel)
                    
24 * @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt	LGPL
                    
33 * @package    PHPExcel_Worksheet
                    
34 * @copyright  Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel)
                    
35 */
                    
35 */
                    
36class PHPExcel_Worksheet_BaseDrawing implements PHPExcel_IComparable
                    
37{
                    
221     * @throws    PHPExcel_Exception
                    
222     * @return PHPExcel_Worksheet_BaseDrawing
                    
223     */
                    
246            } else {
                    
247                throw new PHPExcel_Exception("A PHPExcel_Worksheet has already been assigned. Drawings can only exist on one PHPExcel_Worksheet.");
                    
248            }
                    
                
view.php https://bitbucket.org/sriedel/iccrm-wip.git | PHP | 557 lines
                    
1<?php
                    
2/**
                    
9 * @copyright  2010 - 2012 Fuel Development Team
                    
10 * @link       http://fuelphp.com
                    
11 */
                    
18 *
                    
19 * Acts as an object wrapper for HTML pages with embedded PHP, called "views".
                    
20 * Variables can be assigned with the view object and referenced locally within
                    
24 * @category  Core
                    
25 * @link      http://docs.fuelphp.com/classes/view.html
                    
26 */
                    
67	 */
                    
68	protected $extension = 'php';
                    
69
                    
103		{
                    
104			$data = get_object_vars($data);
                    
105		}
                    
                
XmlEncoderTest.php https://github.com/jdewit/symfony.git | PHP | 363 lines
                    
1<?php
                    
2
                    
20
                    
21class XmlEncoderTest extends \PHPUnit_Framework_TestCase
                    
22{
                    
225
                    
226        $this->assertEquals(get_object_vars($obj), $this->encoder->decode($source, 'xml'));
                    
227    }
                    
326        try {
                    
327            $this->encoder->decode('<?xml version="1.0"?><!DOCTYPE scan[<!ENTITY test SYSTEM "php://filter/read=convert.base64-encode/resource=XmlEncoderTest.php">]><scan>&test;</scan>', 'xml');
                    
328            chdir($oldCwd);
                    
                
Value.php https://github.com/sitengine/sitengine.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
                    
                
Value.php https://github.com/doctoralex/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
                    
                
class-wp-admin-bar.php https://bitbucket.org/jstroschein/wordpress-3.5.1-clean.git | PHP | 492 lines
                    
368
                    
369		?><div id="<?php echo esc_attr( 'wp-admin-bar-' . $node->id ); ?>" class="ab-group-container"><?php
                    
370			foreach ( $node->children as $group ) {
                    
387
                    
388		?><ul id="<?php echo esc_attr( 'wp-admin-bar-' . $node->id ); ?>"<?php echo $class; ?>><?php
                    
389			foreach ( $node->children as $item ) {
                    
419
                    
420		<li id="<?php echo esc_attr( 'wp-admin-bar-' . $node->id ); ?>"<?php echo $menuclass; ?>><?php
                    
421			if ( $has_link ):
                    
421			if ( $has_link ):
                    
422				?><a class="ab-item" <?php echo $aria_attributes; ?> href="<?php echo esc_url( $node->href ) ?>"<?php
                    
423					if ( ! empty( $node->meta['onclick'] ) ) :
                    
435				if ( ! empty( $node->meta['title'] ) ) :
                    
436					?> title="<?php echo esc_attr( $node->meta['title'] ); ?>"<?php
                    
437				endif;
                    
                
Record.php https://gitlab.com/johanlindberg/irvato-crm | PHP | 427 lines
                    
1<?php
                    
2/************************************************************************
                    
417        $sourceIds = $data['sourceIds'];
                    
418        $attributes = get_object_vars($data['attributes']);
                    
419
                    
                
Protection.php https://gitlab.com/unofficial-mirrors/moodle | PHP | 581 lines
                    
4 *
                    
5 * Copyright (c) 2006 - 2015 PHPExcel
                    
6 *
                    
22 * @package    PHPExcel_Worksheet
                    
23 * @copyright  Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel)
                    
24 * @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt    LGPL
                    
33 * @package    PHPExcel_Worksheet
                    
34 * @copyright  Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel)
                    
35 */
                    
290     * @param boolean $pValue
                    
291     * @return PHPExcel_Worksheet_Protection
                    
292     */
                    
312     * @param boolean $pValue
                    
313     * @return PHPExcel_Worksheet_Protection
                    
314     */
                    
                
bookmark.php https://github.com/sharpmachine/wakeupmedia.com.git | PHP | 382 lines
                    
1<?php
                    
2/**
                    
45	} elseif ( $output == ARRAY_A ) {
                    
46		return get_object_vars($_bookmark);
                    
47	} elseif ( $output == ARRAY_N ) {
                    
47	} elseif ( $output == ARRAY_N ) {
                    
48		return array_values(get_object_vars($_bookmark));
                    
49	} else {
                    
                
HeadLink.php https://gitlab.com/yousafsyed/easternglamor | PHP | 495 lines
                    
1<?php
                    
2/**
                    
61     *
                    
62     * Use PHP_EOL as separator
                    
63     */
                    
67
                    
68        $this->setSeparator(PHP_EOL);
                    
69    }
                    
196
                    
197        $vars         = get_object_vars($value);
                    
198        $keys         = array_keys($vars);
                    
                
class-wp-admin-bar.php https://github.com/sharpmachine/wakeupmedia.com.git | PHP | 473 lines
                    
371
                    
372		?><ul id="<?php echo esc_attr( 'wp-admin-bar-' . $node->id ); ?>" class="<?php echo esc_attr( $class ); ?>"><?php
                    
373			foreach ( $node->children as $item ) {
                    
400
                    
401		<li id="<?php echo esc_attr( 'wp-admin-bar-' . $node->id ); ?>" class="<?php echo esc_attr( $menuclass ); ?>"><?php
                    
402			if ( $has_link ):
                    
402			if ( $has_link ):
                    
403				?><a class="ab-item" <?php echo $aria_attributes; ?> href="<?php echo esc_url( $node->href ) ?>"<?php
                    
404					if ( ! empty( $node->meta['onclick'] ) ) :
                    
404					if ( ! empty( $node->meta['onclick'] ) ) :
                    
405						?> onclick="<?php echo esc_js( $node->meta['onclick'] ); ?>"<?php
                    
406					endif;
                    
407				if ( ! empty( $node->meta['target'] ) ) :
                    
408					?> target="<?php echo esc_attr( $node->meta['target'] ); ?>"<?php
                    
409				endif;
                    
                
capabilities.php https://github.com/socialplanning/opencore-wordpress-mu.git | PHP | 482 lines
                    
1<?php
                    
2
                    
158
                    
159		foreach (get_object_vars($this->data) as $key => $value) {
                    
160			$this->{$key} = $value;
                    
                
bookmark.php https://gitlab.com/Blueprint-Marketing/WordPress-1 | PHP | 408 lines
                    
1<?php
                    
2/**
                    
50	} elseif ( $output == ARRAY_A ) {
                    
51		return get_object_vars($_bookmark);
                    
52	} elseif ( $output == ARRAY_N ) {
                    
52	} elseif ( $output == ARRAY_N ) {
                    
53		return array_values(get_object_vars($_bookmark));
                    
54	} else {
                    
200			wp_cache_set( 'get_bookmarks', $cache, 'bookmark' );
                    
201			/** This filter is documented in wp-includes/bookmark.php */
                    
202			return apply_filters( 'get_bookmarks', array(), $r );
                    
283
                    
284	/** This filter is documented in wp-includes/bookmark.php */
                    
285	return apply_filters( 'get_bookmarks', $results, $r );
                    
373	if ( 'edit' == $context ) {
                    
374		/** This filter is documented in wp-includes/post.php */
                    
375		$value = apply_filters( "edit_$field", $value, $bookmark_id );
                    
                
registry.php https://github.com/dg482/joomla-platform.git | PHP | 629 lines
                    
1<?php
                    
2/**
                    
11
                    
12JLoader::register('JRegistryFormat', dirname(__FILE__) . '/format.php');
                    
13
                    
406		{
                    
407			$data = get_object_vars($data);
                    
408		}
                    
440
                    
441		foreach (get_object_vars((object) $data) as $k => $v)
                    
442		{
                    
                
Profiler.php https://bitbucket.org/daholicofneki/ams.git | PHP | 497 lines
                    
1<?php  if ( ! defined('BASEPATH')) exit('No direct script access allowed');
                    
2/**
                    
4 *
                    
5 * An open source application development framework for PHP 5.1.6 or newer
                    
6 *
                    
154		// Let's determine which databases are currently connected to
                    
155		foreach (get_object_vars($this->CI) as $CI_object)
                    
156		{
                    
448	public static function get_file_size($size, $retstring = null) {
                    
449        // adapted from code at http://aidanlister.com/repos/v/function.size_readable.php
                    
450	    $sizes = array('bytes', 'kB', 'MB', 'GB', 'TB', 'PB', 'EB', 'ZB', 'YB');
                    
495
                    
496/* End of file Profiler.php */
                    
497/* Location: ./system/libraries/Profiler.php */
                    
                
basicCRUDPDO.class.php https://gitlab.com/karl3/gs_libs | PHP | 364 lines
                    
1<?php
                    
2
                    
32    {
                    
33        $vars = get_object_vars($this);
                    
34        if (is_array($vars)) {
                    
                
Color.php https://github.com/okbutton/ispCP-distributed.git | PHP | 451 lines
                    
22 * @package    PHPExcel_Style
                    
23 * @copyright  Copyright (c) 2006 - 2009 PHPExcel (http://www.codeplex.com/PHPExcel)
                    
24 * @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt	LGPL
                    
37/** PHPExcel_IComparable */
                    
38require_once PHPEXCEL_ROOT . 'PHPExcel/IComparable.php';
                    
39
                    
45 * @package    PHPExcel_Style
                    
46 * @copyright  Copyright (c) 2006 - 2009 PHPExcel (http://www.codeplex.com/PHPExcel)
                    
47 */
                    
47 */
                    
48class PHPExcel_Style_Color implements PHPExcel_IComparable
                    
49{
                    
97    /**
                    
98     * Create a new PHPExcel_Style_Color
                    
99     * 
                    
                
comment.php https://gitlab.com/Blueprint-Marketing/wp-cli | PHP | 458 lines
                    
1<?php
                    
2
                    
118		if ( empty( $assoc_args['fields'] ) ) {
                    
119			$comment_array = get_object_vars( $comment );
                    
120			$assoc_args['fields'] = array_keys( $comment_array );
                    
                
Rule.php https://bitbucket.org/moodle/moodle.git | PHP | 426 lines
                    
1<?php
                    
2
                    
2
                    
3namespace PhpOffice\PhpSpreadsheet\Worksheet\AutoFilter\Column;
                    
4
                    
4
                    
5use PhpOffice\PhpSpreadsheet\Exception as PhpSpreadsheetException;
                    
6use PhpOffice\PhpSpreadsheet\Worksheet\AutoFilter\Column;
                    
243        if (!in_array($ruleType, self::RULE_TYPES)) {
                    
244            throw new PhpSpreadsheetException('Invalid rule type for column AutoFilter Rule.');
                    
245        }
                    
284            if (count($value) == 0) {
                    
285                throw new PhpSpreadsheetException('Invalid rule value for column AutoFilter Rule.');
                    
286            }
                    
321        ) {
                    
322            throw new PhpSpreadsheetException('Invalid operator for column AutoFilter Rule.');
                    
323        }
                    
                
Column.php https://gitlab.com/ptisky/API_prestashop | PHP | 394 lines
                    
22 * @package		PHPExcel_Worksheet
                    
23 * @copyright	Copyright (c) 2006 - 2013 PHPExcel (http://www.codeplex.com/PHPExcel)
                    
24 * @license		http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt	LGPL
                    
29/**
                    
30 * PHPExcel_Worksheet_AutoFilter_Column
                    
31 *
                    
33 * @package		PHPExcel_Worksheet
                    
34 * @copyright	Copyright (c) 2006 - 2013 PHPExcel (http://www.codeplex.com/PHPExcel)
                    
35 */
                    
198	 *	@param	string		$pFilterType
                    
199	 *	@throws	PHPExcel_Exception
                    
200	 *	@return PHPExcel_Worksheet_AutoFilter_Column
                    
326	 * @param	boolean	$returnRule 	Flag indicating whether the rule object or the column object should be returned
                    
327	 * @return	PHPExcel_Worksheet_AutoFilter_Column|PHPExcel_Worksheet_AutoFilter_Column_Rule
                    
328	 */
                    
                
couchDocument.php https://github.com/voitto/structal.todos.git | PHP | 396 lines
                    
1<?PHP
                    
2/*
                    
80	/**
                    
81	* load a CouchDB document from a PHP object
                    
82	*
                    
111	public function getKeys ( ) {
                    
112		return array_keys(get_object_vars($this->__couch_data->fields));
                    
113	}
                    
157	/**
                    
158	* PHP magic method : getter
                    
159	*
                    
238	/**
                    
239	* PHP automagic setter
                    
240	*
                    
242	*
                    
243	* @link http://php.net/__set
                    
244	*
                    
                
Api.php https://gitlab.com/axeltizon/magento-demopoweraccess | PHP | 217 lines
                    
1<?php
                    
2/**
                    
21     *
                    
22     * @param \PHPUnit_Framework_TestCase $testCase Active test case
                    
23     * @param string $path
                    
26     */
                    
27    public static function call(\PHPUnit_Framework_TestCase $testCase, $path, $params = [])
                    
28    {
                    
57        );
                    
58        self::$_previousHandler = set_error_handler([$handlerMock, 'handlePhpError']);
                    
59
                    
79     *
                    
80     * @param \PHPUnit_Framework_TestCase $testCase Active test case
                    
81     * @param string $path
                    
86    public static function callWithException(
                    
87        \PHPUnit_Framework_TestCase $testCase,
                    
88        $path,
                    
                
backuplib.php https://github.com/cwaclawik/moodle.git | PHP | 337 lines
                    
1<?PHP //$Id$
                    
2    //This php script contains all the stuff to backup/restore
                    
240        // $excluded_tags : fields which will NOT be backed up from the records
                    
241        // $more_backup   : optional PHP code to be eval(uated) for each record
                    
242        // If any of the "fwrite" statements fail,
                    
266                // backup fields in this record
                    
267                $tags = get_object_vars($record);
                    
268                foreach ($tags as $tag=>$value) {
                    
                
HeaderFooter.php https://gitlab.com/mbase2/source-code | PHP | 491 lines
                    
1<?php
                    
2
                    
2
                    
3namespace PhpOffice\PhpSpreadsheet\Worksheet;
                    
4
                    
477    /**
                    
478     * Implement PHP __clone to create a deep clone, not just a shallow copy.
                    
479     */
                    
481    {
                    
482        $vars = get_object_vars($this);
                    
483        foreach ($vars as $key => $value) {
                    
                
Column.php https://gitlab.com/Zinnurain/destination_finder_beta | PHP | 394 lines
                    
22 * @package		PHPExcel_Worksheet
                    
23 * @copyright	Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel)
                    
24 * @license		http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt	LGPL
                    
29/**
                    
30 * PHPExcel_Worksheet_AutoFilter_Column
                    
31 *
                    
33 * @package		PHPExcel_Worksheet
                    
34 * @copyright	Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel)
                    
35 */
                    
198	 *	@param	string		$pFilterType
                    
199	 *	@throws	PHPExcel_Exception
                    
200	 *	@return PHPExcel_Worksheet_AutoFilter_Column
                    
326	 * @param	boolean	$returnRule 	Flag indicating whether the rule object or the column object should be returned
                    
327	 * @return	PHPExcel_Worksheet_AutoFilter_Column|PHPExcel_Worksheet_AutoFilter_Column_Rule
                    
328	 */
                    
                
Properties.php https://github.com/tmccormi/openemr.git | PHP | 629 lines
                    
1<?php
                    
2
                    
2
                    
3namespace PhpOffice\PhpSpreadsheet\Document;
                    
4
                    
486    /**
                    
487     * Implement PHP __clone to create a deep clone, not just a shallow copy.
                    
488     */
                    
490    {
                    
491        $vars = get_object_vars($this);
                    
492        foreach ($vars as $key => $value) {
                    
                
email_queue_api.php https://github.com/fusenigk/mantisbt-1.git | PHP | 198 lines
                    
1<?php
                    
2# MantisBT - A PHP based bugtracking system
                    
25 *
                    
26 * @uses constant_api.php
                    
27 * @uses database_api.php
                    
27 * @uses database_api.php
                    
28 * @uses error_api.php
                    
29 * @uses lang_api.php
                    
29 * @uses lang_api.php
                    
30 * @uses utility_api.php
                    
31 */
                    
32
                    
33require_api( 'constant_inc.php' );
                    
34require_api( 'database_api.php' );
                    
34require_api( 'database_api.php' );
                    
35require_api( 'error_api.php' );
                    
36require_api( 'lang_api.php' );
                    
                
Xmlrpcs.php https://github.com/elsewares/tinderbox.git | PHP | 546 lines
                    
1<?php  if ( ! defined('BASEPATH')) exit('No direct script access allowed');
                    
2/**
                    
4 *
                    
5 * An open source application development framework for PHP 4.3.2 or newer
                    
6 *
                    
17{	
                    
18	show_error('Your PHP installation does not support XML');
                    
19}
                    
215				{
                    
216					$plist .= "$i - " .  print_r(get_object_vars($parser_object->xh[$parser]['params'][$i]), TRUE). ";\n";
                    
217				}
                    
544
                    
545/* End of file Xmlrpcs.php */
                    
546/* Location: ./system/libraries/Xmlrpcs.php */
                    
                
dumper.php https://github.com/quarkness/piwik.git | PHP | 360 lines
                    
1<?php
                    
2/**
                    
5 *  @subpackage UnitTester
                    
6 *  @version    $Id: dumper.php 1723 2008-04-08 00:34:10Z lastcraft $
                    
7 */
                    
312        return $this->_describeArrayDifference(
                    
313                get_object_vars($first),
                    
314                get_object_vars($second),
                    
                
Protection.php https://github.com/rjdjohnston/core.git | PHP | 533 lines
                    
20 *
                    
21 * @category   PHPExcel
                    
22 * @package    PHPExcel_Worksheet
                    
22 * @package    PHPExcel_Worksheet
                    
23 * @copyright  Copyright (c) 2006 - 2008 PHPExcel (http://www.codeplex.com/PHPExcel)
                    
24 * @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt	LGPL
                    
29/** PHPExcel_Shared_PasswordHasher */
                    
30require_once 'PHPExcel/Shared/PasswordHasher.php';
                    
31
                    
33/**
                    
34 * PHPExcel_Worksheet_Protection
                    
35 *
                    
37 * @package    PHPExcel_Worksheet
                    
38 * @copyright  Copyright (c) 2006 - 2008 PHPExcel (http://www.codeplex.com/PHPExcel)
                    
39 */
                    
                
Data.php https://github.com/mfairchild365/zf2.git | PHP | 520 lines
                    
1<?php
                    
2/**
                    
502            } else {
                    
503                $item = get_object_vars($item);
                    
504            }
                    
                
Data.php https://bitbucket.org/acidel/buykoala.git | PHP | 239 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 */

                    
88        ) {

                    
89            if (count(array_keys(get_object_vars($obj))) == 2) {

                    
90                $obj = array($obj->key => $obj->value);

                    
109        } elseif (is_object($obj)) {

                    
110            $objectKeys = array_keys(get_object_vars($obj));

                    
111

                    
129                if (is_object($value)) {

                    
130                    $value = get_object_vars($value);

                    
131                    if (count($value) == 2 && isset($value['key']) && isset($value['value'])) {

                    
                
result.class.php https://bitbucket.org/hanutimes/hanutimes.git | PHP | 253 lines
                    
1<?php
                    
2/* For licensing terms, see /license.txt */
                    
205			$arr_result=$result->load (null, $userid, $evaluationid);
                    
206			$arr=get_object_vars($arr_result[0]);
                    
207
                    
                
Yahoo.php https://github.com/timstephenson/NatureBridge.git | PHP | 187 lines
                    
1<?php
                    
2
                    
68    static function format( &$values, $stateName = false ) {
                    
69        CRM_Utils_System::checkPHPVersion( 5, true );
                    
70
                    
117
                    
118        require_once 'HTTP/Request.php';
                    
119        $request = new HTTP_Request( $query );
                    
128            $result = array( ) ;
                    
129            $result = get_object_vars($xml->Result);
                    
130
                    
163                    /* the following logic to split the string was borrowed from
                    
164                       CRM/Core/BAO/Address.php -- CRM_Core_BAO_Address::fixAddress.
                    
165                       This is actually the function that calls the geocoding
                    
                
Protection.php https://github.com/libersoft/fengoffice-ls.git | PHP | 529 lines
                    
1<?php
                    
2/**
                    
4 *
                    
5 * Copyright (c) 2006 - 2008 PHPExcel
                    
6 *
                    
20 *
                    
21 * @category   PHPExcel
                    
22 * @package    PHPExcel_Worksheet
                    
22 * @package    PHPExcel_Worksheet
                    
23 * @copyright  Copyright (c) 2006 - 2008 PHPExcel (http://www.codeplex.com/PHPExcel)
                    
24 * @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt	LGPL
                    
29/**
                    
30 * PHPExcel_Worksheet_Protection
                    
31 *
                    
33 * @package    PHPExcel_Worksheet
                    
34 * @copyright  Copyright (c) 2006 - 2008 PHPExcel (http://www.codeplex.com/PHPExcel)
                    
35 */
                    
                
HeadLink.php https://bitbucket.org/Dal-Papa/is-340-publish-base.git | PHP | 467 lines
                    
1<?php
                    
2/**
                    
18 * @copyright  Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
                    
19 * @version    $Id: HeadLink.php 24858 2012-06-01 01:24:17Z adamlundrigan $
                    
20 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
23/** Zend_View_Helper_Placeholder_Container_Standalone */
                    
24require_once 'Zend/View/Helper/Placeholder/Container/Standalone.php';
                    
25
                    
64     *
                    
65     * Use PHP_EOL as separator
                    
66     *
                    
71        parent::__construct();
                    
72        $this->setSeparator(PHP_EOL);
                    
73    }
                    
153            if (1 > $argc) {
                    
154                require_once 'Zend/View/Exception.php';
                    
155                $e =  new Zend_View_Exception(sprintf('%s requires at least one argument', $method));
                    
                
Indicator.php https://gitlab.com/mnomansheikh/ampuz | PHP | 205 lines
                    
1<?php
                    
2namespace Indicator\Model;
                    
80    {
                    
81        return get_object_vars($this);
                    
82    }
                    
                
Data.php https://gitlab.com/devtoannh/cafe | PHP | 563 lines
                    
1<?php
                    
2/**
                    
18 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
19 * @version    $Id: Data.php 23775 2011-03-01 17:25:24Z ralph $
                    
20 */
                    
116        if ($this->hasItem($item['id'])) {
                    
117            require_once 'Zend/Dojo/Exception.php';
                    
118            throw new Zend_Dojo_Exception('Overwriting items using addItem() is not allowed');
                    
134        if (!is_array($items) && (!is_object($items) || !($items instanceof Traversable))) {
                    
135            require_once 'Zend/Dojo/Exception.php';
                    
136            throw new Zend_Dojo_Exception('Only arrays and Traversable objects may be added to ' . __CLASS__);
                    
227        } else {
                    
228            require_once 'Zend/Dojo/Exception.php';
                    
229            throw new Zend_Dojo_Exception('Invalid identifier; please use a string or integer');
                    
356        if (!is_string($json)) {
                    
357            require_once 'Zend/Dojo/Exception.php';
                    
358            throw new Zend_Dojo_Exception('fromJson() expects JSON input');
                    
                
Border.php https://github.com/andrerezende/SIE.git | PHP | 381 lines
                    
22 * @package	PHPExcel_Style
                    
23 * @copyright  Copyright (c) 2006 - 2010 PHPExcel (http://www.codeplex.com/PHPExcel)
                    
24 * @license	http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt	LGPL
                    
33 * @package	PHPExcel_Style
                    
34 * @copyright  Copyright (c) 2006 - 2010 PHPExcel (http://www.codeplex.com/PHPExcel)
                    
35 */
                    
35 */
                    
36class PHPExcel_Style_Border implements PHPExcel_IComparable
                    
37{
                    
97		// Initialise values
                    
98		$this->_color			= new PHPExcel_Style_Color(PHPExcel_Style_Color::COLOR_BLACK, $isSupervisor);
                    
99
                    
108	 *
                    
109	 * @param PHPExcel_Style_Borders $parent
                    
110	 * @param string $parentPropertyName
                    
                
Captcha.php https://bitbucket.org/openfisma-ondemand/openfisma.git | PHP | 313 lines
                    
1<?php
                    
2/**
                    
23/** @see Zend_Form_Element_Xhtml */
                    
24// require_once 'Zend/Form/Element/Xhtml.php';
                    
25
                    
26/** @see Zend_Captcha_Adapter */
                    
27// require_once 'Zend/Captcha/Adapter.php';
                    
28
                    
135    {
                    
136        $attribs = get_object_vars($this);
                    
137        unset($attribs['helper']);
                    
218            if (!isset($this->_loaders[$type])) {
                    
219                // require_once 'Zend/Loader/PluginLoader.php';
                    
220                $this->_loaders[$type] = new Zend_Loader_PluginLoader(
                    
                
class-wp-comment.php https://gitlab.com/webkod3r/tripolis | PHP | 395 lines
                    
1<?php
                    
2/**
                    
224	public function __construct( $comment ) {
                    
225		foreach ( get_object_vars( $comment ) as $key => $value ) {
                    
226			$this->$key = $value;
                    
238	public function to_array() {
                    
239		return get_object_vars( $this );
                    
240	}
                    
                
Border.php https://github.com/vivid-planet/library.git | PHP | 381 lines
                    
22 * @package	PHPExcel_Style
                    
23 * @copyright  Copyright (c) 2006 - 2011 PHPExcel (http://www.codeplex.com/PHPExcel)
                    
24 * @license	http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt	LGPL
                    
33 * @package	PHPExcel_Style
                    
34 * @copyright  Copyright (c) 2006 - 2011 PHPExcel (http://www.codeplex.com/PHPExcel)
                    
35 */
                    
35 */
                    
36class PHPExcel_Style_Border implements PHPExcel_IComparable
                    
37{
                    
97		// Initialise values
                    
98		$this->_color			= new PHPExcel_Style_Color(PHPExcel_Style_Color::COLOR_BLACK, $isSupervisor);
                    
99
                    
108	 *
                    
109	 * @param PHPExcel_Style_Borders $parent
                    
110	 * @param string $parentPropertyName
                    
                
object.php https://github.com/castlino/linonico.com.git | PHP | 297 lines
                    
10 *
                    
11 * CakePHP(tm) :  Rapid Development Framework (http://www.cakephp.org)
                    
12 * Copyright 2005-2008, Cake Software Foundation, Inc. (http://www.cakefoundation.org)
                    
18 * @copyright     Copyright 2005-2008, Cake Software Foundation, Inc. (http://www.cakefoundation.org)
                    
19 * @link          http://www.cakefoundation.org/projects/info/cakephp CakePHP(tm) Project
                    
20 * @package       cake
                    
133 *
                    
134 * @param $status see http://php.net/exit for values
                    
135 * @return void
                    
169		if (is_array($properties) && !empty($properties)) {
                    
170			$vars = get_object_vars($this);
                    
171			foreach ($properties as $key => $val) {
                    
179 * Used to report user friendly errors.
                    
180 * If there is a file app/error.php or app/app_error.php this file will be loaded
                    
181 * error.php is the AppError class it should extend ErrorHandler class.
                    
                
IATSOneTimeCharge.php https://gitlab.com/virtualrealms/d7civicrm | PHP | 253 lines
                    
1<?php
                    
2
                    
6
                    
7require_once 'CRM/Core/Form.php';
                    
8
                    
62  protected function getCustomerCodeDetail($params) {
                    
63    require_once "CRM/iATS/iATSService.php";
                    
64    $credentials = iATS_Service_Request::credentials($params['paymentProcessorId'], $params['is_test']);
                    
79    $ac1 = $customer['ac1'];
                    
80    $card = get_object_vars($ac1->CC);
                    
81    return $customer + $card;
                    
                
Column.php https://bitbucket.org/moodle/moodle.git | PHP | 404 lines
                    
1<?php
                    
2
                    
2
                    
3namespace PhpOffice\PhpSpreadsheet\Worksheet\AutoFilter;
                    
4
                    
4
                    
5use PhpOffice\PhpSpreadsheet\Exception as PhpSpreadsheetException;
                    
6use PhpOffice\PhpSpreadsheet\Worksheet\AutoFilter;
                    
184        if (!in_array($filterType, self::$filterTypes)) {
                    
185            throw new PhpSpreadsheetException('Invalid filter type for column AutoFilter.');
                    
186        }
                    
187        if ($filterType === self::AUTOFILTER_FILTERTYPE_CUSTOMFILTER && count($this->ruleset) > 2) {
                    
188            throw new PhpSpreadsheetException('No more than 2 rules are allowed in a Custom Filter');
                    
189        }
                    
391            } elseif ($key === 'ruleset') {
                    
392                // The columns array of \PhpOffice\PhpSpreadsheet\Worksheet\Worksheet\AutoFilter objects
                    
393                $this->ruleset = [];
                    
                
PackageCreator.php https://gitlab.com/daniruizcamacho/pfcascensores | PHP | 373 lines
                    
1<?php namespace Illuminate\Workbench;
                    
2
                    
103	{
                    
104		foreach (array('PhpUnit', 'Travis', 'Composer', 'Ignore') as $file)
                    
105		{
                    
110	/**
                    
111	 * Write the PHPUnit stub file.
                    
112	 *
                    
116	 */
                    
117	protected function writePhpUnitFile(Package $package, $directory)
                    
118	{
                    
118	{
                    
119		$stub = __DIR__.'/stubs/phpunit.xml';
                    
120
                    
120
                    
121		$this->files->copy($stub, $directory.'/phpunit.xml');
                    
122	}
                    
                
interfaces.php https://github.com/Seldaiendil/meyeOS.git | PHP | 529 lines
                    
1<?php
                    
2/*
                    
204	public function __toString() {
                    
205		$props = get_object_vars($this);
                    
206		$string = get_class($this) . '[';
                    
359	public function getAttributesMap() {
                    
360		return get_object_vars($this);
                    
361	}
                    
382	public function __toString() {
                    
383		$props = get_object_vars($this);
                    
384		$string = get_class($this) . '[';
                    
440	public function getAttributesMap() {
                    
441		return get_object_vars($this);
                    
442	}
                    
455	public function __toString() {
                    
456		$props = get_object_vars($this);
                    
457		$string = get_class($this) . '[';
                    
                
post.php https://gitlab.com/Blueprint-Marketing/wp-cli | PHP | 523 lines
                    
1<?php
                    
2
                    
170
                    
171		$post_arr = get_object_vars( $post );
                    
172		unset( $post_arr['filter'] );
                    
364		if ( isset( $assoc_args['post_content'] ) ) {
                    
365			$post_content = file_get_contents( 'php://stdin' );
                    
366		}
                    
464		} else {
                    
465			$readfile = 'php://stdin';
                    
466		}
                    
480 *
                    
481 *     wp post meta set 123 _wp_page_template about.php
                    
482 */
                    
                
functions.bb-users.php https://bitbucket.org/codemen_iftekhar/codemen.git | PHP | 496 lines
                    
1<?php
                    
2
                    
23	// Re calculate the user's meta in case we're pulling from a value cached on another site
                    
24	if ( $user_vars = get_object_vars( $user ) ) {
                    
25		$prefix_length = strlen( $bbdb->prefix );
                    
284	$reseturi = bb_get_uri(
                    
285		'bb-reset-password.php',
                    
286		array( 'key' => $resetkey ),
                    
                
class-wp-customize-panel.php https://gitlab.com/Gashler/sg | PHP | 482 lines
                    
1<?php
                    
2/**
                    
151	public function __construct( $manager, $id, $args = array() ) {
                    
152		$keys = array_keys( get_object_vars( $this ) );
                    
153		foreach ( $keys as $key ) {
                    
322		?>
                    
323		<script type="text/html" id="tmpl-customize-panel-<?php echo esc_attr( $this->type ); ?>-content">
                    
324			<?php $this->content_template(); ?>
                    
325		</script>
                    
326		<script type="text/html" id="tmpl-customize-panel-<?php echo esc_attr( $this->type ); ?>">
                    
327			<?php $this->render_template(); ?>
                    
328		</script>
                    
329        <?php
                    
330	}
                    
347				{{ data.title }}
                    
348				<span class="screen-reader-text"><?php _e( 'Press return or enter to open this panel' ); ?></span>
                    
349			</h3>
                    
                
Xmlrpcs.php https://github.com/holsinger/openfloor.git | PHP | 503 lines
                    
1<?php  if (!defined('BASEPATH')) exit('No direct script access allowed');
                    
2/**
                    
4 *
                    
5 * An open source application development framework for PHP 4.3.2 or newer
                    
6 *
                    
17{	
                    
18	show_error('Your PHP installation does not support XML');
                    
19}
                    
204			{
                    
205				$plist .= "$i - " .  print_r(get_object_vars($parser_object->xh[$parser]['params'][$i]), TRUE). ";\n";
                    
206				
                    
                
funcoes_helper.php https://bitbucket.org/everlon/teste-netsar.git | PHP | 249 lines
                    
1<?php
                    
2/**
                    
141          $arr = array();
                    
142          for($i = 0; $i < count($objeto); $i++) { $arr[] = get_object_vars( $objeto[$i] ); }
                    
143          return $arr;
                    
151          { 
                    
152            $arr[] = get_object_vars( $objeto[$i] ); 
                    
153          }
                    
184
                    
185      # Acrescentando a função para servidores anteriores ao PHP 5.3
                    
186      # (PHP 5 >= 5.3.0)
                    
247
                    
248/* End of file funcoes_helper.php */
                    
249/* Location: helpers/funcoes_helper.php */
                    
                
functions.php https://gitlab.com/ebrjose/comcebu | PHP | 499 lines
                    
1<?php
                    
2
                    
44function mc4wp_get_options() {
                    
45	$defaults = require MC4WP_PLUGIN_DIR . '/config/default-settings.php';
                    
46	$options  = (array) get_option( 'mc4wp', array() );
                    
120	$upload_dir = wp_upload_dir( null, false );
                    
121	$file       = $upload_dir['basedir'] . '/mailchimp-for-wp/debug-log.php';
                    
122	$default_file = $file;
                    
146			);
                    
147			file_put_contents( $dir . '/.htaccess', join( PHP_EOL, $lines ) );
                    
148		}
                    
194
                    
195	// fix for IIS servers using index.php in the URL
                    
196	if ( false !== stripos( $_SERVER['REQUEST_URI'], '/index.php/' . $site_request_uri ) ) {
                    
196	if ( false !== stripos( $_SERVER['REQUEST_URI'], '/index.php/' . $site_request_uri ) ) {
                    
197		$site_request_uri = 'index.php/' . $site_request_uri;
                    
198	}
                    
                
easyblogusers.php https://bitbucket.org/pastor399/newcastleunifc.git | PHP | 437 lines
                    
1<?php
                    
2/**
                    
4 * @copyright	Copyright (C) 2010 Stack Ideas Private Limited. All rights reserved.
                    
5 * @license		GNU/GPL, see LICENSE.php
                    
6 *
                    
10 * other free or open source software licenses.
                    
11 * See COPYRIGHT.php for copyright notices and details.
                    
12 */
                    
22	{
                    
23		if(JFile::exists(JPATH_ROOT.DIRECTORY_SEPARATOR.'components'.DIRECTORY_SEPARATOR.'com_easyblog'.DIRECTORY_SEPARATOR.'helpers'.DIRECTORY_SEPARATOR.'helper.php'))
                    
24		{
                    
24		{
                    
25			require_once (JPATH_ROOT.DIRECTORY_SEPARATOR.'components'.DIRECTORY_SEPARATOR.'com_easyblog'.DIRECTORY_SEPARATOR.'helpers'.DIRECTORY_SEPARATOR.'helper.php');
                    
26		}
                    
42	    {
                    
43	        $user   = get_object_vars( $user );
                    
44	    }
                    
                
Parser.php https://gitlab.com/matijabelec/bigpandadev | PHP | 399 lines
                    
1<?php
                    
2
                    
65        // push all variables into the stack to keep the current state of the parser
                    
66        $vars = get_object_vars($this);
                    
67        unset($vars['stack'], $vars['env'], $vars['handlers'], $vars['visitors'], $vars['expressionParser'], $vars['reservedMacroNames']);
                    
                
Font.php https://bitbucket.org/matyhaty/senses-thwaites.git | PHP | 639 lines
                    
33 * @package	PHPExcel_Style
                    
34 * @copyright  Copyright (c) 2006 - 2012 PHPExcel (http://www.codeplex.com/PHPExcel)
                    
35 */
                    
35 */
                    
36class PHPExcel_Style_Font implements PHPExcel_IComparable
                    
37{
                    
153			$this->_strikethrough	= NULL;
                    
154			$this->_color			= new PHPExcel_Style_Color(PHPExcel_Style_Color::COLOR_BLACK, $isSupervisor, $isConditional);
                    
155		} else {
                    
155		} else {
                    
156			$this->_color	= new PHPExcel_Style_Color(PHPExcel_Style_Color::COLOR_BLACK, $isSupervisor);
                    
157		}
                    
507		if (is_bool($pValue)) {
                    
508			$pValue = ($pValue) ? PHPExcel_Style_Font::UNDERLINE_SINGLE : PHPExcel_Style_Font::UNDERLINE_NONE;
                    
509		}
                    
                
Component.php https://gitlab.com/szlongshu/manaphp | PHP | 192 lines
                    
8
                    
9    use ManaPHP\Event\Manager;
                    
10
                    
13     *
                    
14     * @property \ManaPHP\Mvc\DispatcherInterface        $dispatcher;
                    
15     * @property \ManaPHP\Mvc\RouterInterface            $router
                    
26    //* @property \ManaPHP\Security $security
                    
27     * //* @property \ManaPHP\CryptInterface $crypt
                    
28     * // * @property \ManaPHP\EscaperInterface $escaper
                    
31    //     * @property \ManaPHP\Assets\Manager $assets
                    
32     * @property \ManaPHP\Di|\ManaPHP\DiInterface        $di
                    
33     * @property \ManaPHP\Http\Session\BagInterface      $persistent
                    
123         * @return static
                    
124         * @throws \ManaPHP\Event\Exception
                    
125         */
                    
                
class-wp-site.php https://gitlab.com/Fullerton/PolitePressCore | PHP | 366 lines
                    
1<?php
                    
2/**
                    
203	public function __construct( $site ) {
                    
204		foreach( get_object_vars( $site ) as $key => $value ) {
                    
205			$this->$key = $value;
                    
217	public function to_array() {
                    
218		return get_object_vars( $this );
                    
219	}
                    
339			$details = new stdClass();
                    
340			foreach ( get_object_vars( $this ) as $key => $value ) {
                    
341				$details->$key = $value;
                    
351
                    
352		/** This filter is documented in wp-includes/ms-blogs.php */
                    
353		$details = apply_filters_deprecated( 'blog_details', array( $details ), '4.7.0', 'site_details' );
                    
                
schema.php https://github.com/Sigiwara/candeo.git | PHP | 493 lines
                    
3/**
                    
4 * Schema database management for CakePHP.
                    
5 *
                    
5 *
                    
6 * PHP versions 4 and 5
                    
7 *
                    
7 *
                    
8 * CakePHP(tm) :  Rapid Development Framework <http://www.cakephp.org/>
                    
9 * Copyright 2005-2008, Cake Software Foundation, Inc.
                    
17 * @copyright		Copyright 2005-2008, Cake Software Foundation, Inc.
                    
18 * @link				http://www.cakefoundation.org/projects/info/cakephp CakePHP(tm) Project
                    
19 * @package			cake
                    
156				require_once($path . DS . $file);
                    
157			} elseif (file_exists($path . DS . 'schema.php') && is_file($path . DS . 'schema.php')) {
                    
158				require_once($path . DS . 'schema.php');
                    
                
Json.php https://bitbucket.org/baruffaldi/webapp-urltube.git | PHP | 242 lines
                    
1<?php
                    
2/**
                    
23 */
                    
24require_once 'Zend/Json/Exception.php';
                    
25
                    
72
                    
73        require_once 'Zend/Json/Decoder.php';
                    
74        return Zend_Json_Decoder::decode($encodedValue, $objectDecodeType);
                    
98
                    
99        require_once 'Zend/Json/Encoder.php';
                    
100        return Zend_Json_Encoder::encode($valueToEncode, $cycleCheck, $options);
                    
113     *   
                    
114     * This function converts the XML formatted string into a PHP array by   
                    
115     * calling a recursive (protected static) function in this class. Then, it   
                    
115     * calling a recursive (protected static) function in this class. Then, it   
                    
116     * converts that PHP array into JSON by calling the "encode" static funcion.  
                    
117     *  
                    
                
timber-image.php https://gitlab.com/aristath/timber | PHP | 528 lines
                    
1<?php
                    
2
                    
5 * @example
                    
6 * ```php
                    
7 * $context = Timber::get_context();
                    
81	 * @example
                    
82	 * ```php
                    
83	 * // You can pass it an ID number
                    
105	/**
                    
106	 * Get a PHP array with pathinfo() info from the file
                    
107	 * @return array
                    
165				}
                    
166				$image_custom = array_merge($image_custom, get_object_vars($basic));
                    
167			}
                    
234			 * This will catch TimberPost and any post classes that extend TimberPost,
                    
235			 * see http://php.net/manual/en/internals2.opcodes.instanceof.php#109108
                    
236			 * and https://github.com/timber/timber/wiki/Extending-Timber
                    
                
dumper.php https://bitbucket.org/laborautonomo/laborautonomo-site.git | PHP | 359 lines
                    
1<?php
                    
2/**
                    
5 *  @subpackage UnitTester
                    
6 *  @version    $Id: dumper.php 1782 2008-04-25 17:09:06Z pp11 $
                    
7 */
                    
312        return $this->describeArrayDifference(
                    
313                get_object_vars($first),
                    
314                get_object_vars($second),
                    
                
Conditional.php https://gitlab.com/Japang-Jawara/jawara-penilaian | PHP | 274 lines
                    
1<?php
                    
2
                    
2
                    
3namespace PhpOffice\PhpSpreadsheet\Style;
                    
4
                    
4
                    
5use PhpOffice\PhpSpreadsheet\IComparable;
                    
6
                    
260    /**
                    
261     * Implement PHP __clone to create a deep clone, not just a shallow copy.
                    
262     */
                    
264    {
                    
265        $vars = get_object_vars($this);
                    
266        foreach ($vars as $key => $value) {
                    
                
Template.php https://github.com/reddragon010/RG-ServerPanel.git | PHP | 450 lines
                    
1<?php
                    
2
                    
288     * implementation detail that has been introduced to optimize variable
                    
289     * access for versions of PHP before 5.4. This is not a way to override
                    
290     * the way to get a variable value.
                    
379            if (!isset(self::$cache[$class]['properties'])) {
                    
380                foreach (get_object_vars($object) as $k => $v) {
                    
381                    self::$cache[$class]['properties'][$k] = true;
                    
                
cronman.php https://github.com/Ratmir15/Joomla---formula-of-success.git | PHP | 408 lines
                    
80		$ret = array();
                    
81		// Find CRON configuration scripts, like cron1.php, cron2.php, cron1520.php, etc.
                    
82		jimport('joomla.filesystem.folder');
                    
82		jimport('joomla.filesystem.folder');
                    
83		$files = JFolder::files( $this->scriptdirectory, '^cron\d+\.php$' );
                    
84		if( count($files) <= 0 )
                    
91			if(substr($file,0,4) != 'cron') continue;
                    
92			$file = rtrim($file,'.php'); // Remove extension
                    
93			$file = ltrim($file,'cron'); // Remove prefix
                    
120			$flag = false; // When we find the start of the array we will start processing
                    
121			$cache = ''; // The cached PHP
                    
122			foreach($lines as $line)
                    
183				$object = $this->getConfiguration($id);
                    
184				if( count(get_object_vars($object)) > 0 )
                    
185				{
                    
                
class.idl.php https://github.com/tmjnaid/hiphop-php.git | PHP | 387 lines
                    
1<?php
                    
2/**
                    
2/**
                    
3 * Automatically generated by running "php schema.php class".
                    
4 *
                    
4 *
                    
5 * You may modify the file, but re-running schema.php against this file will
                    
6 * standardize the format without losing your schema changes. It does lose
                    
34//   'desc'   => description of the function's purpose
                    
35//   'flags'  => attributes of the function, see base.php for possible values
                    
36//   'opt'    => optimization callback function's name for compiler
                    
58      'type'   => VariantMap,
                    
59      'desc'   => "Returns an array of the names of the declared classes in the current script.\n\nNote that depending on what extensions you have compiled or loaded into PHP, additional classes could be present. This means that you will not be able to define your own classes using these names. There is a list of predefined classes in the Predefined Classes section of the appendices.",
                    
60    ),
                    
289  array(
                    
290    'name'   => "get_object_vars",
                    
291    'desc'   => "Gets the accessible non-static properties of the given object according to scope.",
                    
                
ListView.php https://bitbucket.org/jhunsinfotech/blue-blues.git | PHP | 296 lines
                    
1<?php
                    
2/*********************************************************************************
                    
15/*********************************************************************************
                    
16 * $Header: /advent/projects/wesat/vtiger_crm/sugarcrm/modules/Activities/ListView.php,v 1.14 2005/03/26 09:45:00 samk Exp $
                    
17 * Description:  TODO: To be written.
                    
22
                    
23require_once('Smarty_setup.php');
                    
24require_once("data/Tracker.php");
                    
24require_once("data/Tracker.php");
                    
25require_once('modules/Calendar/Activity.php');
                    
26require_once('include/logging.php');
                    
26require_once('include/logging.php');
                    
27require_once('include/ListView/ListView.php');
                    
28require_once('include/utils/utils.php');
                    
28require_once('include/utils/utils.php');
                    
29require_once('modules/CustomView/CustomView.php');
                    
30require_once('modules/Calendar/CalendarCommon.php');
                    
                
collection.php https://github.com/leth/kohana-jelly.git | PHP | 250 lines
                    
1<?php defined('SYSPATH') or die('No direct script access.');
                    
2
                    
65
                    
66		return array_keys(get_object_vars($this));
                    
67	}
                    
                
Clients.php https://gitlab.com/my-application.bjoernbartels.earth/module-admin | PHP | 322 lines
                    
1<?php
                    
2/**
                    
53    {
                    
54        return get_object_vars($this);
                    
55    }
                    
                
INI.php https://bitbucket.org/pastor399/newcastleunifc.git | PHP | 208 lines
                    
1<?php
                    
2/**
                    
43		// Iterate over the object to set the properties.
                    
44		foreach (get_object_vars($object) as $key => $value) {
                    
45			// If the value is an object then we need to put it in a local section.
                    
51				// Add the properties for this section.
                    
52				foreach (get_object_vars($value) as $k => $v) {
                    
53					$local[] = $k.'='.$this->_getValueAsINI($v);
                    
                
JSON.php https://gitlab.com/elasa/shop2.elasa.ir | PHP | 378 lines
                    
1<?php
                    
2/*
                    
4*   Copyright (C) 2007 by Cesar D. Rodas                                  *
                    
5*   crodas@phpy.org                                                       *
                    
6*                                                                         *
                    
28/**
                    
29 *    Serialize and Unserialize PHP Objects and array
                    
30 *    into JSON notation. 
                    
33 *    @package    JSON
                    
34 *    @author     Cesar D. Rodas <crodas@phpy.org>
                    
35 *    @copyright  2007 Cesar D. Rodas
                    
35 *    @copyright  2007 Cesar D. Rodas
                    
36 *    @license    http://www.opensource.org/licenses/bsd-license.php  BSD License
                    
37 *    @version    1.0
                    
37 *    @version    1.0
                    
38 *    @link       http://cesars.users.phpclasses.org/json 
                    
39 */
                    
                
dumper.php https://github.com/syfisher/limb.git | PHP | 360 lines
                    
1<?php
                    
2/**
                    
5 *  @subpackage UnitTester
                    
6 *  @version    $Id: dumper.php 7198 2008-11-01 11:57:17Z korchasa $
                    
7 */
                    
312        return $this->_describeArrayDifference(
                    
313                get_object_vars($first),
                    
314                get_object_vars($second),
                    
                
Serializer.class.php https://github.com/ghiata/xp-framework.git | PHP | 353 lines
                    
1<?php
                    
2/* This class is part of the XP framework
                    
28  /**
                    
29   * Class that reimplements PHP's builtin serialization format.
                    
30   *
                    
30   *
                    
31   * @see      php://serialize
                    
32   * @test     xp://net.xp_framework.unittest.remote.SerializerTest
                    
112          // Default object serializing
                    
113          $props= get_object_vars($var);
                    
114          $type= strtr($type, $this->packages[1]);
                    
                
glossary_document.php https://github.com/nadavkav/MoodleTAO.git | PHP | 262 lines
                    
1<?php
                    
2/**
                    
15* Functions for iterating and retrieving the necessary records are now also included
                    
16* in this file, rather than mod/glossary/lib.php
                    
17*
                    
22*/
                    
23require_once($CFG->dirroot.'/search/documents/document.php');
                    
24
                    
100    //links directly to entry
                    
101    // return $CFG->wwwroot.'/mod/glossary/showentry.php?eid='.$entry_id;
                    
102
                    
106    //this function is meant to return a url that is placed between href='[url here]'
                    
107    return "$CFG->wwwroot/mod/glossary/showentry.php?eid=$entry_id' onclick='return openpopup(\"/mod/glossary/showentry.php?eid=$entry_id\", \"entry\", DEFAULT_POPUP_SETTINGS, 0);";
                    
108} 
                    
140                $entryIds[] = $entry->id;
                    
141                $documents[] = new GlossarySearchDocument(get_object_vars($entry), $glossary->course, $context->id);
                    
142            } 
                    
                
syncinclude.php https://github.com/siekiera-media/jtlwawi_connector.git | PHP | 413 lines
                    
1<?php
                    
2/**
                    
2/**
                    
3 * jtlwawi_connector/dbeS/syncinclude.php
                    
4 * Tools für Sync
                    
5 * 
                    
6 * Es gelten die Nutzungs- und Lizenzhinweise unter http://www.jtl-software.de/jtlwawi.php
                    
7 * 
                    
9 * @copyright 2006, JTL-Software
                    
10 * @link http://jtl-software.de/jtlwawi.php
                    
11 * @version v1.05 / 06.06.07
                    
22// include server parameters
                    
23require_once(DOCROOT_PATH.'admin/includes/configure.php');
                    
24
                    
65	elseif (gettype($vardump) == "object") {
                    
66		foreach(get_object_vars($vardump) as $key => $value)
                    
67			$return.= $key." => ".Dump($value)."\n";
                    
                
ListView.php https://github.com/hitchby/PLEXUS.git | PHP | 267 lines
                    
1<?php
                    
2/*+********************************************************************************
                    
15
                    
16require_once('modules/Faq/Faq.php');
                    
17require_once('Smarty_setup.php');
                    
17require_once('Smarty_setup.php');
                    
18require_once('include/utils/utils.php');
                    
19require_once('include/ListView/ListView.php');
                    
19require_once('include/ListView/ListView.php');
                    
20require_once('modules/Faq/Faq.php');
                    
21require_once('modules/CustomView/CustomView.php');
                    
21require_once('modules/CustomView/CustomView.php');
                    
22require_once('include/database/Postgres8.php');
                    
23
                    
28
                    
29require_once($theme_path.'layout_utils.php');
                    
30
                    
                
kunena.php https://github.com/xillibit/Kunena-forum.git | PHP | 486 lines
                    
1<?php
                    
2/**
                    
250		// Iterate over the object variables to build the query fields/value pairs.
                    
251		foreach (get_object_vars($this) as $k => $v)
                    
252		{
                    
338		// Iterate over the object variables to build the query fields and values.
                    
339		foreach (get_object_vars($this) as $k => $v)
                    
340		{
                    
                
Loader.php https://github.com/swampthang/FUEL-CMS.git | PHP | 453 lines
                    
1<?php (defined('BASEPATH')) OR exit('No direct script access allowed');
                    
2/**
                    
37 *
                    
38 * Install this file as application/third_party/MX/Loader.php
                    
39 *
                    
61
                    
62require_once(APPPATH.'third_party/MX/Loader.php');
                    
63
                    
142		    require_once($my_driver_file);
                    
143		    $db = new $my_driver(get_object_vars($db));
                    
144		}
                    
277		$_ci_CI =& get_instance();
                    
278		foreach (get_object_vars($_ci_CI) as $_ci_key => $_ci_var)
                    
279		{
                    
297		if ((bool) @ini_get('short_open_tag') === FALSE AND config_item('rewrite_short_tags') == TRUE) {
                    
298			echo eval('?>'.preg_replace("/;*\s*\?>/", "; ?>", str_replace('<?=', '<?php echo ', file_get_contents($_ci_path))));
                    
299		} else {
                    
                
cssconcat.php https://gitlab.com/Blueprint-Marketing/vip-quickstart | PHP | 193 lines
                    
1<?php
                    
2/*
                    
23		// instead of $this->whatever.
                    
24		foreach ( array_keys( get_object_vars( $this ) ) as $key ) {
                    
25			if ( 'old_styles' === $key ) {
                    
                
environment.php https://github.com/nadavkav/MoodleTAO.git | PHP | 191 lines
                    
1<?php // $Id$
                    
2/**
                    
4 *
                    
5 * This should really be a singleton. A PHP5 Todo I guess.
                    
6 */
                    
59            if(is_object($hostobject)) {
                    
60                $temparr = get_object_vars($hostobject);
                    
61                foreach($temparr as $key => $value) {
                    
                
arrayhelper.php https://github.com/nikosdion/Akeeba-Example.git | PHP | 461 lines
                    
1<?php
                    
2/**
                    
166			$result = array();
                    
167			foreach (get_object_vars($item) as $k => $v)
                    
168			{
                    
436	 *
                    
437	 * @see     http://php.net/manual/en/function.array-unique.php
                    
438	 * @since   11.2
                    
                
ResultSet.php https://gitlab.com/rsilveira1987/Expresso | PHP | 290 lines
                    
1<?php
                    
2/**
                    
19 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
20 * @version    $Id: ResultSet.php 10020 2009-08-18 14:34:09Z j.fischer@metaways.de $
                    
21 */
                    
26 */
                    
27require_once 'Zend/Service/Technorati/Result.php';
                    
28
                    
270        $this->_xml     = $this->getXml();
                    
271        $vars = array_keys(get_object_vars($this));
                    
272        return array_diff($vars, array('_dom', '_xpath'));
                    
                
Data.php https://github.com/basdog22/Qool.git | PHP | 563 lines
                    
1<?php
                    
2/**
                    
18 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
19 * @version    $Id: Data.php 24594 2012-01-05 21:27:01Z matthew $
                    
20 */
                    
116        if ($this->hasItem($item['id'])) {
                    
117            require_once 'Zend/Dojo/Exception.php';
                    
118            throw new Zend_Dojo_Exception('Overwriting items using addItem() is not allowed');
                    
134        if (!is_array($items) && (!is_object($items) || !($items instanceof Traversable))) {
                    
135            require_once 'Zend/Dojo/Exception.php';
                    
136            throw new Zend_Dojo_Exception('Only arrays and Traversable objects may be added to ' . __CLASS__);
                    
227        } else {
                    
228            require_once 'Zend/Dojo/Exception.php';
                    
229            throw new Zend_Dojo_Exception('Invalid identifier; please use a string or integer');
                    
356        if (!is_string($json)) {
                    
357            require_once 'Zend/Dojo/Exception.php';
                    
358            throw new Zend_Dojo_Exception('fromJson() expects JSON input');
                    
                
Protection.php https://github.com/dziamid/Marcel.git | PHP | 533 lines
                    
20 *
                    
21 * @category   PHPExcel
                    
22 * @package    PHPExcel_Worksheet
                    
22 * @package    PHPExcel_Worksheet
                    
23 * @copyright  Copyright (c) 2006 - 2009 PHPExcel (http://www.codeplex.com/PHPExcel)
                    
24 * @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt	LGPL
                    
29/** PHPExcel_Shared_PasswordHasher */
                    
30require_once 'PHPExcel/Shared/PasswordHasher.php';
                    
31
                    
33/**
                    
34 * PHPExcel_Worksheet_Protection
                    
35 *
                    
37 * @package    PHPExcel_Worksheet
                    
38 * @copyright  Copyright (c) 2006 - 2009 PHPExcel (http://www.codeplex.com/PHPExcel)
                    
39 */
                    
                
Xmlrpcs.php https://github.com/bwghughes/houghandco.git | PHP | 522 lines
                    
1<?php  if (!defined('BASEPATH')) exit('No direct script access allowed');
                    
2/**
                    
4 *
                    
5 * An open source application development framework for PHP 4.3.2 or newer
                    
6 *
                    
17{	
                    
18	show_error('Your PHP installation does not support XML');
                    
19}
                    
203				{
                    
204					$plist .= "$i - " .  print_r(get_object_vars($parser_object->xh[$parser]['params'][$i]), TRUE). ";\n";
                    
205				}
                    
                
AviaryFX.php https://github.com/aviaryapi/AviaryFxPhp.git | PHP | 344 lines
                    
1<?php
                    
2
                    
3	/**
                    
4	 * AviaryFX PHP SDK
                    
5	 * 
                    
15		const HARDWARE_VERSION = "1.0";
                    
16	 	const SOFTWARE_VERSION = "PHP";
                    
17		const APP_VERSION = "1.0";
                    
268		/**
                    
269		 * Converts a SimpleXMLObject into an array. http://php.net/manual/en/book.simplexml.php
                    
270		 * 
                    
279		    if ( is_object($arrObjData) ) {
                    
280		        $arrObjData = get_object_vars($arrObjData);
                    
281		    }
                    
                
RichText.php https://gitlab.com/ptisky/API_prestashop | PHP | 199 lines
                    
22 * @package    PHPExcel_RichText
                    
23 * @copyright  Copyright (c) 2006 - 2013 PHPExcel (http://www.codeplex.com/PHPExcel)
                    
24 * @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt    LGPL
                    
33 * @package    PHPExcel_RichText
                    
34 * @copyright  Copyright (c) 2006 - 2013 PHPExcel (http://www.codeplex.com/PHPExcel)
                    
35 */
                    
35 */
                    
36class PHPExcel_RichText implements PHPExcel_IComparable
                    
37{
                    
72     *
                    
73     * @param PHPExcel_RichText_ITextElement $pText Rich text element
                    
74     * @throws PHPExcel_Exception
                    
161        } else {
                    
162            throw new PHPExcel_Exception("Invalid PHPExcel_RichText_ITextElement[] array passed.");
                    
163        }
                    
                
Data.php https://gitlab.com/yousafsyed/easternglamor | PHP | 563 lines
                    
1<?php
                    
2/**
                    
116        if ($this->hasItem($item['id'])) {
                    
117            #require_once 'Zend/Dojo/Exception.php';
                    
118            throw new Zend_Dojo_Exception('Overwriting items using addItem() is not allowed');
                    
134        if (!is_array($items) && (!is_object($items) || !($items instanceof Traversable))) {
                    
135            #require_once 'Zend/Dojo/Exception.php';
                    
136            throw new Zend_Dojo_Exception('Only arrays and Traversable objects may be added to ' . __CLASS__);
                    
227        } else {
                    
228            #require_once 'Zend/Dojo/Exception.php';
                    
229            throw new Zend_Dojo_Exception('Invalid identifier; please use a string or integer');
                    
356        if (!is_string($json)) {
                    
357            #require_once 'Zend/Dojo/Exception.php';
                    
358            throw new Zend_Dojo_Exception('fromJson() expects JSON input');
                    
359        }
                    
360        #require_once 'Zend/Json.php';
                    
361        $data = Zend_Json::decode($json);
                    
                
Xmlrpcs.php https://bitbucket.org/mbaily/tremain.git | PHP | 544 lines
                    
1<?php  if ( ! defined('BASEPATH')) exit('No direct script access allowed');
                    
2/**
                    
4 *
                    
5 * An open source application development framework for PHP 5.2.4 or newer
                    
6 *
                    
17{
                    
18	show_error('Your PHP installation does not support XML');
                    
19}
                    
213				{
                    
214					$plist .= "$i - " .  print_r(get_object_vars($parser_object->xh[$parser]['params'][$i]), TRUE). ";\n";
                    
215				}
                    
542
                    
543/* End of file Xmlrpcs.php */
                    
544/* Location: ./system/libraries/Xmlrpcs.php */
                    
                
Json.php https://github.com/jpratt/cal.git | PHP | 243 lines
                    
1<?php
                    
2/**
                    
67
                    
68        #require_once 'Zend/Json/Decoder.php';
                    
69        return Zend_Json_Decoder::decode($encodedValue, $objectDecodeType);
                    
97
                    
98        #require_once 'Zend/Json/Encoder.php';
                    
99        return Zend_Json_Encoder::encode($valueToEncode, $cycleCheck, $options);
                    
112     *
                    
113     * This function converts the XML formatted string into a PHP array by
                    
114     * calling a recursive (protected static) function in this class. Then, it
                    
114     * calling a recursive (protected static) function in this class. Then, it
                    
115     * converts that PHP array into JSON by calling the "encode" static funcion.
                    
116     *
                    
132        if ($simpleXmlElementObject == null) {
                    
133            #require_once 'Zend/Json/Exception.php';
                    
134            throw new Zend_Json_Exception('Function fromXml was called with an invalid XML formatted string.');
                    
                
Controller.php https://gitlab.com/campus-academy/krowkaramel | PHP | 400 lines
                    
1<?php
                    
2/**
                    
96		$out_data = array(
                    
97			'totals'    => get_object_vars( $report_data->totals ),
                    
98			'intervals' => array(),
                    
137	public function prepare_item_for_response( $report, $request ) {
                    
138		$data = get_object_vars( $report );
                    
139
                    
                
setting.php https://bitbucket.org/faisaluje/tugasku.git | PHP | 245 lines
                    
1<?php
                    
2require_once 'startup.php';
                    
15	//print_r($out); die;
                    
16	//$this->write(tableJson($out, sizeof($out), DataTransaksiPeer::getFieldNames(BasePeer::TYPE_PHPNAME)));	
                    
17	echo(tableJson($out, sizeof($out), SubSatkerPeer::getFieldNames(BasePeer::TYPE_PHPNAME)));
                    
66	//print_r($out); die;
                    
67	//$this->write(tableJson($out, sizeof($out), DataTransaksiPeer::getFieldNames(BasePeer::TYPE_PHPNAME)));	
                    
68	echo(tableJson($out, sizeof($out), SatkerPeer::getFieldNames(BasePeer::TYPE_PHPNAME)));
                    
69	*/
                    
70	echo (tableJson(getArray($satkers), SatkerPeer::doCount($c), SatkerPeer::getFieldNames(BasePeer::TYPE_PHPNAME)));
                    
71	
                    
121	//print_r($out); die;
                    
122	//$this->write(tableJson($out, sizeof($out), DataTransaksiPeer::getFieldNames(BasePeer::TYPE_PHPNAME)));	
                    
123	echo(tableJson($out, sizeof($out), SatkerPeer::getFieldNames(BasePeer::TYPE_PHPNAME)));
                    
124	*/
                    
125	echo (tableJson(getArray($bendaharas), PenerimaPeer::doCount($c), PenerimaPeer::getFieldNames(BasePeer::TYPE_PHPNAME)));
                    
126	
                    
                
Column.php https://bitbucket.org/kudutest1/moodlegit.git | PHP | 381 lines
                    
22 * @package		PHPExcel_Worksheet
                    
23 * @copyright	Copyright (c) 2006 - 2012 PHPExcel (http://www.codeplex.com/PHPExcel)
                    
24 * @license		http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt	LGPL
                    
33 * @package		PHPExcel_Worksheet
                    
34 * @copyright	Copyright (c) 2006 - 2012 PHPExcel (http://www.codeplex.com/PHPExcel)
                    
35 */
                    
186	 *	@throws	Exception
                    
187	 *	@return PHPExcel_Worksheet_AutoFilter_Column
                    
188	 */
                    
313	 * @param	boolean	$returnRule 	Flag indicating whether the rule object or the column object should be returned
                    
314	 * @return	PHPExcel_Worksheet_AutoFilter_Column|PHPExcel_Worksheet_AutoFilter_Column_Rule
                    
315	 */
                    
357	public function __clone() {
                    
358		$vars = get_object_vars($this);
                    
359		foreach ($vars as $key => $value) {
                    
                
HeadLink.php https://bitbucket.org/Ebozavrik/test-application.git | PHP | 487 lines
                    
1<?php
                    
2/**
                    
18 * @copyright  Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
                    
19 * @version    $Id: HeadLink.php 24858 2012-06-01 01:24:17Z adamlundrigan $
                    
20 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
23/** Zend_View_Helper_Placeholder_Container_Standalone */
                    
24require_once 'Zend/View/Helper/Placeholder/Container/Standalone.php';
                    
25
                    
64     *
                    
65     * Use PHP_EOL as separator
                    
66     *
                    
71        parent::__construct();
                    
72        $this->setSeparator(PHP_EOL);
                    
73    }
                    
155            if (1 > $argc) {
                    
156                require_once 'Zend/View/Exception.php';
                    
157                $e = new Zend_View_Exception( sprintf('%s requires at least one argument', $method) );
                    
                
PhpReferenceCompatibility.php https://gitlab.com/x33n/ImpressPages | PHP | 433 lines
                    
1<?php
                    
2/**
                    
21 * This ArrayObject is a rewrite of the implementation to fix
                    
22 * issues with php's implementation of ArrayObject where you
                    
23 * are unable to unset multi-dimensional arrays because you
                    
25 */
                    
26abstract class PhpReferenceCompatibility implements IteratorAggregate, ArrayAccess, Serializable, Countable
                    
27{
                    
70        $this->setIteratorClass($iteratorClass);
                    
71        $this->protectedProperties = array_keys(get_object_vars($this));
                    
72    }
                    
336    {
                    
337        return serialize(get_object_vars($this));
                    
338    }
                    
                
junittestcasedb.class.php https://github.com/foxmask/Booster.git | PHP | 256 lines
                    
1<?php
                    
2/**
                    
11
                    
12class jUnitTestCaseDb extends PHPUnit_Framework_TestCase {
                    
13
                    
123        foreach($rs as $r){
                    
124           $results[]=get_object_vars($r);
                    
125        }
                    
192        foreach($rs as $r){
                    
193           $results[]=get_object_vars($r);
                    
194        }
                    
                
Parser.php https://bitbucket.org/ke2083/transfans.co.uk-website.git | PHP | 412 lines
                    
1<?php
                    
2
                    
68        // push all variables into the stack to keep the current state of the parser
                    
69        // using get_object_vars() instead of foreach would lead to https://bugs.php.net/71336
                    
70        // This hack can be removed when min version if PHP 7.0
                    
                
view.php https://github.com/mjphaynes/core.git | PHP | 557 lines
                    
1<?php
                    
2/**
                    
2/**
                    
3 * Fuel is a fast, lightweight, community driven PHP5 framework.
                    
4 *
                    
9 * @copyright  2010 - 2011 Fuel Development Team
                    
10 * @link       http://fuelphp.com
                    
11 */
                    
18 *
                    
19 * Acts as an object wrapper for HTML pages with embedded PHP, called "views".
                    
20 * Variables can be assigned with the view object and referenced locally within
                    
24 * @category  Core
                    
25 * @link      http://fuelphp.com/docs/classes/view.html
                    
26 */
                    
66	 */
                    
67	protected $extension = 'php';
                    
68
                    
                
__CG__CrowdriseAdministrationBundleEntityDemande.php https://gitlab.com/Marwamimo/Crowdrise_Web | PHP | 301 lines
                    
1<?php
                    
2
                    
82
                    
83                $existingProperties = get_object_vars($proxy);
                    
84
                    
                
Deserializer.php https://github.com/taste/zf2.git | PHP | 307 lines
                    
1<?php
                    
2/**
                    
29/**
                    
30 * Read an AMF0 input stream and convert it into PHP data types
                    
31 *
                    
67     * @param  integer $typeMarker
                    
68     * @return mixed whatever the data type is of the marker in php
                    
69     * @throws Zend\Amf\Exception for invalid type
                    
143    /**
                    
144     * Read AMF objects and convert to PHP objects
                    
145     *
                    
145     *
                    
146     * Read the name value pair objects form the php message and convert them to
                    
147     * a php object class.
                    
209    /**
                    
210     * Converts numerically indexed actiosncript arrays into php arrays.
                    
211     *
                    
                
Value.php https://bitbucket.org/blackriver/openx.git | PHP | 401 lines
                    
1<?php
                    
2/**
                    
19 * @license    http://framework.zend.com/license/new-bsd     New BSD License
                    
20 * @version    $Id: Value.php 30068 2008-12-15 17:04:05Z pawel.gruszczynski $
                    
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
                    
                
RichText.php https://gitlab.com/Zinnurain/destination_finder_beta | PHP | 199 lines
                    
22 * @package    PHPExcel_RichText
                    
23 * @copyright  Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel)
                    
24 * @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt    LGPL
                    
33 * @package    PHPExcel_RichText
                    
34 * @copyright  Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel)
                    
35 */
                    
35 */
                    
36class PHPExcel_RichText implements PHPExcel_IComparable
                    
37{
                    
72     *
                    
73     * @param PHPExcel_RichText_ITextElement $pText Rich text element
                    
74     * @throws PHPExcel_Exception
                    
161        } else {
                    
162            throw new PHPExcel_Exception("Invalid PHPExcel_RichText_ITextElement[] array passed.");
                    
163        }
                    
                
Data.php https://bitbucket.org/kdms/sh-magento.git | PHP | 338 lines
                    
1<?php
                    
2/**
                    
98        ) {
                    
99            if (count(array_keys(get_object_vars($obj))) == 2) {
                    
100                $obj = array($obj->key => $obj->value);
                    
119        } elseif (is_object($obj)) {
                    
120            $objectKeys = array_keys(get_object_vars($obj));
                    
121
                    
139                if (is_object($value)) {
                    
140                    $value = get_object_vars($value);
                    
141                    if (count($value) == 2 && isset($value['key']) && isset($value['value'])) {
                    
151        if (is_object($mixed)) {
                    
152            $numOfVals = count(get_object_vars($mixed));
                    
153            if ($numOfVals == 2 && isset($mixed->key) && isset($mixed->value)) {
                    
153            if ($numOfVals == 2 && isset($mixed->key) && isset($mixed->value)) {
                    
154                $mixed = get_object_vars($mixed);
                    
155                /*
                    
                
 

Source

Language