public function approve($comment)
    {
        $qry = new InvokePostMethodQuery($this->getResourcePath(), "approve", array(
            "comment" => $comment
        ));
        $this->getContext()->addQuery($qry);
    }
public function approve($comment)
    {
        $qry = new InvokePostMethodQuery($this->getResourcePath(), "approve", array(
            "comment" => $comment
        ));
        $this->getContext()->addQuery($qry);
    }
public function approve ( $ comment ) { $ qry = new InvokePostMethodQuery ( $ this -> getResourcePath ( ) , "approve" , array ( "comment" => $ comment ) ) ; $ this -> getContext ( ) -> addQuery ( $ qry ) ; }
Approves the file submitted for content approval with the specified comment.
@param string $comment The comment for the approval.
Approves the file submitted for content approval with the specified comment .