100+ results for 'php get_object_vars'

Not the results you expected?

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

25 * @version ##VERSION##, ##DATE##

34 * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel)

35 */

36 class PHPExcel_Worksheet_BaseDrawing implements PHPExcel_IComparable

37 {

38 /**

221 * @throws PHPExcel_Exception

222 * @return PHPExcel_Worksheet_BaseDrawing

223 */

224 public function setWorksheet(PHPExcel_Worksheet $pValue = null, $pOverrideOld = false)

245 $this->setWorksheet($pValue);

246 } else {

247 throw new PHPExcel_Exception("A PHPExcel_Worksheet has already been assigned. Drawings can only exist on one PHPExcel_Worksheet.");

248 }

249 }

capabilities.php (https://github.com/socialplanning/opencore-wordpress-mu.git) PHP · 482 lines

1 <?php

2

3 class WP_Roles {

157 return;

158

159 foreach (get_object_vars($this->data) as $key => $value) {

160 $this->{$key} = $value;

161 }

basicCRUDPDO.class.php (https://gitlab.com/karl3/gs_libs) PHP · 364 lines

1 <?php

2

3 /**

31 public function __destruct()

32 {

33 $vars = get_object_vars($this);

34 if (is_array($vars)) {

35 foreach ($vars as $key => $val) {

HeaderFooter.php (https://gitlab.com/mbase2/source-code) PHP · 491 lines

1 <?php

2

3 namespace PhpOffice\PhpSpreadsheet\Worksheet;

4

5 /**

476

477 /**

478 * Implement PHP __clone to create a deep clone, not just a shallow copy.

479 */

480 public function __clone()

481 {

482 $vars = get_object_vars($this);

483 foreach ($vars as $key => $value) {

484 if (is_object($value)) {

comment.php (https://gitlab.com/Blueprint-Marketing/wp-cli) PHP · 458 lines

1 <?php

2

3 /**

117

118 if ( empty( $assoc_args['fields'] ) ) {

119 $comment_array = get_object_vars( $comment );

120 $assoc_args['fields'] = array_keys( $comment_array );

121 }

ElggMenuItem.php (https://github.com/wangaiying/elgg4ysu.git) PHP · 568 lines

1 <?php

2 /**

3 * Elgg Menu Item

540 }

541

542 $defaults = get_object_vars($this);

543 unset($defaults['data']);

544

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

25 * @version 1.7.9, 2013-06-02

33 * @package PHPExcel_Worksheet

34 * @copyright Copyright (c) 2006 - 2013 PHPExcel (http://www.codeplex.com/PHPExcel)

35 */

36 class PHPExcel_Worksheet_AutoFilter_Column

197 *

198 * @param string $pFilterType

199 * @throws PHPExcel_Exception

200 * @return PHPExcel_Worksheet_AutoFilter_Column

325 * @param PHPExcel_Worksheet_AutoFilter_Column_Rule $pRule

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 */

329 public function addRule(PHPExcel_Worksheet_AutoFilter_Column_Rule $pRule, $returnRule=TRUE) {

dumper.php (https://github.com/cgajardo/repositorium.git) PHP · 360 lines

1 <?php

2 /**

3 * base include file for SimpleTest

4 * @package SimpleTest

5 * @subpackage UnitTester

6 * @version $Id: dumper.php 1723 2008-04-08 00:34:10Z lastcraft $

7 */

8 /**

311 }

312 return $this->_describeArrayDifference(

313 get_object_vars($first),

314 get_object_vars($second),

email_queue_api.php (https://github.com/fusenigk/mantisbt-1.git) PHP · 198 lines

1 <?php

2 # MantisBT - A PHP based bugtracking system

24 * @link http://www.mantisbt.org

25 *

26 * @uses constant_api.php

27 * @uses database_api.php

28 * @uses error_api.php

29 * @uses lang_api.php

30 * @uses utility_api.php

31 */

32

33 require_api( 'constant_inc.php' );

34 require_api( 'database_api.php' );

Properties.php (https://github.com/tmccormi/openemr.git) PHP · 629 lines

1 <?php

2

3 namespace PhpOffice\PhpSpreadsheet\Document;

4

5 class Properties

485

486 /**

487 * Implement PHP __clone to create a deep clone, not just a shallow copy.

488 */

489 public function __clone()

490 {

491 $vars = get_object_vars($this);

492 foreach ($vars as $key => $value) {

493 if (is_object($value)) {

Data.php (https://bitbucket.org/acidel/buykoala.git) PHP · 239 lines

1 <?php

2 /**

3 * Magento

8 * that is bundled with this package in the file LICENSE.txt.

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

12 * obtain it through the world-wide-web, please send an email

22 * @package Mage_Api

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 */

26

87 && property_exists($obj, 'value')

88 ) {

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

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

91 return true;

Protection.php (https://gitlab.com/JrLucena/moodle) PHP · 581 lines

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

25 * @version ##VERSION##, ##DATE##

33 * @package PHPExcel_Worksheet

34 * @copyright Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel)

35 */

36 class PHPExcel_Worksheet_Protection

289 *

290 * @param boolean $pValue

291 * @return PHPExcel_Worksheet_Protection

292 */

293 public function setFormatColumns($pValue = false)

421 *

422 * @param boolean $pValue

423 * @return PHPExcel_Worksheet_Protection

424 */

425 public function setDeleteRows($pValue = false)

options.php (https://github.com/teamplus/teamplus.git) PHP · 366 lines

1 <?php

2 /**

3 * base include file for SimpleTest

4 * @package SimpleTest

5 * @version $Id: options.php 6354 2009-04-15 02:41:21Z mvdam $

6 */

7

206 /**

207 * Static methods for compatibility between different

208 * PHP versions.

209 * @package SimpleTest

210 */

212

213 /**

214 * Identity test. Drops back to equality + types for PHP5

215 * objects as the === operator counts as the

216 * stronger reference constraint.

Protection.php (https://github.com/chrishubber/storytlr.git) PHP · 533 lines

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

25 * @version 1.6.3, 2008-08-25

29 /** PHPExcel_Shared_PasswordHasher */

30 require_once 'PHPExcel/Shared/PasswordHasher.php';

31

32

33 /**

34 * PHPExcel_Worksheet_Protection

35 *

36 * @category PHPExcel

37 * @package PHPExcel_Worksheet

38 * @copyright Copyright (c) 2006 - 2008 PHPExcel (http://www.codeplex.com/PHPExcel)

39 */

40 class PHPExcel_Worksheet_Protection

Column.php (https://github.com/sbourget/moodle.git) PHP · 404 lines

1 <?php

2

3 namespace PhpOffice\PhpSpreadsheet\Worksheet\AutoFilter;

4

5 use PhpOffice\PhpSpreadsheet\Exception as PhpSpreadsheetException;

6 use PhpOffice\PhpSpreadsheet\Worksheet\AutoFilter;

183 $this->setEvaluatedFalse();

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) {

390 $this->parent = null;

391 } elseif ($key === 'ruleset') {

392 // The columns array of \PhpOffice\PhpSpreadsheet\Worksheet\Worksheet\AutoFilter objects

393 $this->ruleset = [];

394 foreach ($value as $k => $v) {

Indicator.php (https://gitlab.com/mnomansheikh/ampuz) PHP · 205 lines

1 <?php

2 namespace Indicator\Model;

3 use Zend\InputFilter\Factory as InputFactory;

79 public function getArrayCopy()

80 {

81 return get_object_vars($this);

82 }

83 public function setInputFilter(InputFilterInterface $inputFilter)

result.class.php (https://bitbucket.org/hanutimes/hanutimes.git) PHP · 253 lines

1 <?php

2 /* For licensing terms, see /license.txt */

3 /**

204

205 $arr_result=$result->load (null, $userid, $evaluationid);

206 $arr=get_object_vars($arr_result[0]);

207

208 $sql = 'INSERT INTO '.$tbl_grade_results_log

dumper.php (https://github.com/greevex/mzz-framework-blank-application.git) PHP · 360 lines

1 <?php

2 /**

3 * base include file for SimpleTest

4 * @package SimpleTest

5 * @subpackage UnitTester

6 * @version $Id: dumper.php 2460 2008-04-08 21:03:22Z mz $

7 */

8 /**

311 }

312 return $this->_describeArrayDifference(

313 get_object_vars($first),

314 get_object_vars($second),

Column.php (https://gitlab.com/marchelo8622/pluslawip) 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

25 * @version 1.8.0, 2014-03-02

33 * @package PHPExcel_Worksheet

34 * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel)

35 */

36 class PHPExcel_Worksheet_AutoFilter_Column

197 *

198 * @param string $pFilterType

199 * @throws PHPExcel_Exception

200 * @return PHPExcel_Worksheet_AutoFilter_Column

325 * @param PHPExcel_Worksheet_AutoFilter_Column_Rule $pRule

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 */

329 public function addRule(PHPExcel_Worksheet_AutoFilter_Column_Rule $pRule, $returnRule=TRUE) {

class-wp-comment.php (https://gitlab.com/webkod3r/tripolis) PHP · 395 lines

1 <?php

2 /**

3 * Comment API: WP_Comment class

223 */

224 public function __construct( $comment ) {

225 foreach ( get_object_vars( $comment ) as $key => $value ) {

226 $this->$key = $value;

227 }

237 */

238 public function to_array() {

239 return get_object_vars( $this );

240 }

241

Column.php (https://gitlab.com/alexandresgv/siteentec) 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

25 * @version ##VERSION##, ##DATE##

33 * @package PHPExcel_Worksheet

34 * @copyright Copyright (c) 2006 - 2013 PHPExcel (http://www.codeplex.com/PHPExcel)

35 */

36 class PHPExcel_Worksheet_AutoFilter_Column

197 *

198 * @param string $pFilterType

199 * @throws PHPExcel_Exception

200 * @return PHPExcel_Worksheet_AutoFilter_Column

325 * @param PHPExcel_Worksheet_AutoFilter_Column_Rule $pRule

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 */

329 public function addRule(PHPExcel_Worksheet_AutoFilter_Column_Rule $pRule, $returnRule=TRUE) {

Protection.php (https://github.com/libersoft/fengoffice-ls.git) PHP · 529 lines

1 <?php

2 /**

3 * PHPExcel

19 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA

20 *

21 * @category PHPExcel

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

25 * @version 1.6.3, 2008-08-25

33 * @package PHPExcel_Worksheet

34 * @copyright Copyright (c) 2006 - 2008 PHPExcel (http://www.codeplex.com/PHPExcel)

35 */

36 class PHPExcel_Worksheet_Protection

Column.php (https://gitlab.com/iarafat/web-apps-php-b-26) 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

25 * @version ##VERSION##, ##DATE##

33 * @package PHPExcel_Worksheet

34 * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel)

35 */

36 class PHPExcel_Worksheet_AutoFilter_Column

197 *

198 * @param string $pFilterType

199 * @throws PHPExcel_Exception

200 * @return PHPExcel_Worksheet_AutoFilter_Column

325 * @param PHPExcel_Worksheet_AutoFilter_Column_Rule $pRule

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 */

329 public function addRule(PHPExcel_Worksheet_AutoFilter_Column_Rule $pRule, $returnRule=TRUE) {

gantryini.class.php (https://bitbucket.org/elijahvsjesus/tandava.git) PHP · 345 lines

1 <?php

2 /**

3 * @package gantry

30 $inioutject = GantryINI::_readFile($data, true);

31

32 $parse = get_object_vars( $inioutject );

33

34 $data = array();

PackageCreator.php (https://gitlab.com/daniruizcamacho/pfcascensores) PHP · 373 lines

1 <?php namespace Illuminate\Workbench;

2

3 use Illuminate\Filesystem\Filesystem;

102 public function writeSupportFiles(Package $package, $directory, $plain)

103 {

104 foreach (array('PhpUnit', 'Travis', 'Composer', 'Ignore') as $file)

105 {

106 $this->{"write{$file}File"}($package, $directory, $plain);

109

110 /**

111 * Write the PHPUnit stub file.

112 *

113 * @param \Illuminate\Workbench\Package $package

115 * @return void

116 */

117 protected function writePhpUnitFile(Package $package, $directory)

118 {

119 $stub = __DIR__.'/stubs/phpunit.xml';

Constraint.php (https://github.com/gimler/symfony.git) PHP · 310 lines

1 <?php

2

3 /*

112 $invalidOptions = array();

113 $missingOptions = array_flip((array) $this->getRequiredOptions());

114 $knownOptions = get_object_vars($this);

115

116 // The "groups" option is added to the object lazily

306 $this->groups;

307

308 return array_keys(get_object_vars($this));

309 }

310 }

Component.php (https://gitlab.com/szlongshu/manaphp) PHP · 192 lines

7 namespace ManaPHP {

8

9 use ManaPHP\Event\Manager;

10

11 /**

12 * ManaPHP\Component

13 *

14 * @property \ManaPHP\Mvc\DispatcherInterface $dispatcher;

26 //* @property \ManaPHP\Security $security

27 * //* @property \ManaPHP\CryptInterface $crypt

28 * // * @property \ManaPHP\EscaperInterface $escaper

29 * @property \ManaPHP\Mvc\Model\ManagerInterface $modelsManager

30 * @property \ManaPHP\Mvc\Model\MetadataInterface $modelsMetadata

31 // * @property \ManaPHP\Assets\Manager $assets

32 * @property \ManaPHP\Di|\ManaPHP\DiInterface $di

33 * @property \ManaPHP\Http\Session\BagInterface $persistent

class-wp-site.php (https://gitlab.com/pankajmohale/chef2go) PHP · 366 lines

1 <?php

2 /**

3 * Site API: WP_Site class

202 */

203 public function __construct( $site ) {

204 foreach( get_object_vars( $site ) as $key => $value ) {

205 $this->$key = $value;

206 }

216 */

217 public function to_array() {

218 return get_object_vars( $this );

219 }

220

338 // Create a raw copy of the object for backwards compatibility with the filter below.

339 $details = new stdClass();

340 foreach ( get_object_vars( $this ) as $key => $value ) {

341 $details->$key = $value;

342 }

registry.php (https://github.com/dextercowley/joomla-platform.git) PHP · 454 lines

1 <?php

2 /**

3 * @package Joomla.Platform

404 if (is_object($data))

405 {

406 $data = get_object_vars($data);

407 }

408 else

438 $array = array();

439

440 foreach (get_object_vars((object) $data) as $k => $v)

441 {

442 if (is_object($v))

dumper.php (https://bitbucket.org/laborautonomo/laborautonomo-site.git) PHP · 359 lines

1 <?php

2 /**

3 * base include file for SimpleTest

4 * @package SimpleTest

5 * @subpackage UnitTester

6 * @version $Id: dumper.php 1782 2008-04-25 17:09:06Z pp11 $

7 */

8 /**

311 }

312 return $this->describeArrayDifference(

313 get_object_vars($first),

314 get_object_vars($second),

Event.php (https://gitlab.com/e0/mautic) PHP · 662 lines

1 <?php

2 /**

3 * @package Mautic

391 public function convertToArray ()

392 {

393 return get_object_vars($this);

394 }

395

Conditional.php (https://gitlab.com/Japang-Jawara/jawara-penilaian) PHP · 274 lines

1 <?php

2

3 namespace PhpOffice\PhpSpreadsheet\Style;

4

5 use PhpOffice\PhpSpreadsheet\IComparable;

259

260 /**

261 * Implement PHP __clone to create a deep clone, not just a shallow copy.

262 */

263 public function __clone()

264 {

265 $vars = get_object_vars($this);

266 foreach ($vars as $key => $value) {

267 if (is_object($value)) {

DataValidation.php (https://github.com/allinside/Yii-CMS.git) PHP · 474 lines

22 * @package PHPExcel_Cell

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

25 * @version 1.7.6, 2011-02-27

33 * @package PHPExcel_Cell

34 * @copyright Copyright (c) 2006 - 2011 PHPExcel (http://www.codeplex.com/PHPExcel)

35 */

36 class PHPExcel_Cell_DataValidation

188 *

189 * @param string $value

190 * @return PHPExcel_Cell_DataValidation

191 */

192 public function setFormula1($value = '') {

230 * @return PHPExcel_Cell_DataValidation

231 */

232 public function setType($value = PHPExcel_Cell_DataValidation::TYPE_NONE) {

233 $this->_type = $value;

234 return $this;

class.idl.php (https://github.com/tmjnaid/hiphop-php.git) PHP · 387 lines

1 <?php

2 /**

3 * Automatically generated by running "php schema.php class".

4 *

5 * You may modify the file, but re-running schema.php against this file will

33 // 'name' => name of the function

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

37 // 'note' => additional note about this function's schema

57 'return' => array(

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 ),

61 ));

Protection.php (https://github.com/dziamid/Marcel.git) PHP · 533 lines

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

25 * @version ##VERSION##, ##DATE##

29 /** PHPExcel_Shared_PasswordHasher */

30 require_once 'PHPExcel/Shared/PasswordHasher.php';

31

32

33 /**

34 * PHPExcel_Worksheet_Protection

35 *

36 * @category PHPExcel

37 * @package PHPExcel_Worksheet

38 * @copyright Copyright (c) 2006 - 2009 PHPExcel (http://www.codeplex.com/PHPExcel)

39 */

40 class PHPExcel_Worksheet_Protection

dumper.php (https://github.com/idler/limb.git) PHP · 360 lines

1 <?php

2 /**

3 * base include file for SimpleTest

4 * @package SimpleTest

5 * @subpackage UnitTester

6 * @version $Id: dumper.php 7198 2008-11-01 11:57:17Z korchasa $

7 */

8 /**

311 }

312 return $this->_describeArrayDifference(

313 get_object_vars($first),

314 get_object_vars($second),

Clients.php (https://gitlab.com/my-application.bjoernbartels.earth/my-application) PHP · 322 lines

1 <?php

2 /**

3 * BB's Zend Framework 2 Components

52 public function getArrayCopy()

53 {

54 return get_object_vars($this);

55 }

56

collection.php (https://github.com/loonies/kohana-jelly.git) PHP · 250 lines

1 <?php defined('SYSPATH') or die('No direct script access.');

2

3 /**

64 }

65

66 return array_keys(get_object_vars($this));

67 }

68

environment.php (https://github.com/nadavkav/MoodleTAO.git) PHP · 191 lines

1 <?php // $Id$

2 /**

3 * Info about the local environment, wrt RPC

4 *

5 * This should really be a singleton. A PHP5 Todo I guess.

6 */

7

58 $hostobject = get_record('mnet_host','id', $CFG->mnet_localhost_id);

59 if(is_object($hostobject)) {

60 $temparr = get_object_vars($hostobject);

61 foreach($temparr as $key => $value) {

62 $this->$key = $value;

__CG__MailPoetEntitiesSegmentEntity.php (https://gitlab.com/remyvianne/krowkaramel) PHP · 430 lines

1 <?php

2

3 namespace MailPoetDoctrineProxies\__CG__\MailPoet\Entities;

86 $proxy->__setCloner(null);

87

88 $existingProperties = get_object_vars($proxy);

89

90 foreach ($proxy::$lazyPropertiesDefaults as $property => $defaultValue) {

dumper.php (https://github.com/nigeldaley/moodle.git) PHP · 360 lines

1 <?php

2 /**

3 * base include file for SimpleTest

311 }

312 return $this->_describeArrayDifference(

313 get_object_vars($first),

314 get_object_vars($second),

registry.php (https://github.com/Paladin/joomla-platform.git) PHP · 472 lines

1 <?php

2 /**

3 * @package Joomla.Platform

89 *

90 * @since 12.2

91 * @note The interface is only present in PHP 5.4 and up.

92 */

93 public function jsonSerialize()

422 if (is_object($data))

423 {

424 $data = get_object_vars($data);

425 }

426 else

456 $array = array();

457

458 foreach (get_object_vars((object) $data) as $k => $v)

459 {

460 if (is_object($v))

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

25 * @version ##VERSION##, ##DATE##

33 * @package PHPExcel_Worksheet

34 * @copyright Copyright (c) 2006 - 2012 PHPExcel (http://www.codeplex.com/PHPExcel)

35 */

36 class PHPExcel_Worksheet_AutoFilter_Column

185 * @param string $pFilterType

186 * @throws Exception

187 * @return PHPExcel_Worksheet_AutoFilter_Column

188 */

189 public function setFilterType($pFilterType = self::AUTOFILTER_FILTERTYPE_FILTER) {

312 * @param PHPExcel_Worksheet_AutoFilter_Column_Rule $pRule

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 */

316 public function addRule(PHPExcel_Worksheet_AutoFilter_Column_Rule $pRule, $returnRule=TRUE) {

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

25 * @version 1.7.9, 2013-06-02

34 * @copyright Copyright (c) 2006 - 2013 PHPExcel (http://www.codeplex.com/PHPExcel)

35 */

36 class PHPExcel_RichText implements PHPExcel_IComparable

37 {

38 /**

71 * Add text

72 *

73 * @param PHPExcel_RichText_ITextElement $pText Rich text element

74 * @throws PHPExcel_Exception

160 $this->_richTextElements = $pElements;

161 } else {

162 throw new PHPExcel_Exception("Invalid PHPExcel_RichText_ITextElement[] array passed.");

163 }

164 return $this;

dumper.php (https://github.com/teamplus/teamplus.git) PHP · 360 lines

1 <?php

2 /**

3 * base include file for SimpleTest

4 * @package SimpleTest

5 * @subpackage UnitTester

6 * @version $Id: dumper.php 6354 2009-04-15 02:41:21Z mvdam $

7 */

8 /**

311 }

312 return $this->_describeArrayDifference(

313 get_object_vars($first),

314 get_object_vars($second),

admin-db.php (https://github.com/itspriddle/itt-capstone.git) PHP · 352 lines

1 <?php

2

3 function get_users_drafts( $user_id ) {

252 return $link;

253 } elseif ( $output == ARRAY_A ) {

254 return get_object_vars($link);

255 } elseif ( $output == ARRAY_N ) {

256 return array_values(get_object_vars($link));

Data.php (https://bitbucket.org/spenna/alexoo_produzione.git) PHP · 253 lines

1 <?php

2 /**

3 * Magento

8 * that is bundled with this package in the file LICENSE.txt.

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

12 * obtain it through the world-wide-web, please send an email

22 * @package Mage_Api

23 * @copyright Copyright (c) 2012 Magento Inc. (http://www.magentocommerce.com)

24 * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)

25 */

26

97 && property_exists($obj, 'value')

98 ) {

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

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

101 return true;

setting.php (https://bitbucket.org/faisaluje/tugasku.git) PHP · 245 lines

1 <?php

2 require_once 'startup.php';

14 }

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)));

65 }

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

72 } else if ($_REQUEST["savedata"] == "satker") {

PhpReferenceCompatibility.php (https://gitlab.com/x33n/ImpressPages) PHP · 433 lines

1 <?php

2 /**

3 * Zend Framework (http://framework.zend.com/)

20 *

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

24 * need to fetch the properties / lists as references.

25 */

26 abstract class PhpReferenceCompatibility implements IteratorAggregate, ArrayAccess, Serializable, Countable

27 {

28 /**

69 $this->storage = $input;

70 $this->setIteratorClass($iteratorClass);

71 $this->protectedProperties = array_keys(get_object_vars($this));

72 }

73

__CG__CrowdriseAdministrationBundleEntityDemande.php (https://gitlab.com/Marwamimo/Crowdrise_Web) PHP · 301 lines

1 <?php

2

3 namespace Proxies\__CG__\Crowdrise\AdministrationBundle\Entity;

81 $proxy->__setCloner(null);

82

83 $existingProperties = get_object_vars($proxy);

84

85 foreach ($proxy->__getLazyProperties() as $property => $defaultValue) {

MapperTest.php (https://github.com/luizfonseca/Relational.git) PHP · 355 lines

1 <?php

2

3 namespace Respect\Relational;

5 use PDO;

6

7 class MapperTest extends \PHPUnit_Framework_TestCase {

8

9 protected $mapper, $posts, $authors, $comments, $categories, $postsCategories;

135 $this->assertEquals(7, $comment->id);

136 $this->assertEquals('Comment Text', $comment->text);

137 $this->assertEquals(3, count(get_object_vars($comment)));

138 $this->assertEquals(5, $comment->post_id->id);

139 $this->assertEquals('Post Title', $comment->post_id->title);

140 $this->assertEquals('Post Text', $comment->post_id->text);

141 $this->assertEquals(4, count(get_object_vars($comment->post_id)));

142 }

143

junittestcasedb.class.php (https://github.com/foxmask/Booster.git) PHP · 256 lines

1 <?php

2 /**

3 * @package jelix

10 */

11

12 class jUnitTestCaseDb extends PHPUnit_Framework_TestCase {

13

14 /**

122 $results = array();

123 foreach($rs as $r){

124 $results[]=get_object_vars($r);

125 }

126

191 $results = array();

192 foreach($rs as $r){

193 $results[]=get_object_vars($r);

194 }

195

object.php (https://bitbucket.org/nlabyt/bcf-ball-4eb2.git) PHP · 327 lines

1 <?php

2 /**

3 * @version $Id: object.php 4266 2011-10-08 23:57:41Z johanjanssens $

95 {

96 if(is_object($property)) {

97 $property = get_object_vars($property);

98 }

99

135 if(is_null($property))

136 {

137 $result = get_object_vars($this);

138

139 foreach ($result as $key => $value)

__CG__EntitiesSentEmail.php (https://gitlab.com/gothcon/cthulhu) PHP · 477 lines

1 <?php

2

3 namespace Proxies\__CG__\Entities;

81 $proxy->__setCloner(null);

82

83 $existingProperties = get_object_vars($proxy);

84

85 foreach ($proxy->__getLazyProperties() as $property => $defaultValue) {

Candidato.php (https://bitbucket.org/brunobispo/webgoal-vagas-api.git) PHP · 425 lines

1 <?php

2

3 /**

226 public function toArray()

227 {

228 return get_object_vars($this);

229 }

230

class-wp-customize-panel.php (https://github.com/mhoofman/wordpress-heroku.git) PHP · 327 lines

139 */

140 public function __construct( $manager, $id, $args = array() ) {

141 $keys = array_keys( get_object_vars( $this ) );

142 foreach ( $keys as $key ) {

143 if ( isset( $args[ $key ] ) ) {

290 $classes = 'accordion-section control-section control-panel control-panel-' . $this->type;

291 ?>

292 <li id="accordion-panel-<?php echo esc_attr( $this->id ); ?>" class="<?php echo esc_attr( $classes ); ?>">

293 <h3 class="accordion-section-title" tabindex="0">

294 <?php echo esc_html( $this->title ); ?>

299 </ul>

300 </li>

301 <?php

302 }

303

functions.core.php (https://github.com/DatumDroid/DatumDroid-API.git) PHP · 254 lines

1 <?php

2

3 /**

139 */

140 function dd_load_service( $service = '' ) {

141 require_once( DD_DIR_INC . 'service.' . dd_get_service( $service ) . '.php' );

142 }

143

151 */

152 function dd_convert_url_query( $url = '' ) {

153 $query = parse_url( $url, PHP_URL_QUERY );

154 $query = html_entity_decode( $query );

155 $queryParts = explode( '&', $query );

176 function dd_parse_args( $args, $defaults = '' ) {

177 if ( is_object( $args ) ) {

178 $r = get_object_vars( $args );

179 } elseif ( is_array( $args ) ) {

180 $r =& $args;

pagination.php (https://github.com/ggunlugu/ornekler.git) PHP · 285 lines

1 <?php defined('SYSPATH') or die('No direct script access.');

2 /**

3 * Pagination links generator.

7 * @author Kohana Team

8 * @copyright (c) 2008-2009 Kohana Team

9 * @license http://kohanaphp.com/license.html

10 */

11 class Kohana_Pagination {

247

248 // Pass on the whole Pagination object

249 return $view->set(get_object_vars($this))->set('page', $this)->render();

250 }

251

RichText.php (https://github.com/Tassader/Spedicka.git) 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

25 * @version 1.8.0, 2014-03-02

34 * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel)

35 */

36 class PHPExcel_RichText implements PHPExcel_IComparable

37 {

38 /**

71 * Add text

72 *

73 * @param PHPExcel_RichText_ITextElement $pText Rich text element

74 * @throws PHPExcel_Exception

160 $this->_richTextElements = $pElements;

161 } else {

162 throw new PHPExcel_Exception("Invalid PHPExcel_RichText_ITextElement[] array passed.");

163 }

164 return $this;

RichText.php (https://gitlab.com/Abubakker/web_apps_php_26) 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

25 * @version ##VERSION##, ##DATE##

34 * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel)

35 */

36 class PHPExcel_RichText implements PHPExcel_IComparable

37 {

38 /**

71 * Add text

72 *

73 * @param PHPExcel_RichText_ITextElement $pText Rich text element

74 * @throws PHPExcel_Exception

160 $this->_richTextElements = $pElements;

161 } else {

162 throw new PHPExcel_Exception("Invalid PHPExcel_RichText_ITextElement[] array passed.");

163 }

164 return $this;

__CG__PiDevClientBundleEntityService.php (https://gitlab.com/galaxy-pidev/AllForDealWeb) PHP · 411 lines

1 <?php

2

3 namespace Proxies\__CG__\PiDev\ClientBundle\Entity;

81 $proxy->__setCloner(null);

82

83 $existingProperties = get_object_vars($proxy);

84

85 foreach ($proxy->__getLazyProperties() as $property => $defaultValue) {

Link.php (https://github.com/pimcore/pimcore.git) PHP · 602 lines

1 <?php

2

3 /**

563 public function isEmpty()

564 {

565 $vars = get_object_vars($this);

566 foreach ($vars as $key => $value) {

567 if (!empty($value)) {

ArrayObject.php (https://gitlab.com/yousafsyed/easternglamor) PHP · 432 lines

1 <?php

2 /**

3 * Zend Framework (http://framework.zend.com/)

65 $this->storage = $input;

66 $this->setIteratorClass($iteratorClass);

67 $this->protectedProperties = array_keys(get_object_vars($this));

68 }

69

331 public function serialize()

332 {

333 return serialize(get_object_vars($this));

334 }

335

406 {

407 $ar = unserialize($data);

408 $this->protectedProperties = array_keys(get_object_vars($this));

409

410 $this->setFlags($ar['flag']);

RichText.php (https://gitlab.com/alexandresgv/siteentec) 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

25 * @version ##VERSION##, ##DATE##

34 * @copyright Copyright (c) 2006 - 2013 PHPExcel (http://www.codeplex.com/PHPExcel)

35 */

36 class PHPExcel_RichText implements PHPExcel_IComparable

37 {

38 /**

71 * Add text

72 *

73 * @param PHPExcel_RichText_ITextElement $pText Rich text element

74 * @throws PHPExcel_Exception

160 $this->_richTextElements = $pElements;

161 } else {

162 throw new PHPExcel_Exception("Invalid PHPExcel_RichText_ITextElement[] array passed.");

163 }

164 return $this;

Protection.php (https://bitbucket.org/kucing2k/ediassoc.git) PHP · 563 lines

22 * @package PHPExcel_Worksheet

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

25 * @version 1.7.4, 2010-08-26

33 * @package PHPExcel_Worksheet

34 * @copyright Copyright (c) 2006 - 2010 PHPExcel (http://www.codeplex.com/PHPExcel)

35 */

36 class PHPExcel_Worksheet_Protection

297 *

298 * @param boolean $pValue

299 * @return PHPExcel_Worksheet_Protection

300 */

301 function setFormatColumns($pValue = false) {

417 *

418 * @param boolean $pValue

419 * @return PHPExcel_Worksheet_Protection

420 */

421 function setDeleteRows($pValue = false) {

mysqli_class_mysqli_properties_no_conn.php (https://gitlab.com/iranjith4/hhvm) PHP · 133 lines

1 <?php

2 $test_table_name = 'test_mysqli_class_mysqli_properties_no_conn_table_1'; require('table.inc');

3

12

13 printf("\nObject variables:\n");

14 $variables = array_keys(get_object_vars($mysqli));

15 foreach ($variables as $k => $var) {

16 printf("%s = '%s'\n", $var, var_export(@$mysqli->$var, true));

130 print "done!";

131 ?>

132 <?php error_reporting(0); ?>

133 <?php $test_table_name = 'test_mysqli_class_mysqli_properties_no_conn_table_1'; require_once("clean_table.inc"); ?>

Conditional.php (https://gitlab.com/hoanghung.dev/aloads) PHP · 293 lines

22 * @package PHPExcel_Style

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

25 * @version ##VERSION##, ##DATE##

34 * @copyright Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel)

35 */

36 class PHPExcel_Style_Conditional implements PHPExcel_IComparable

37 {

38 /* Condition types */

117 * Set Condition type

118 *

119 * @param string $pValue PHPExcel_Style_Conditional condition type

120 * @return PHPExcel_Style_Conditional

190 * @deprecated Deprecated, use setConditions instead

191 * @param string $pValue Condition

192 * @return PHPExcel_Style_Conditional

193 */

194 public function setCondition($pValue = '')

Protection.php (https://github.com/allinside/Yii-CMS.git) PHP · 545 lines

22 * @package PHPExcel_Worksheet

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

25 * @version 1.7.6, 2011-02-27

33 * @package PHPExcel_Worksheet

34 * @copyright Copyright (c) 2006 - 2011 PHPExcel (http://www.codeplex.com/PHPExcel)

35 */

36 class PHPExcel_Worksheet_Protection

279 *

280 * @param boolean $pValue

281 * @return PHPExcel_Worksheet_Protection

282 */

283 function setFormatColumns($pValue = false) {

399 *

400 * @param boolean $pValue

401 * @return PHPExcel_Worksheet_Protection

402 */

403 function setDeleteRows($pValue = false) {

BaseDrawing.php (https://bitbucket.org/kudutest1/moodlegit.git) PHP · 485 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

25 * @version ##VERSION##, ##DATE##

34 * @copyright Copyright (c) 2006 - 2012 PHPExcel (http://www.codeplex.com/PHPExcel)

35 */

36 class PHPExcel_Worksheet_BaseDrawing implements PHPExcel_IComparable

37 {

38 /**

211 * Set Worksheet

212 *

213 * @param PHPExcel_Worksheet $pValue

214 * @param bool $pOverrideOld If a Worksheet has already been assigned, overwrite it and remove image from old Worksheet?

215 * @throws Exception

238 $this->setWorksheet($pValue);

239 } else {

240 throw new Exception("A PHPExcel_Worksheet has already been assigned. Drawings can only exist on one PHPExcel_Worksheet.");

241 }

242 }

Shadow.php (https://gitlab.com/adamlwalker/generatedata) PHP · 288 lines

22 * @package PHPExcel_Worksheet_Drawing

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

25 * @version ##VERSION##, ##DATE##

34 * @copyright Copyright (c) 2006 - 2012 PHPExcel (http://www.codeplex.com/PHPExcel)

35 */

36 class PHPExcel_Worksheet_Drawing_Shadow implements PHPExcel_IComparable

37 {

38 /* Shadow alignment */

100

101 /**

102 * Create a new PHPExcel_Worksheet_Drawing_Shadow

103 */

104 public function __construct()

111 $this->_alignment = PHPExcel_Worksheet_Drawing_Shadow::SHADOW_BOTTOM_RIGHT;

112 $this->_color = new PHPExcel_Style_Color(PHPExcel_Style_Color::COLOR_BLACK);

113 $this->_alpha = 50;

114 }

Protection.php (https://bitbucket.org/kudutest1/moodlegit.git) PHP · 290 lines

19 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA

20 *

21 * @category PHPExcel

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

25 * @version 1.4.5, 2007-08-23

32 * @category PHPExcel

33 * @package PHPExcel_Style

34 * @copyright Copyright (c) 2006 - 2012 PHPExcel (http://www.codeplex.com/PHPExcel)

35 */

36 class PHPExcel_Style_Protection implements PHPExcel_IComparable

37 {

38 /** Protection styles */

dumper.php (https://github.com/orchestra-io/sample-openx.git) PHP · 360 lines

1 <?php

2 /**

3 * base include file for SimpleTest

4 * @package SimpleTest

5 * @subpackage UnitTester

6 * @version $Id: dumper.php 7321 2007-06-05 09:08:01Z andrew.hill@openads.org $

7 */

8 /**

311 }

312 return $this->_describeArrayDifference(

313 get_object_vars($first),

314 get_object_vars($second),

Shadow.php (https://gitlab.com/ptisky/API_prestashop) PHP · 288 lines

22 * @package PHPExcel_Worksheet_Drawing

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

25 * @version 1.7.9, 2013-06-02

30 * PHPExcel_Worksheet_Drawing_Shadow

31 *

32 * @category PHPExcel

33 * @package PHPExcel_Worksheet_Drawing

34 * @copyright Copyright (c) 2006 - 2013 PHPExcel (http://www.codeplex.com/PHPExcel)

35 */

36 class PHPExcel_Worksheet_Drawing_Shadow implements PHPExcel_IComparable

37 {

38 /* Shadow alignment */

111 $this->_alignment = PHPExcel_Worksheet_Drawing_Shadow::SHADOW_BOTTOM_RIGHT;

112 $this->_color = new PHPExcel_Style_Color(PHPExcel_Style_Color::COLOR_BLACK);

113 $this->_alpha = 50;

114 }

HeaderFooterDrawing.php (https://github.com/allinside/Yii-CMS.git) PHP · 350 lines

22 * @package PHPExcel_Worksheet

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

25 * @version 1.7.6, 2011-02-27

34 * @copyright Copyright (c) 2006 - 2011 PHPExcel (http://www.codeplex.com/PHPExcel)

35 */

36 class PHPExcel_Worksheet_HeaderFooterDrawing extends PHPExcel_Worksheet_Drawing implements PHPExcel_IComparable

37 {

38 /**

86

87 /**

88 * Create a new PHPExcel_Worksheet_HeaderFooterDrawing

89 */

90 public function __construct()

113 *

114 * @param string $pValue

115 * @return PHPExcel_Worksheet_HeaderFooterDrawing

116 */

117 public function setName($pValue = '') {

Protection.php (https://gitlab.com/team_fsn/fsn-php) PHP · 545 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

25 * @version 1.8.0, 2014-03-02

33 * @package PHPExcel_Worksheet

34 * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel)

35 */

36 class PHPExcel_Worksheet_Protection

279 *

280 * @param boolean $pValue

281 * @return PHPExcel_Worksheet_Protection

282 */

283 function setFormatColumns($pValue = false) {

399 *

400 * @param boolean $pValue

401 * @return PHPExcel_Worksheet_Protection

402 */

403 function setDeleteRows($pValue = false) {

XmlEncoderTest.php (https://github.com/Faianca/symfony.git) PHP · 257 lines

1 <?php

2

3 namespace Symfony\Tests\Component\Serializer\Encoder;

4

5 require_once __DIR__.'/../Fixtures/Dummy.php';

6 require_once __DIR__.'/../Fixtures/ScalarDummy.php';

21 */

22

23 class XmlEncoderTest extends \PHPUnit_Framework_TestCase

24 {

25 public function setUp()

171 $obj = $this->getObject();

172

173 $this->assertEquals(get_object_vars($obj), $this->encoder->decode($source, 'xml'));

174 }

175

Shadow.php (https://gitlab.com/vanthanhhoh/devlovebook) PHP · 288 lines

22 * @package PHPExcel_Worksheet_Drawing

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

25 * @version ##VERSION##, ##DATE##

30 * PHPExcel_Worksheet_Drawing_Shadow

31 *

32 * @category PHPExcel

33 * @package PHPExcel_Worksheet_Drawing

34 * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel)

35 */

36 class PHPExcel_Worksheet_Drawing_Shadow implements PHPExcel_IComparable

37 {

38 /* Shadow alignment */

111 $this->_alignment = PHPExcel_Worksheet_Drawing_Shadow::SHADOW_BOTTOM_RIGHT;

112 $this->_color = new PHPExcel_Style_Color(PHPExcel_Style_Color::COLOR_BLACK);

113 $this->_alpha = 50;

114 }

JoomapConfig.php (https://github.com/shafiqissani/Jewelery-Ecommerce-.git) PHP · 205 lines

1 <?php

2 /**

3 * The Joomap Config

4 * @author Daniel Grothe

5 * @version $Id: JoomapConfig.php 12 2008-08-17 20:51:27Z koders.de $

6 */

7

177 $fields = array();

178

179 $vars = get_object_vars( $this );

180 foreach($vars as $name => $value) {

181 $fields[] = "`{$name}`='{$value}'";

193 /** Debug output of current settings */

194 function dump() {

195 $vars = get_object_vars( $this );

196 echo '<pre style="text-align:left">';

197 foreach( $vars as $name => $value ) {

DocumentLiteralWrapper.php (https://gitlab.com/yousafsyed/easternglamor) PHP · 182 lines

1 <?php

2 /**

3 * Zend Framework (http://framework.zend.com/)

34 * }

35 *

36 * The document/literal wrapper pattern would lead php ext/soap to generate a

37 * single "request" object that contains $x and $y properties. To solve this a

38 * wrapper service is needed that extracts the properties and delegates a

40 *

41 * The input variable from a document/literal SOAP-call to the client

42 * MyCalculatorServiceClient#add(10, 20) would lead PHP ext/soap to create

43 * the following request object:

44 *

125

126 $delegateArgs = array();

127 foreach (get_object_vars($document) as $argName => $argValue) {

128 if (!isset($params[$argName])) {

129 throw new Exception\UnexpectedValueException(sprintf(

Comment.php (https://bitbucket.org/resourcemode/smodels.git) PHP · 250 lines

1 <?php

2 /**

3 * Smodels

240

241 protected function assignClassVariables(array $data = array()) {

242 $vars = get_object_vars($this);

243 foreach($data as $var => $value) {

244 if(array_key_exists($var, $vars)) {

update.php (https://github.com/chalosalvador/GDS.git) PHP · 297 lines

1 <?php

2 /**

3 * @package Joomla.Platform

227 if(isset($this->_latest))

228 {

229 foreach(get_object_vars($this->_latest) as $key=>$val) {

230 $this->$key = $val;

231 }

RowDimension.php (https://github.com/chrishubber/storytlr.git) PHP · 200 lines

1 <?php

2 /**

3 * PHPExcel

19 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA

20 *

21 * @category PHPExcel

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

25 * @version 1.6.3, 2008-08-25

33 * @package PHPExcel_Worksheet

34 * @copyright Copyright (c) 2006 - 2008 PHPExcel (http://www.codeplex.com/PHPExcel)

35 */

36 class PHPExcel_Worksheet_RowDimension

admin-ajax.php (https://github.com/micz/elencode.git) PHP · 219 lines

1 <?php

2 require_once('../bb-load.php');

3 require_once(BB_PATH . 'bb-admin/admin-functions.php');

4

5 if ( !$bb_current_id = bb_get_current_user_info( 'id' ) )

196

197 foreach ( $_POST['order'] as $pos => $forum_id ) :

198 $forum = $bbdb->escape_deep( get_object_vars( get_forum( $forum_id ) ) );

199 $forum['forum_order'] = $pos;

200 $forums[(int) $forum_id] = $forum;

Renderer.php (https://github.com/MikeLockz/lockwitz.git) PHP · 235 lines

1 <?php

2 /**

3 * A class to render Diffs in different formats.

9 *

10 * See the enclosed file COPYING for license information (LGPL). If you did

11 * not receive this file, see http://opensource.org/licenses/lgpl-license.php.

12 *

13 * @package Text_Diff

52 {

53 $params = array();

54 foreach (get_object_vars($this) as $k => $v) {

55 if ($k[0] == '_') {

56 $params[substr($k, 1)] = $v;

Resource.php (https://github.com/timglabisch/pimcore.git) PHP · 228 lines

1 <?php

2 /**

3 * Pimcore

82 Object_Abstract::setGetInheritedValues(true);

83

84 $objectVars = get_object_vars($this->model);

85

86 $data = array();

DefinedName.php (https://github.com/markn86/moodle.git) PHP · 263 lines

1 <?php

2

3 namespace PhpOffice\PhpSpreadsheet;

4

5 use PhpOffice\PhpSpreadsheet\Worksheet\Worksheet;

248

249 /**

250 * Implement PHP __clone to create a deep clone, not just a shallow copy.

251 */

252 public function __clone()

253 {

254 $vars = get_object_vars($this);

255 foreach ($vars as $key => $value) {

256 if (is_object($value)) {

Pager.php (https://gitlab.com/cuza/Clinic_Recods) PHP · 666 lines

1 <?php

2

3 /*

594 public function serialize()

595 {

596 $vars = get_object_vars($this);

597 unset($vars['query']);

598

arrayhelper.php (https://github.com/shafiqissani/Jewelery-Ecommerce-.git) PHP · 286 lines

1 <?php

2 /**

3 * @version $Id: arrayhelper.php 10707 2008-08-21 09:52:47Z eddieajau $

5 * @subpackage Utilities

6 * @copyright Copyright (C) 2005 - 2008 Open Source Matters. All rights reserved.

7 * @license GNU/GPL, see LICENSE.php

8 * Joomla! is free software. This version may have been modified pursuant to the

9 * GNU General Public License, and as distributed it includes or is derivative

10 * of works licensed under the GNU General Public License or other free or open

11 * source software licenses. See COPYRIGHT.php for copyright notices and

12 * details.

13 */

117 {

118 $result = array();

119 foreach (get_object_vars($p_obj) as $k => $v)

120 {

121 if ($regex)

Shadow.php (https://github.com/Tassader/Spedicka.git) PHP · 288 lines

22 * @package PHPExcel_Worksheet_Drawing

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

25 * @version 1.8.0, 2014-03-02

30 * PHPExcel_Worksheet_Drawing_Shadow

31 *

32 * @category PHPExcel

33 * @package PHPExcel_Worksheet_Drawing

34 * @copyright Copyright (c) 2006 - 2014 PHPExcel (http://www.codeplex.com/PHPExcel)

35 */

36 class PHPExcel_Worksheet_Drawing_Shadow implements PHPExcel_IComparable

37 {

38 /* Shadow alignment */

111 $this->_alignment = PHPExcel_Worksheet_Drawing_Shadow::SHADOW_BOTTOM_RIGHT;

112 $this->_color = new PHPExcel_Style_Color(PHPExcel_Style_Color::COLOR_BLACK);

113 $this->_alpha = 50;

114 }

Comment.php (https://bitbucket.org/kudutest1/moodlegit.git) PHP · 317 lines

22 * @package PHPExcel

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

25 * @version ##VERSION##, ##DATE##

34 * @copyright Copyright (c) 2006 - 2012 PHPExcel (http://www.codeplex.com/PHPExcel)

35 */

36 class PHPExcel_Comment implements PHPExcel_IComparable

37 {

38 /**

111 $this->_fillColor = new PHPExcel_Style_Color('FFFFFFE1');

112 $this->_alignment = PHPExcel_Style_Alignment::HORIZONTAL_GENERAL;

113 }

114

166 *

167 * @param string $value

168 * @return PHPExcel_Comment

169 */

170 public function setWidth($value = '96pt') {

BaseDrawing.php (https://gitlab.com/rsilveira1987/Expresso) PHP · 485 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

25 * @version 1.7.8, 2012-10-12

34 * @copyright Copyright (c) 2006 - 2012 PHPExcel (http://www.codeplex.com/PHPExcel)

35 */

36 class PHPExcel_Worksheet_BaseDrawing implements PHPExcel_IComparable

37 {

38 /**

211 * Set Worksheet

212 *

213 * @param PHPExcel_Worksheet $pValue

214 * @param bool $pOverrideOld If a Worksheet has already been assigned, overwrite it and remove image from old Worksheet?

215 * @throws Exception

238 $this->setWorksheet($pValue);

239 } else {

240 throw new Exception("A PHPExcel_Worksheet has already been assigned. Drawings can only exist on one PHPExcel_Worksheet.");

241 }

242 }

BaseDrawing.php (https://gitlab.com/albert925/lading-ach) PHP · 485 lines

22 * @package PHPExcel_Worksheet

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

25 * @version 1.7.4, 2010-08-26

34 * @copyright Copyright (c) 2006 - 2010 PHPExcel (http://www.codeplex.com/PHPExcel)

35 */

36 class PHPExcel_Worksheet_BaseDrawing implements PHPExcel_IComparable

37 {

38 /**

211 * Set Worksheet

212 *

213 * @param PHPExcel_Worksheet $pValue

214 * @param bool $pOverrideOld If a Worksheet has already been assigned, overwrite it and remove image from old Worksheet?

215 * @throws Exception

238 $this->setWorksheet($pValue);

239 } else {

240 throw new Exception("A PHPExcel_Worksheet has already been assigned. Drawings can only exist on one PHPExcel_Worksheet.");

241 }

242 }

dmMediaItemValidator.class.php (https://github.com/stephaneerard/dmImagesGridPlugin.git) PHP · 222 lines

1 <?php

2 /**

3 * Description of dmMediaItemValidator

70 protected function doClean($mediaItems) {

71 try {

72 $mediaItems = get_object_vars(json_decode($mediaItems));

73 } catch (Exception $e) {

74 throw new sfValidatorError($this, 'empty');

BaseDrawing.php (https://github.com/markn86/moodle.git) PHP · 532 lines

1 <?php

2

3 namespace PhpOffice\PhpSpreadsheet\Worksheet;

4

5 use PhpOffice\PhpSpreadsheet\Cell\Hyperlink;

6 use PhpOffice\PhpSpreadsheet\Exception as PhpSpreadsheetException;

7 use PhpOffice\PhpSpreadsheet\IComparable;

209 {

210 if ($this->worksheet === null) {

211 // Add drawing to \PhpOffice\PhpSpreadsheet\Worksheet\Worksheet

212 $this->worksheet = $pValue;

213 $this->worksheet->getCell($this->coordinates);

230 $this->setWorksheet($pValue);

231 } else {

232 throw new PhpSpreadsheetException('A Worksheet has already been assigned. Drawings can only exist on one \\PhpOffice\\PhpSpreadsheet\\Worksheet.');

233 }

234 }

Utils.php (https://gitlab.com/Erdrix/overviewCompanies) PHP · 296 lines

1 <?php

2

3 // Permission des dossier

15 if ('object' === $type && !($data instanceof Closure)) {

16 $type = get_class($data);

17 $data = get_object_vars($data);

18 }

19

52 if ('object' === $type && !($value instanceof Closure)) {

53 $type = get_class($value);

54 $value = get_object_vars($value);

55 }

56

149 $type = gettype($object);

150 if ($type === 'object') {

151 $list = get_object_vars($object);

152 foreach ($list as $key => $value) {

153 $object->$key = escape($value);

Assign.php (https://bitbucket.org/blackriver/openx.git) PHP · 204 lines

1 <?php

2 /* vim: set expandtab tabstop=4 shiftwidth=4: */

3 // +----------------------------------------------------------------------+

4 // | PHP Version 4 |

5 // +----------------------------------------------------------------------+

6 // | Copyright (c) 1997-2002 The PHP Group |

7 // +----------------------------------------------------------------------+

8 // | This source file is subject to version 2.02 of the PHP license, |

9 // | that is bundled with this package in the file LICENSE, and is |

10 // | available at through the world-wide-web at |

11 // | http://www.php.net/license/2_02.txt. |

12 // | If you did not receive a copy of the PHP license and are unable to |

Protection.php (https://bitbucket.org/kudutest1/moodlegit.git) PHP · 545 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

25 * @version ##VERSION##, ##DATE##

33 * @package PHPExcel_Worksheet

34 * @copyright Copyright (c) 2006 - 2012 PHPExcel (http://www.codeplex.com/PHPExcel)

35 */

36 class PHPExcel_Worksheet_Protection

279 *

280 * @param boolean $pValue

281 * @return PHPExcel_Worksheet_Protection

282 */

283 function setFormatColumns($pValue = false) {

399 *

400 * @param boolean $pValue

401 * @return PHPExcel_Worksheet_Protection

402 */

403 function setDeleteRows($pValue = false) {

Protection.php (https://github.com/greevex/mzz-framework-blank-application.git) PHP · 281 lines

19 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA

20 *

21 * @category PHPExcel

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

25 * @version 1.4.5, 2007-08-23

32 * @category PHPExcel

33 * @package PHPExcel_Style

34 * @copyright Copyright (c) 2006 - 2010 PHPExcel (http://www.codeplex.com/PHPExcel)

35 */

36 class PHPExcel_Style_Protection implements PHPExcel_IComparable

37 {

38 /** Protection styles */

BaseDrawing.php (https://github.com/ashwanthkumar/webnaplo.git) PHP · 485 lines

22 * @package PHPExcel_Worksheet

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

25 * @version 1.7.6, 2011-02-27

34 * @copyright Copyright (c) 2006 - 2011 PHPExcel (http://www.codeplex.com/PHPExcel)

35 */

36 class PHPExcel_Worksheet_BaseDrawing implements PHPExcel_IComparable

37 {

38 /**

211 * Set Worksheet

212 *

213 * @param PHPExcel_Worksheet $pValue

214 * @param bool $pOverrideOld If a Worksheet has already been assigned, overwrite it and remove image from old Worksheet?

215 * @throws Exception

238 $this->setWorksheet($pValue);

239 } else {

240 throw new Exception("A PHPExcel_Worksheet has already been assigned. Drawings can only exist on one PHPExcel_Worksheet.");

241 }

242 }

Import.php (https://github.com/livinglab/openlab.git) PHP · 226 lines

1 <?php

2 // Don't load directly

3 defined( 'WPINC' ) or die;

152

153 // translate json key/value pairs to event array key/value pairs

154 foreach ( get_object_vars( $json ) as $key => $value ) {

155 // venues and organizers are a bit more complex. We'll handle those later

156 if ( 'venue' === $key || 'organizer' === $key ) {

179 }

180

181 foreach ( get_object_vars( $venue ) as $key => $value ) {

182 if ( isset( $this->venue_field_map[ $key ] ) ) {

183 $key = $this->venue_field_map[ $key ];

205 }

206

207 foreach ( get_object_vars( $organizer ) as $key => $value ) {

208 if ( isset( $this->organizer_field_map[ $key ] ) ) {

209 $key = $this->organizer_field_map[ $key ];

Column.php (https://gitlab.com/unofficial-mirrors/moodle) PHP · 405 lines

23 * @package PHPExcel_Worksheet

24 * @copyright Copyright (c) 2006 - 2015 PHPExcel (http://www.codeplex.com/PHPExcel)

25 * @license http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt LGPL

26 * @version ##VERSION##, ##DATE##

172 * @param PHPExcel_Worksheet_AutoFilter

173 * @return PHPExcel_Worksheet_AutoFilter_Column

174 */

175 public function setParent(PHPExcel_Worksheet_AutoFilter $pParent = null)

200 {

201 if (!in_array($pFilterType, self::$filterTypes)) {

202 throw new PHPExcel_Exception('Invalid filter type for column AutoFilter.');

203 }

204

333 * @param PHPExcel_Worksheet_AutoFilter_Column_Rule $pRule

334 * @param boolean $returnRule Flag indicating whether the rule object or the column object should be returned

335 * @return PHPExcel_Worksheet_AutoFilter_Column|PHPExcel_Worksheet_AutoFilter_Column_Rule

336 */

337 public function addRule(PHPExcel_Worksheet_AutoFilter_Column_Rule $pRule, $returnRule = true)

exception.php (https://github.com/pjwiseman/joomla-cms.git) PHP · 389 lines

1 <?php

2 /**

3 * @package Joomla.Legacy

103 * @param string $msg The error message

104 * @param string $code The error code from the application

105 * @param integer $level The error level (use the PHP constants E_ALL, E_NOTICE etc.).

106 * @param string $info Optional: The additional error information.

107 * @param boolean $backtrace True if backtrace information is to be collected

244 JLog::add('JException::getProperties is deprecated.', JLog::WARNING, 'deprecated');

245

246 $vars = get_object_vars($this);

247

248 if ($public)

Constraint.php (https://github.com/pulzarraider/symfony.git) PHP · 300 lines

1 <?php

2

3 /*

109 $invalidOptions = [];

110 $missingOptions = array_flip((array) $this->getRequiredOptions());

111 $knownOptions = get_object_vars($this);

112

113 // The "groups" option is added to the object lazily

296 $this->groups;

297

298 return array_keys(get_object_vars($this));

299 }

300 }

gException.class.php (https://gitlab.com/karl3/gs_libs) PHP · 144 lines

1 <?php

2

3 /**

4 * Custom exception handler. Extends PHP Exception and adds a few new methods

5 */

6 class gException extends Exception

25 public function __destruct()

26 {

27 $vars = get_object_vars($this);

28 if (is_array($vars)) {

29 foreach ($vars as $key => $val) {

41 * @return string|array

42 */

43 public function gMessage($toString = true, $delim = PHP_EOL)

44 {

45 $message['time'] = date('Y-m-d G:i:s');

Shadow.php (https://gitlab.com/alexandresgv/siteentec) PHP · 288 lines

22 * @package PHPExcel_Worksheet_Drawing

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

25 * @version ##VERSION##, ##DATE##

30 * PHPExcel_Worksheet_Drawing_Shadow

31 *

32 * @category PHPExcel

33 * @package PHPExcel_Worksheet_Drawing

34 * @copyright Copyright (c) 2006 - 2013 PHPExcel (http://www.codeplex.com/PHPExcel)

35 */

36 class PHPExcel_Worksheet_Drawing_Shadow implements PHPExcel_IComparable

37 {

38 /* Shadow alignment */

111 $this->_alignment = PHPExcel_Worksheet_Drawing_Shadow::SHADOW_BOTTOM_RIGHT;

112 $this->_color = new PHPExcel_Style_Color(PHPExcel_Style_Color::COLOR_BLACK);

113 $this->_alpha = 50;

114 }

dumper.php (https://github.com/hatone/moodle.git) PHP · 360 lines

1 <?php

2 /**

3 * base include file for SimpleTest

4 * @package SimpleTest

5 * @subpackage UnitTester

6 * @version $Id: dumper.php,v 1.4 2010/12/14 17:35:45 moodlerobot Exp $

7 */

8 /**

311 }

312 return $this->_describeArrayDifference(

313 get_object_vars($first),

314 get_object_vars($second),

PaginationControl.php (https://github.com/Exercise/zf2.git) PHP · 140 lines

1 <?php

2 /**

3 * Zend Framework

116 }

117

118 $pages = get_object_vars($paginator->getPages($scrollingStyle));

119

120 if ($params !== null) {

Protection.php (https://gitlab.com/devtoannh/cafe) PHP · 545 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

25 * @version 1.7.8, 2012-10-12

33 * @package PHPExcel_Worksheet

34 * @copyright Copyright (c) 2006 - 2012 PHPExcel (http://www.codeplex.com/PHPExcel)

35 */

36 class PHPExcel_Worksheet_Protection

279 *

280 * @param boolean $pValue

281 * @return PHPExcel_Worksheet_Protection

282 */

283 function setFormatColumns($pValue = false) {

399 *

400 * @param boolean $pValue

401 * @return PHPExcel_Worksheet_Protection

402 */

403 function setDeleteRows($pValue = false) {

Protection.php (https://github.com/allinside/Yii-CMS.git) PHP · 281 lines

19 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA

20 *

21 * @category PHPExcel

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

25 * @version 1.4.5, 2007-08-23

32 * @category PHPExcel

33 * @package PHPExcel_Style

34 * @copyright Copyright (c) 2006 - 2011 PHPExcel (http://www.codeplex.com/PHPExcel)

35 */

36 class PHPExcel_Style_Protection implements PHPExcel_IComparable

37 {

38 /** Protection styles */

Shadow.php (https://gitlab.com/dmsapiens/physicians) PHP · 288 lines

22 * @package PHPExcel_Worksheet_Drawing

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

25 * @version ##VERSION##, ##DATE##

30 * PHPExcel_Worksheet_Drawing_Shadow

31 *

32 * @category PHPExcel

33 * @package PHPExcel_Worksheet_Drawing

34 * @copyright Copyright (c) 2006 - 2012 PHPExcel (http://www.codeplex.com/PHPExcel)

35 */

36 class PHPExcel_Worksheet_Drawing_Shadow implements PHPExcel_IComparable

37 {

38 /* Shadow alignment */

111 $this->_alignment = PHPExcel_Worksheet_Drawing_Shadow::SHADOW_BOTTOM_RIGHT;

112 $this->_color = new PHPExcel_Style_Color(PHPExcel_Style_Color::COLOR_BLACK);

113 $this->_alpha = 50;

114 }

mysqli_class_mysqli_interface.php (https://github.com/tstarling/hiphop-php.git) PHP · 267 lines

1 <?php

2 require('connect.inc');

3

52 );

53

54 if (version_compare(PHP_VERSION, '5.3.99', '<=')) {

55 $expected_methods['client_encoding'] = true;

56 }

110 );

111

112 if (version_compare(PHP_VERSION, '5.3.99', '>')) {

113 $expected_class_variables["error_list"] = true;

114 $expected_object_variables["error_list"] = true;

134

135 printf("\nObject variables:\n");

136 $variables = get_object_vars($mysqli);

137 foreach ($variables as $var => $v) {

138 if (isset($expected_object_variables[$var])) {

class.entity.php (https://gitlab.com/x33n/SellCloudMusic) PHP · 344 lines

1 <?php

2

3 require_once('kernel/class.transformer.php');

27 * @license ?

28 * @access ?

29 * @php 5.1 or higher

30 * */

31 abstract class Entity extends Transformer implements Serializable {

69 public function loadArray(& $param, $postfix = '') {

70

71 $vars = @get_object_vars($this);

72 while ($key = @key($vars)) {

73 // eliminates private variables (starting with '__'). Fixing scoping behaviour.

89 public function loadObject(& $param) {

90

91 $vars = @get_object_vars($this);

92 $inputs = @get_object_vars($param);

class.idl.php (https://github.com/babannasd/hiphop-php.git) PHP · 456 lines

1 <?php

2 /**

3 * Automatically generated by running "php schema.php class".

4 *

5 * You may modify the file, but re-running schema.php against this file will

33 // 'name' => name of the function

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

37 // 'note' => additional note about this function's schema

57 'return' => array(

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 ),

61 'taint_observer' => false,

class.bp-user.php (https://github.com/jazbek/nycga2.git) PHP · 398 lines

1 <?php

2 // Last sync [WP11537]

3

100

101 /**

102 * PHP4 Constructor - Sets up the object properties.

103 *

104 * Retrieves the userdata and then assigns all of the data keys to direct

132 return;

133

134 foreach ( get_object_vars( $this->data ) as $key => $value ) {

135 $this->{$key} = $value;

136 }

Protection.php (https://github.com/alien3d/idcmsCore.git) PHP · 575 lines

22 * @package PHPExcel_Worksheet

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

25 * @version 1.7.2, 2010-01-11

37 /** PHPExcel_Shared_PasswordHasher */

38 require_once PHPEXCEL_ROOT . 'PHPExcel/Shared/PasswordHasher.php';

39

40

45 * @package PHPExcel_Worksheet

46 * @copyright Copyright (c) 2006 - 2010 PHPExcel (http://www.codeplex.com/PHPExcel)

47 */

48 class PHPExcel_Worksheet_Protection

249 *

250 * @param boolean $pValue

251 * @return PHPExcel_Worksheet_Protection

252 */

253 function setObjects($pValue = false) {