You are here

public function PDReferenceDocument::getResourceInfo in GlobalLink Connect for Drupal 7.7

File

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

Class

PDReferenceDocument

Code

public function getResourceInfo() {
  $resourceInfo = new ResourceInfo();
  $resourceInfo->size = strlen($this->data);
  $resourceInfo->name = $this->name;
  return $resourceInfo;
}