Task #3078

Move Prerequisite to PHP 5.3.0

Added by moyo over 9 years ago. Updated over 7 years ago.

Status:ClosedStart date:07/30/2012
Priority:NormalDue date:
Assignee:webmyster% Done:

100%

Category:Common
Target version:0.84

Description

Permit to use : Late Static Bindings (Résolution statique à la volée)

TODO :
- change prerequisite in install / update : DONE
- canView, CanXXXX to static (cf. task #3806) : DONE
- Create ITEMTYPE::dropdown instead of Dropdown::show... : DONE need to use it now
- Try to clean all Late Static binding usage...
- ?

http://www.glpi-project.org/forum/viewtopic.php?id=14531 : n_retries sur imap_open : DONE

transform_all_can_to_static.diff Magnifier (66.2 KB) webmyster, 07/30/2012 01:59 PM


Subtasks

Feature #3806: Transform can* dynamic methods to staticClosedwebmyster

Feature #3807: Improve CommonDBRelation and CommonDBChildClosedwebmyster

Feature #3828: Review all CommonDBChild and CommonDBRelation inherited c...Closedwebmyster

Feature #3940: Study if CommonDBRelation can be "free relation" and if w...Closedwebmyster

Feature #3811: Transform CommonDBTM::getIndexName() to staticClosedwebmyster

Task #4059: Update README on website to update prerequisites (PHP...)Closedmoyo


Related issues

Blocked by GLPI Documentation - Task #4058: Move Prerequisite to PHP 5.3.0 Closed 11/27/2012

Associated revisions

Revision 16941
Added by moyo almost 9 years ago

move prerequisite to PHP 5.3
see #1274
see #3078

Revision 18944
Added by moyo over 8 years ago

work for PHP 5.3 and SpecificValueToSelect see #3078 and see #3722

Revision 18945
Added by moyo over 8 years ago

work for #3078

History

#1 Updated by webmyster over 8 years ago

I suggest this patch as a starting point for transforming all can* to static. It is just an automatic replacement that is working. Then we will have to clean each call to can* to ensure there is no possible optimization.

#2 Updated by moyo almost 8 years ago

  • Assignee set to webmyster

#3 Updated by moyo over 7 years ago

  • Status changed from New to Closed

Also available in: Atom PDF