src/aws/ImageSelectCollectionActiveWindow.php
public function callbackRemoveFromIndex($imageId)
    {
        return Yii::$app->db->createCommand()->delete($this->refTableName, [
            $this->imageIdFieldName => (int) $imageId,
            $this->refFieldName => (int) $this->getItemId(),
        ])->execute();
    }
public function callbackRemoveFromIndex($imageId)
    {
        return Yii::$app->db->createCommand()->delete($this->refTableName, [
            $this->imageIdFieldName => (int) $imageId,
            $this->refFieldName => (int) $this->getItemId(),
        ])->execute();
    }
public function callbackRemoveFromIndex ( $ imageId ) { return Yii :: $ app -> db -> createCommand ( ) -> delete ( $ this -> refTableName , [ $ this -> imageIdFieldName => ( int ) $ imageId , $ this -> refFieldName => ( int ) $ this -> getItemId ( ) , ] ) -> execute ( ) ; }
Remove a given image id from the index.

@param integer $imageId The image to delete from the index.
@return number
Remove a given image id from the index .