includes/manuscript-viewer-helper.php
/**
   * Parent Information
   *
   * Queries the local database for information regarding the parent pointer
   * for the current manuscript.
   *
   * This function should only be called once for the starting manuscript.
   *
   * The collection column is appended in the event pointer numbers will
   * overlap in different collections.
   *
   * @return String
   */
Parent Information
Queries the local database for information regarding the parent pointer
for the current manuscript.

This function should only be called once for the starting manuscript.

The collection column is appended in the event pointer numbers will
overlap in different collections.

@return String
Parent Information Queries the local database for information regarding the parent pointer for the current manuscript . This function should only be called once for the starting manuscript . The collection column is appended in the event pointer numbers will overlap in different collections . @return String
public function retrieveParent() {
    $prepare = $this->database->prepare("
      SELECT parent_object
      FROM   manuscripts
      WHERE  collection = :collection
        AND  pointer    = :pointer
      LIMIT  1
    ");
    $prepare->execute(array(
      ":collection" => $this->collection,
      ":pointer"    => $this->pointer
    ));
    return $prepare->fetchColumn();
  }
public function retrieveParent ( ) { $ prepare = $ this -> database -> prepare ( " 
      SELECT parent_object
      FROM   manuscripts
      WHERE  collection = :collection
        AND  pointer    = :pointer
      LIMIT  1
     " ) ; $ prepare -> execute ( array ( " :collection " => $ this -> collection , " :pointer " => $ this -> pointer ) ) ; return $ prepare -> fetchColumn ( ) ; }
Parent Information
 Queries the local database for information regarding the parent pointer
 for the current manuscript.
Parent Information Queries the local database for information regarding the parent pointer for the current manuscript .