Changeset 3328381
- Timestamp:
- 07/15/2025 04:03:59 PM (9 months ago)
- Location:
- wp-businessdirectory/trunk/includes/mvc
- Files:
-
- 4 edited
-
controller/BaseController.php (modified) (2 diffs)
-
object/CMSObject.php (modified) (2 diffs)
-
table/Table.php (modified) (4 diffs)
-
toolbar/ToolbarHelper.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
wp-businessdirectory/trunk/includes/mvc/controller/BaseController.php
r2914935 r3328381 297 297 else 298 298 { 299 throw new \InvalidArgumentException(\JText::sprintf('JLIB_APPLICATION_ERROR_INVALID_CONTROLLER', $type, $format));299 //throw new \InvalidArgumentException(\JText::sprintf('JLIB_APPLICATION_ERROR_INVALID_CONTROLLER', $type, $format)); 300 300 } 301 301 } … … 786 786 } 787 787 788 $this->name = strtolower($r[1]);788 $this->name = $r[1]; 789 789 } 790 790 -
wp-businessdirectory/trunk/includes/mvc/object/CMSObject.php
r2196655 r3328381 8 8 9 9 namespace MVC\Object; 10 11 use AllowDynamicProperties; 10 12 11 13 defined('JPATH_PLATFORM') or die; … … 20 22 * @deprecated 4.0 21 23 */ 24 25 #[AllowDynamicProperties] 22 26 class CMSObject 23 27 { -
wp-businessdirectory/trunk/includes/mvc/table/Table.php
r2914935 r3328381 12 12 13 13 \JLoader::import('joomla.filesystem.path'); 14 15 use AllowDynamicProperties; 14 16 15 17 /** … … 21 23 * @tutorial JBD.Platform/jtable.cls 22 24 */ 25 #[AllowDynamicProperties] 23 26 abstract class Table extends \JObject 24 27 { … … 171 174 if (!property_exists($this, $name)) 172 175 { 173 $this->$name = null; 176 // Suppress deprecation warning for dynamic properties in PHP 8.2+ 177 @$this->$name = null; 174 178 } 175 179 } … … 329 333 } 330 334 331 // Convert the passed path(s) to a dd to an array.335 // Convert the passed path(s) to an array. 332 336 settype($path, 'array'); 333 337 -
wp-businessdirectory/trunk/includes/mvc/toolbar/ToolbarHelper.php
r2196655 r3328381 43 43 44 44 $app = Factory::getApplication(); 45 $app->JComponentTitle = $html; 45 // Suppress deprecation warning for dynamic properties in PHP 8.2+ 46 @$app->JComponentTitle = $html; 46 47 Factory::getDocument()->setTitle(strip_tags($title)); 47 48 }
Note: See TracChangeset
for help on using the changeset viewer.