Initial import of animal_management module

This commit is contained in:
Kelin Rescue Hub
2026-04-04 13:13:00 -04:00
commit 20adb1bd1e
65 changed files with 14004 additions and 0 deletions

View File

@@ -0,0 +1,26 @@
<?php
namespace humhub\modules\animal_management\widgets\stream;
use humhub\modules\animal_management\models\AnimalStreamEntry;
use humhub\modules\content\widgets\stream\WallStreamModuleEntryWidget;
class AnimalStreamEntryWallEntry extends WallStreamModuleEntryWidget
{
/**
* @var AnimalStreamEntry
*/
public $model;
public function renderContent()
{
return $this->render('wall-entry', [
'entry' => $this->model,
]);
}
protected function getTitle()
{
return $this->model->getContentDescription();
}
}