Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Port back MVC from 4 and add type to MVC class name in MVC factory #17681

Merged
merged 3 commits into from
Sep 8, 2017

Conversation

laoneo
Copy link
Member

@laoneo laoneo commented Aug 23, 2017

This was part of pr #17615 and got somehow deleted. The MVC classes in the component needs to end with the type to be inline with the rest of the namespaced classes. See #17614 for more details. For example the Articles model which has now the name Joomla\Component\Administrator\Model\Articles will become then
Joomla\Component\Administrator\Model\ArticlesModel.

Additionally it ports back the MVCFactory code from the 4 branch.

@laoneo laoneo changed the title Add type to MVC class name in MVC factory Port back MVC from 4 Add type to MVC class name in MVC factory Aug 23, 2017
@laoneo laoneo closed this Aug 23, 2017
@laoneo laoneo deleted the j3/mvc/type branch August 23, 2017 07:29
@laoneo laoneo restored the j3/mvc/type branch August 23, 2017 07:29
@laoneo laoneo reopened this Aug 23, 2017
@laoneo laoneo changed the title Port back MVC from 4 Add type to MVC class name in MVC factory Port back MVC from 4 and add type to MVC class name in MVC factory Aug 23, 2017
@wilsonge wilsonge merged commit a77b00b into joomla:3.9-dev Sep 8, 2017
@wilsonge wilsonge deleted the j3/mvc/type branch September 8, 2017 15:02
@wilsonge wilsonge added this to the Joomla 3.9.0 milestone Sep 8, 2017
laoneo added a commit to Digital-Peak/joomla-cms that referenced this pull request Sep 11, 2017
…oomla#17681)

* Add type to MVC class name in MVC factory

* Port back the MVCFactory from 4.0

* CS

(cherry picked from commit a77b00b)
wilsonge pushed a commit that referenced this pull request Sep 20, 2017
* Port back MVC from 4 and add type to MVC class name in MVC factory (#17681)

* Add type to MVC class name in MVC factory

* Port back the MVCFactory from 4.0

* CS

(cherry picked from commit a77b00b)

* Rename the classes

* Convert the models used in code

* Fix some not regular stuff

* Remove obsolete code

* Update installer
@mbabker mbabker modified the milestones: Joomla 3.9.0, Joomla 3.10.0 May 12, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants