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

[CLEANUP] Cleaned up #10

Merged
merged 4 commits into from
Oct 22, 2015
Merged

[CLEANUP] Cleaned up #10

merged 4 commits into from
Oct 22, 2015

Conversation

skipperbent
Copy link
Owner

  • Cleaned up model column names.
  • Added request() helper function for request related functions.
  • Renamed \Pecee\Language class to \Pecee\Translation - as it's more
    logical.
  • Removed Server class as methods are availible through the request()
    helper.
  • Simplified Model class by removing __call magic method. Auto getting
    and settings methods: getId() no longer returns id.
    unless a custom method has been created.
  • Cleaned up code.

- Cleaned up model column names.
- Added request() helper function for request related functions.
- Renamed \Pecee\Language class to \Pecee\Translation - as it's more
  logical.
- Removed Server class as methods are availible through the request()
  helper.
- Simplified Model class by removing __call magic method. Auto getting
  and settings methods: getId() no longer returns id.
  unless a custom method has been created.
- Cleaned up code.
- Cleaned up Collection class.
- Removed methods from Controller class which is already there through the
  Base inherited class (issue: #12).
- Renamed asJSON to asJson in Controller class.
- Made asJson class use response class.
- Translated error exceptions in Image class.
- Removed validation stuff from Form class as it doesn't belong there.
- Optimised FileAbstract class so it now uses response class.
- Removed $_GET from FileAbstract class as it inherits from the
  BaseController.
- Other optimisations and cleanups.
skipperbent added a commit that referenced this pull request Oct 22, 2015
@skipperbent skipperbent merged commit d268e79 into master Oct 22, 2015
@skipperbent skipperbent deleted the feature-cleanup branch October 22, 2015 20:05
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.

1 participant