User tests: Successful: Unsuccessful:
JObject
is deprecated and will be removed in J4.x. This PR removes the majority of references to JObject
in favour of new stdClass()
.
Note:
I haven't touched class extending, such as JMenuNode extends JObject
as again, not sure how this would be done.
Code review.
None
Status | New | ⇒ | Pending |
Category | ⇒ | Administration Components Media Manager Libraries Plugins Front End |
Labels |
Added:
?
|
Category | Administration Components Media Manager Libraries Plugins Front End | ⇒ | Administration Components Media Manager Front End Tags Libraries |
The other thing to think of here is stdClass
doesn't allow you to have object keys with dots in them. Like where we create a JObject
to check permissions in components where you have something like $object->set('core.create', $value);
. In those cases you'd be better off using a Registry
object instead.
Yes.
Category | Administration Components Media Manager Libraries Front End Tags | ⇒ | Administration Components Media Manager Front End Tags Libraries Plugins |
Hmm, I think this is causing too many problems for Travis as some functions from the JObject
class are being called which I didn't take into consideration. Close?
Hmm, I think this is causing too many problems for Travis. Close?
Do it in smaller chunks. It's honestly a major project you're not going to be able to do in one big push just because there are so many uses of it.
Ok I'll revisit this later on tonight or tomorrow morning
Category | Administration Components Media Manager Libraries Front End Tags Plugins | ⇒ | Administration Code style Components Front End Libraries Media Manager Plugins Tags |
Status | Pending | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2016-09-10 13:28:57 |
Closed_By | ⇒ | wilsonge |
Given that closing this
Has to wait for 4.0 as it'd be a B/C break to stop being able to use the API methods it provides.