[ Index ] |
PHP Cross Reference of Joomla 4.2.2 documentation |
[Summary view] [Print] [Text view]
1 <?php 2 3 /** 4 * Joomla! Content Management System 5 * 6 * @copyright (C) 2017 Open Source Matters, Inc. <https://www.joomla.org> 7 * @license GNU General Public License version 2 or later; see LICENSE.txt 8 */ 9 10 namespace Joomla\CMS\Association; 11 12 // phpcs:disable PSR1.Files.SideEffects 13 \defined('JPATH_PLATFORM') or die; 14 // phpcs:enable PSR1.Files.SideEffects 15 16 /** 17 * Association Extension Interface for the helper classes 18 * 19 * @since 3.7.0 20 */ 21 interface AssociationExtensionInterface 22 { 23 /** 24 * Checks if the extension supports associations 25 * 26 * @return boolean Supports the extension associations 27 * 28 * @since 3.7.0 29 */ 30 public function hasAssociationsSupport(); 31 32 /** 33 * Method to get the associations for a given item. 34 * 35 * @param integer $id Id of the item 36 * @param string $view Name of the view 37 * 38 * @return array Array of associations for the item 39 * 40 * @since 4.0.0 41 */ 42 public function getAssociationsForItem($id = 0, $view = null); 43 }
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
Generated: Wed Sep 7 05:41:13 2022 | Chilli.vc Blog - For Webmaster,Blog-Writer,System Admin and Domainer |