XenForo
Administrative
- Thread starter
- Admin
- #1
Use case scenario:
I'm building an addon which will allow certain limited users to create a new record of a custom entity (let's call this entity Foo). The create form has a date time field where the user will select a value (always a date in future) and will be in
PHP:
Read more
ادامه مطلب...
I'm building an addon which will allow certain limited users to create a new record of a custom entity (let's call this entity Foo). The create form has a date time field where the user will select a value (always a date in future) and will be in
Y-m-d hh:mm
format which then gets stored as unix timestamp in the database.PHP:
Code:
public static function getStructure(Structure $structure)
{
$structure->table = 'xf_asp_fb_foo'...
Read more
ادامه مطلب...