Bonjour j'ai cette ligne dans une view/form.php
$this->container->factory->model('bookstatuses')->get()
cela me donne :
{"1":{"nglibrary_bookstatus_id":"1","title":"COURANT","is_new":"0","is_displayed":"1","is_bookable":"1"},"2":{"nglibrary_bookstatus_id":"2","title":"USUEL","is_new":"0","is_displayed":"1","is_bookable":"0"},"3":{"nglibrary_bookstatus_id":"3","title":"REPARATION","is_new":"0","is_displayed":"1","is_bookabl
je ne veux que les enregistrement qui ont "is_displayed != 0 " comment placer ma requete where ??
merci de votre aide
Bonjour j'ai cette ligne dans une view/form.php $this->container->factory->model('bookstatuses')->get() cela me donne : {"1":{"nglibrary_bookstatus_id":"1","title":"COURANT","is_new":"0","is_displayed":"1","is_bookable":"1"},"2":{"nglibrary_bookstatus_id":"2","title":"USUEL","is_new":"0","is_displayed":"1","is_bookable":"0"},"3":{"nglibrary_bookstatus_id":"3","title":"REPARATION","is_new":"0","is_displayed":"1","is_bookabl
je ne veux que les enregistrement qui ont "is_displayed != 0 " comment placer ma requete where ?? merci de votre aide