Current Path :
/
home
/
develito
/
public_html
/
components
/
com_sobipro
/
lib
/
plugins
/
Or
Select Your Path :
Upload File :
New :
File
Dir
/home/develito/public_html/components/com_sobipro/lib/plugins/plugin.php
<?php /** * @package: SobiPro Library * @author * Name: Sigrid Suski & Radek Suski, Sigsiu.NET GmbH * Email: sobi[at]sigsiu.net * Url: https://www.Sigsiu.NET * @copyright Copyright (C) 2006 - 2015 Sigsiu.NET GmbH (https://www.sigsiu.net). All rights reserved. * @license GNU/LGPL Version 3 * This program is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License version 3 * as published by the Free Software Foundation, and under the additional terms according section 7 of GPL v3. * See http://www.gnu.org/licenses/lgpl.html and https://www.sigsiu.net/licenses. * * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. */ defined( 'SOBIPRO' ) || exit( 'Restricted access' ); /** * @author Radek Suski * @version 1.0 * @updated 13-Feb-2010 14:11:22 */ abstract class SPApplication extends SPObject { /** * to check if the plugin have implementation for the called action * @param string $action * @return bool */ abstract function provide( $action ); /** * @var string */ protected $id = null; /** * @param string $id - unique id string of the plugin * @return \SPApplication */ public function __construct( $id ) { $this->id = $id; } } // well, ... hmmm - shit happens abstract class SPPlugin extends SPApplication {}