lundi 3 août 2015

Show only specific Values of Array

im working on a project an need help..

$this->addDataControl('DataOptionList',
          'produkt',
          array(
            'allow_none'=>TRUE,
            'caption'=>'Produkt',
            'source'=>NO_CACHE, 
            'handler'=>'buglist.ProduktErrors', 
            'filter'=>array('filter'=>array('produkt'=>$this->values['filter_produkt'])),

            'optionlist_size'=>1,
            'key'=>'@nr',
            'value'=>'@name',
            DEFAULTVALUE=>TRUE),
          TRUE,
          array('permissions'=>'2111'));

and the line filter shows all entries of the array, but i need only those with specific id's (e.g 188, 69, ...)

how do i realize this?




Aucun commentaire:

Enregistrer un commentaire