PHP 8.1.33
Preview: AssociationExtensionInterface.php Size: 901 B
/home/jambtst2015/9jahookups.com/libraries/src/Association/AssociationExtensionInterface.php

<?php
/**
 * Joomla! Content Management System
 *
 * @copyright  (C) 2017 Open Source Matters, Inc. <https://www.joomla.org>
 * @license    GNU General Public License version 2 or later; see LICENSE.txt
 */

namespace Joomla\CMS\Association;

\defined('JPATH_PLATFORM') or die;

/**
 * Association Extension Interface for the helper classes
 *
 * @since  3.7.0
 */
interface AssociationExtensionInterface
{
	/**
	 * Checks if the extension supports associations
	 *
	 * @return  boolean  Supports the extension associations
	 *
	 * @since   3.7.0
	 */
	public function hasAssociationsSupport();

	/**
	 * Method to get the associations for a given item.
	 *
	 * @param   integer  $id    Id of the item
	 * @param   string   $view  Name of the view
	 *
	 * @return  array   Array of associations for the item
	 *
	 * @since  4.0.0
	 */
	public function getAssociationsForItem($id = 0, $view = null);
}

Directory Contents

Dirs: 0 × Files: 4

Name Size Perms Modified Actions
5.58 KB lrw-r--r-- 2021-08-23 19:07:08
Edit Download
901 B lrw-r--r-- 2021-08-23 19:07:08
Edit Download
585 B lrw-r--r-- 2021-08-23 19:07:08
Edit Download
1.08 KB lrw-r--r-- 2021-08-23 19:07:08
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).