use Friendica\Core\Renderer;
use Friendica\Database\DBA;
use Friendica\Model\Contact;
-use Friendica\Model\Conversation;
use Friendica\Model\Item;
use Friendica\Model\Term;
use Friendica\Util\Crypto;
* Constructor
*
* @param array $data data array
+ * @throws \Exception
*/
public function __construct(array $data)
{
*
* @return mixed The data requested on success
* false on failure
+ * @throws \Friendica\Network\HTTPException\InternalServerErrorException
+ * @throws \ImagickException
*/
public function getTemplateData(array $conv_responses, $thread_level = 1)
{
}
}
- $responses = get_responses($conv_responses, $response_verbs, $this, $item);
+ $responses = get_responses($conv_responses, $response_verbs, $item, $this);
foreach ($response_verbs as $value => $verbs) {
$responses[$verbs]['output'] = !empty($conv_responses[$verbs][$item['uri']]) ? format_like($conv_responses[$verbs][$item['uri']], $conv_responses[$verbs][$item['uri'] . '-l'], $verbs, $item['uri']) : '';
* @param Post $item The child item to add
*
* @return mixed
+ * @throws \Exception
*/
public function addChild(Post $item)
{
* @param Post $item The child to be removed
*
* @return boolean Success or failure
+ * @throws \Exception
*/
public function removeChild(Post $item)
{
*
* @param string $name template name
* @return bool
+ * @throws \Exception
*/
private function setTemplate($name)
{
*
* @return mixed The comment box string (empty if no comment box)
* false on failure
+ * @throws \Exception
*/
private function getCommentBox($indent)
{
}
if ($conv->isWritable() && $this->isWritable()) {
- $qc = $qcomment = null;
+ $qcomment = null;
/*
* Hmmm, code depending on the presence of a particular addon?
* Check if we are a wall to wall item and set the relevant properties
*
* @return void
+ * @throws \Exception
*/
protected function checkWallToWall()
{