c9fe15c90c
Universal: Cascade Main → Dev / Cascade main → branches (push) Successful in 2s
Joomla package (pkg_mokoog) with three sub-extensions: - com_mokoog: Admin component with tag manager, MVC, database schema - plg_system_mokoog: OG + Twitter Card meta tag injection via onBeforeCompileHead - plg_content_mokoog: Per-article and per-menu-item OG fields in editor Includes CI/CD workflows, issue templates, 12 feature issues, and full Joomla 4/5 DI container architecture. Authored-by: Moko Consulting Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
41 lines
953 B
PHP
41 lines
953 B
PHP
<?php
|
|
|
|
/**
|
|
* @package MokoOpenGraph
|
|
* @subpackage com_mokoog
|
|
* @author Moko Consulting <hello@mokoconsulting.tech>
|
|
* @copyright Copyright (C) 2026 Moko Consulting. All rights reserved.
|
|
* @license GNU General Public License version 3 or later; see LICENSE
|
|
*/
|
|
|
|
defined('_JEXEC') or die;
|
|
|
|
use Joomla\CMS\Installer\InstallerAdapter;
|
|
|
|
class Com_MokoOGInstallerScript
|
|
{
|
|
/**
|
|
* Called after install.
|
|
*
|
|
* @param InstallerAdapter $parent Installer adapter
|
|
*
|
|
* @return void
|
|
*/
|
|
public function install(InstallerAdapter $parent): void
|
|
{
|
|
echo '<p>MokoOpenGraph component installed successfully.</p>';
|
|
}
|
|
|
|
/**
|
|
* Called after update.
|
|
*
|
|
* @param InstallerAdapter $parent Installer adapter
|
|
*
|
|
* @return void
|
|
*/
|
|
public function update(InstallerAdapter $parent): void
|
|
{
|
|
echo '<p>MokoOpenGraph component updated successfully.</p>';
|
|
}
|
|
}
|