dlf/common/class.tx_dlf_list.php 1 location
|
@@ 863-881 (lines=19) @@
|
| 860 |
|
* |
| 861 |
|
* @return void |
| 862 |
|
*/ |
| 863 |
|
public function __set($var, $value) { |
| 864 |
|
|
| 865 |
|
$method = '_set'.ucfirst($var); |
| 866 |
|
|
| 867 |
|
if (!property_exists($this, $var) || !method_exists($this, $method)) { |
| 868 |
|
|
| 869 |
|
if (TYPO3_DLOG) { |
| 870 |
|
|
| 871 |
|
\TYPO3\CMS\Core\Utility\GeneralUtility::devLog('[tx_dlf_list->__set('.$var.', [data])] There is no setter function for property "'.$var.'"', $this->extKey, SYSLOG_SEVERITY_WARNING, $value); |
| 872 |
|
|
| 873 |
|
} |
| 874 |
|
|
| 875 |
|
} else { |
| 876 |
|
|
| 877 |
|
$this->$method($value); |
| 878 |
|
|
| 879 |
|
} |
| 880 |
|
|
| 881 |
|
} |
| 882 |
|
|
| 883 |
|
/** |
| 884 |
|
* This magic method is executed prior to any serialization of the object |
dlf/common/class.tx_dlf_solr.php 1 location
|
@@ 671-689 (lines=19) @@
|
| 668 |
|
* |
| 669 |
|
* @return void |
| 670 |
|
*/ |
| 671 |
|
public function __set($var, $value) { |
| 672 |
|
|
| 673 |
|
$method = '_set'.ucfirst($var); |
| 674 |
|
|
| 675 |
|
if (!property_exists($this, $var) || !method_exists($this, $method)) { |
| 676 |
|
|
| 677 |
|
if (TYPO3_DLOG) { |
| 678 |
|
|
| 679 |
|
\TYPO3\CMS\Core\Utility\GeneralUtility::devLog('[tx_dlf_solr->__set('.$var.', [data])] There is no setter function for property "'.$var.'"', self::$extKey, SYSLOG_SEVERITY_WARNING, $value); |
| 680 |
|
|
| 681 |
|
} |
| 682 |
|
|
| 683 |
|
} else { |
| 684 |
|
|
| 685 |
|
$this->$method($value); |
| 686 |
|
|
| 687 |
|
} |
| 688 |
|
|
| 689 |
|
} |
| 690 |
|
|
| 691 |
|
/** |
| 692 |
|
* This is a singleton class, thus the constructor should be private/protected |
dlf/common/class.tx_dlf_document.php 1 location
|
@@ 2585-2603 (lines=19) @@
|
| 2582 |
|
* |
| 2583 |
|
* @return void |
| 2584 |
|
*/ |
| 2585 |
|
public function __set($var, $value) { |
| 2586 |
|
|
| 2587 |
|
$method = '_set'.ucfirst($var); |
| 2588 |
|
|
| 2589 |
|
if (!property_exists($this, $var) || !method_exists($this, $method)) { |
| 2590 |
|
|
| 2591 |
|
if (TYPO3_DLOG) { |
| 2592 |
|
|
| 2593 |
|
\TYPO3\CMS\Core\Utility\GeneralUtility::devLog('[tx_dlf_document->__set('.$var.', '.$value.')] There is no setter function for property "'.$var.'"', self::$extKey, SYSLOG_SEVERITY_WARNING); |
| 2594 |
|
|
| 2595 |
|
} |
| 2596 |
|
|
| 2597 |
|
} else { |
| 2598 |
|
|
| 2599 |
|
$this->$method($value); |
| 2600 |
|
|
| 2601 |
|
} |
| 2602 |
|
|
| 2603 |
|
} |
| 2604 |
|
|
| 2605 |
|
/** |
| 2606 |
|
* This magic method is executed prior to any serialization of the object |