You are here

class PDReferenceDocument in GlobalLink Connect for Drupal 7.7

Hierarchy

Expanded class hierarchy of PDReferenceDocument

File

gl_ws/glc/model/ReferenceDocument.inc.php, line 3

View source
class PDReferenceDocument {

  /*
   * Document data
   */
  public $data;

  /*
   * Document name that will show up in Project Director
   */
  public $name;
  public function getResourceInfo() {
    $resourceInfo = new ResourceInfo();
    $resourceInfo->size = strlen($this->data);
    $resourceInfo->name = $this->name;
    return $resourceInfo;
  }

}

Members