info:concrete5:c56:homepage

Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

Les deux révisions précédentes Révision précédente
Prochaine révision
Révision précédente
info:concrete5:c56:homepage [2025/12/03 10:31] – [bug install] radeffinfo:concrete5:c56:homepage [2025/12/03 10:31] (Version actuelle) – [Packages] radeff
Ligne 38: Ligne 38:
 </code> </code>
  
- 
-==== datatable ==== 
- 
- 
-https://github.com/cottley/concrete5-jquery-datatables/tree/master/jquery_datatables/blocks (voir ses autres packages)  
-{{tag>datatable}} 
-===== Packages ===== 
- 
-Addons/plugin for c5.6 
- 
-[[http://www.concrete5.org/marketplace/addons/|http://www.concrete5.org/marketplace/addons/]] 
- 
-{{namespace>info:concrete5:c56:&linkonly&title&order=title}} 
- 
-===== db ===== 
- 
-<code> 
-The database object 
- 
-You can load the active database object within any function or class by running the following command: 
- 
-$db= Loader::db(); 
- 
-This makes the database object available in our current scope, meaning that we can now fetch and manipulate data. 
-Connecting to other databases 
- 
-If you need to connect to a different database, you can switch out the active database object on the fly: 
- 
-$db = Loader::db( 'newserver', 'newuser', 'newpassword', 'newdatabase', true); 
- 
-When you’re done working with the other database, return to your default concrete5 database by clearing out the connection details: 
- 
-$db = Loader::db(null, null, null, null, true); 
- 
-$db->Execute('select * from TestTable'); 
-</code> 
  
  
  • info/concrete5/c56/homepage.1764754280.txt.gz
  • Dernière modification : 2025/12/03 10:31
  • de radeff