امتیازها
113
راهحلها
27
- محل سکونت
- England
- نوشتهها
- 26,276
- تاریخ ثبتنام
- ۱۳۹۹٫۰۴٫۰۶
- پسندها
- 3,286
- سن
- 29
- وب سایت
- xenforo.xyz
- نسخه PHP
- 7.3
- نسخه زنفورو
- xenforo 2.2
So I built an add-on (slightly modified Notes add-on from Building with XF 2 videos).
Spoiler: Entity
PHP:
Read more
Spoiler: Entity
PHP:
کد:
<?php
namespace AV\Notes\Entity;
use XF\Mvc\Entity\Entity;
use XF\MVC\Entity\Structure;
class Note extends Entity
{
public static function getStructure(Structure $structure): Structure
{
$structure->table = 'av_notes_note';
$structure->shortName = 'AV\Notes:Note';
$structure->contentType = 'av_notes_note';
$structure->primaryKey = 'note_id'...
Read more
