| 1 | <?php |
||
| 12 | class MarathonEntityUtils |
||
| 13 | { |
||
| 14 | 27 | public static function setPropertyIfExist($oSource, $oTarget, $sProperty) |
|
| 22 | |||
| 23 | /** |
||
| 24 | * Sets all possible properties in the class from oData. |
||
| 25 | * If the type is array or object, then it is ignored. |
||
| 26 | * @param $oData |
||
| 27 | */ |
||
| 28 | 36 | public static function setAllPossibleProperties($oData, $oTarget) |
|
| 41 | } |