protected function indexItem(CNabuDataObject $item)
    {
        if (is_array($this->secondary_indexes)) {
            foreach ($this->secondary_indexes as $index) {
                $index->addItem($item);
            }
        }
    }
protected function indexItem(CNabuDataObject $item)
    {
        if (is_array($this->secondary_indexes)) {
            foreach ($this->secondary_indexes as $index) {
                $index->addItem($item);
            }
        }
    }
protected function indexItem ( CNabuDataObject $ item ) { if ( is_array ( $ this -> secondary_indexes ) ) { foreach ( $ this -> secondary_indexes as $ index ) { $ index -> addItem ( $ item ) ; } } }
Puts an item in all indexes.
@param CNabuDataObject $item Item to be indexed.
Puts an item in all indexes .