Merge pull request #4004 from civicrm/4.4
[civicrm-core.git] / CRM / Core / Reference / Dynamic.php
index 85c5d00f334e8f646a86dd2c070a0869de1ae94d..c33477eb3d1787ffa1fa25067c170977704b62c3 100644 (file)
@@ -7,6 +7,11 @@
  */
 class CRM_Core_Reference_Dynamic extends CRM_Core_Reference_Basic {
 
+  /**
+   * @param string $tableName
+   *
+   * @return bool
+   */
   public function matchesTargetTable($tableName) {
     return TRUE;
   }
@@ -41,6 +46,11 @@ EOS;
     return $result;
   }
 
+  /**
+   * @param CRM_Core_DAO $targetDao
+   *
+   * @return array
+   */
   public function getReferenceCount($targetDao) {
     $targetColumn = $this->getTargetKey();
     $params = array(