.scripts/symbiota.php
/**
   * Step 2 - Populate IDs
   *
   * Populates all plant ids into an array to cross-check if any plants were
   * deleted remotely. This ALWAYS assumes if the id is not removed from the
   * class-wide array, it was deleted remotely and therefore needs to be
   * deleted locally.
   */
Step 2 - Populate IDs
Populates all plant ids into an array to cross-check if any plants were
deleted remotely. This ALWAYS assumes if the id is not removed from the
class-wide array, it was deleted remotely and therefore needs to be
deleted locally.
Step 2 - Populate IDs Populates all plant ids into an array to cross - check if any plants were deleted remotely . This ALWAYS assumes if the id is not removed from the class - wide array it was deleted remotely and therefore needs to be deleted locally .
public function populateLocal() {
    $prepare = $this->database->prepare("
      SELECT id
      FROM   plants
    ");
    $this->deletions = $prepare->fetchAll(PDO::FETCH_COLUMN);
  }
public function populateLocal ( ) { $ prepare = $ this -> database -> prepare ( " 
      SELECT id
      FROM   plants
     " ) ; $ this -> deletions = $ prepare -> fetchAll ( PDO :: FETCH_COLUMN ) ; }
Step 2 - Populate IDs
 Populates all plant ids into an array to cross-check if any plants were
 deleted remotely.
Step 2 - Populate IDs Populates all plant ids into an array to cross - check if any plants were deleted remotely .