.scripts/contentdm.php
/**
   * Step 2 - Populate Pointers
   *
   * Populates all pointers into an array to cross-check if any manuscripts
   * were deleted remotely. This ALWAYS assumes if the pointer is not removed
   * from the class-wide array, it was deleted remotely and therefore needs to
   * be deleted locally.
   */
Step 2 - Populate Pointers
Populates all pointers into an array to cross-check if any manuscripts
were deleted remotely. This ALWAYS assumes if the pointer is not removed
from the class-wide array, it was deleted remotely and therefore needs to
be deleted locally.
Step 2 - Populate Pointers Populates all pointers into an array to cross - check if any manuscripts were deleted remotely . This ALWAYS assumes if the pointer 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 pointer
      FROM   manuscripts
      WHERE  collection = :collection
    ");
    $prepare->execute(array(":collection" => $this->collection));
    $this->deletions = $prepare->fetchAll(PDO::FETCH_COLUMN);
  }
public function populateLocal ( ) { $ prepare = $ this -> database -> prepare ( " 
      SELECT pointer
      FROM   manuscripts
      WHERE  collection = :collection
     " ) ; $ prepare -> execute ( array ( " :collection " => $ this -> collection ) ) ; $ this -> deletions = $ prepare -> fetchAll ( PDO :: FETCH_COLUMN ) ; }
Step 2 - Populate Pointers
 Populates all pointers into an array to cross-check if any manuscripts
 were deleted remotely.
Step 2 - Populate Pointers Populates all pointers into an array to cross - check if any manuscripts were deleted remotely .