PublishedArticle::setAccessStatus PHP Method

setAccessStatus() public method

..)
public setAccessStatus ( $accessStatus )
$accessStatus int
    function setAccessStatus($accessStatus)
    {
        return $this->setData('accessStatus', $accessStatus);
    }

Usage Example

 /**
  * Class-specific methods for published submissions.
  * @param PublishedArticle $submission
  * @param DOMElement $node
  * @return PublishedArticle
  */
 function populatePublishedSubmission($submission, $node)
 {
     $deployment = $this->getDeployment();
     $issue = $deployment->getIssue();
     $submission->setSequence($node->getAttribute('seq'));
     $submission->setAccessStatus($node->getAttribute('access_status'));
     $submission->setIssueId($issue->getId());
     return $submission;
 }
All Usage Examples Of PublishedArticle::setAccessStatus