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

[4.0] Namespace com_fields #16187

Merged
merged 11 commits into from
May 25, 2017
Merged

Conversation

laoneo
Copy link
Member

@laoneo laoneo commented May 22, 2017

Namespace com_fields.

Some extras:

  • The libraries classes are now in a plugin namespace.
  • The model can detect the factory by itself when it is namespaced, doesn't default to the LegacyFactory only
  • Introduced a new classmap file for the core extensions, where we can put in alias which we need and are extension specific
  • Models are used directly and not trough JModelLegacy::getInstance()
  • Removed some invalid code from merges

*
* @since 3.7.0
* @since 3.0
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

did you mean to change this?

*
* @since 3.7.0
* @since 1.6
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

did you meant to change this

*
* @since 3.7.0
* @since 3.0
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

again looks like you shouldnt have changed this

*
* @since 3.7.0
* @since 1.6
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

3.7.0

*
* @see JModelLegacy
* @since 3.7.0
* @since 1.6
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

3.7.0

@mbabker mbabker added this to Testing/Review in [4.0] Namespacing May 22, 2017
@brianteeman
Copy link
Contributor

Please review all the version number @SInCE changes - looks like a lot of copy paste errors. I started to comment inline on the code but there were too many

@laoneo
Copy link
Member Author

laoneo commented May 22, 2017

Thanks @brianteeman, fixed the since params.

@@ -106,12 +116,12 @@ protected function allowAdd($data = array())
*
* @return boolean
*
* @since 1.6
* @since 3.7.0
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

shouldnt this be since 1.6

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

or maybe it was wrong before

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it was wrong before, correctly it should be done against staging.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok

@brianteeman brianteeman changed the title Namespace com_fields [4.0] Namespace com_fields May 24, 2017
@brianteeman
Copy link
Contributor

(title updated to show its for v4)

@wilsonge wilsonge merged commit 246b951 into joomla:4.0-dev May 25, 2017
@wilsonge wilsonge added this to the Joomla 4.0 milestone May 25, 2017
@laoneo laoneo deleted the j4/namespace/fields branch May 25, 2017 11:55
@mbabker mbabker moved this from Testing/Review to Completed in [4.0] Namespacing May 25, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Development

Successfully merging this pull request may close these issues.

None yet

4 participants