コード例 #1
0
 /**
  * Returns true if there are files attached to this object
  *
  * @param void
  * @return boolean
  */
 function hasAttachments()
 {
     return (bool) Attachments::countByObject($this, $this->getState(), $this->getVisibility());
 }