post by Phil on Dec 6, 2023

I’m print on my development and quality sites footer the versions of core components (like codeigniter), so I can see at a glance what version I am and if I “need” to update or if a function I’m using is available or not.
is it possible to have a getVersion() also for Grocery Crud please?

thanks!

post by johnny on Dec 6, 2023

post by Phil on Dec 7, 2023

thanks!
unfortunately I cannot call it in my footer codeigniter view, I’ve got a

Class “GroceryCrud” not found

for codeigniter I use this
CodeIgniter <?= CodeIgniter\CodeIgniter::CI_VERSION ?>

is there a way to access the GroceryCrud class from a “generic” view?

many thanks!

post by johnny on Dec 7, 2023

Then can you try this?

<?php echo GroceryCrud\Core\GroceryCrud::VERSION; ?>

post by Phil on Dec 12, 2023

1 / 5
Dec 2023