XoopsModules25x /
mylinks
These results are based on our legacy PHP analysis, consider migrating to our new PHP analysis engine instead. Learn more
| 1 | <?php |
||
| 2 | /** |
||
| 3 | * mylinks Thumb Provider Plugin Interface Class Elements |
||
| 4 | * |
||
| 5 | * @copyright :: {@link http://xoops.org/ XOOPS Project} |
||
| 6 | * @copyright :: ZySpec Incorporated |
||
| 7 | * @license :: {@link http://www.gnu.org/licenses/gpl-2.0.html GNU Public License} |
||
| 8 | * @package :: mylinks |
||
| 9 | * @subpackage:: class |
||
| 10 | * @author :: zyspec ([email protected]) |
||
| 11 | */ |
||
| 12 | |||
| 13 | defined('XOOPS_ROOT_PATH') or die('Restricted access'); |
||
| 14 | |||
| 15 | /** |
||
| 16 | * MylinksThumbPluginInterface |
||
| 17 | * |
||
| 18 | * @package :: mylinks |
||
| 19 | * @author :: zyspec ([email protected]), Herve Thouzard |
||
| 20 | * @copyright :: {@link http://xoops.org/ XOOPS Project} |
||
| 21 | * @copyright :: Copyright (c) 2012 ZySpec Incorporated, Herve Thouzard |
||
| 22 | * @access:: public |
||
| 23 | */ |
||
| 24 | interface MylinksThumbPlugin |
||
| 25 | { |
||
| 26 | public function getProviderUrl(); |
||
| 27 | |||
| 28 | public function getProviderName(); |
||
| 29 | |||
| 30 | /** |
||
| 31 | * @param $szarray |
||
| 32 | * @return mixed |
||
| 33 | */ |
||
| 34 | public function setShotSize($szarray); |
||
| 35 | |||
| 36 | public function getShotSize(); |
||
|
0 ignored issues
–
show
|
|||
| 37 | |||
| 38 | /** |
||
| 39 | * @param $url |
||
| 40 | * @return mixed |
||
| 41 | */ |
||
| 42 | public function setSiteUrl($url); |
||
| 43 | |||
| 44 | public function getSiteUrl(); |
||
| 45 | |||
| 46 | public function setAttribution(); |
||
| 47 | |||
| 48 | public function getAttribution(); |
||
| 49 | |||
| 50 | /** |
||
| 51 | * @param $key |
||
| 52 | * @return mixed |
||
| 53 | */ |
||
| 54 | public function setProviderPublicKey($key); |
||
| 55 | |||
| 56 | public function getProviderPublicKey(); |
||
| 57 | |||
| 58 | /** |
||
| 59 | * @param $key |
||
| 60 | * @return mixed |
||
| 61 | */ |
||
| 62 | public function setProviderPrivateKey($key); |
||
| 63 | |||
| 64 | public function getProviderPrivateKey(); |
||
| 65 | } |
||
| 66 |
For interface and abstract methods, it is impossible to infer the return type from the immediate code. In these cases, it is generally advisible to explicitly annotate these methods with a
@returndoc comment to communicate to implementors of these methods what they are expected to return.