/**
* @file src/Model/Attach.php
- * @brief This file contains the Attach class for database interface
+ * This file contains the Attach class for database interface
*/
namespace Friendica\Model;
{
/**
- * @brief Return a list of fields that are associated with the attach table
+ * Return a list of fields that are associated with the attach table
*
* @return array field list
* @throws \Exception
}
/**
- * @brief Select rows from the attach table and return them as array
+ * Select rows from the attach table and return them as array
*
* @param array $fields Array of selected fields, empty for all
* @param array $conditions Array of fields for conditions
}
/**
- * @brief Retrieve a single record from the attach table
+ * Retrieve a single record from the attach table
*
* @param array $fields Array of selected fields, empty for all
* @param array $conditions Array of fields for conditions
}
/**
- * @brief Check if attachment with given conditions exists
+ * Check if attachment with given conditions exists
*
* @param array $conditions Array of extra conditions
*
}
/**
- * @brief Retrive a single record given the ID
+ * Retrive a single record given the ID
*
* @param int $id Row id of the record
*
}
/**
- * @brief Retrive a single record given the ID
+ * Retrive a single record given the ID
*
* @param int $id Row id of the record
*
}
/**
- * @brief Get file data for given row id. null if row id does not exist
+ * Get file data for given row id. null if row id does not exist
*
* @param array $item Attachment data. Needs at least 'id', 'backend-class', 'backend-ref'
*
}
/**
- * @brief Store new file metadata in db and binary in default backend
+ * Store new file metadata in db and binary in default backend
*
* @param string $data Binary data
* @param integer $uid User ID
}
/**
- * @brief Store new file metadata in db and binary in default backend from existing file
+ * Store new file metadata in db and binary in default backend from existing file
*
* @param $src
* @param $uid
/**
- * @brief Update an attached file
+ * Update an attached file
*
* @param array $fields Contains the fields that are updated
* @param array $conditions Condition array with the key values
/**
- * @brief Delete info from table and data from storage
+ * Delete info from table and data from storage
*
* @param array $conditions Field condition(s)
* @param array $options Options array, Optional