public static function getInstance() { if (!self::$instance) { self::$instance = new NoNumberLicenses(); } return self::$instance; }
protected function getInput() { $this->params = $this->element->attributes(); $extension = $this->get('extension'); if (!strlen($extension)) { return ''; } require_once JPATH_PLUGINS . '/system/nnframework/helpers/licenses.php'; return '</div><div class="hide">' . nnLicenses::getInstance()->getMessage($extension); }
protected function getInput() { $this->params = $this->element->attributes(); $extension = $this->get('extension'); if (!strlen($extension)) { return ''; } // Import library dependencies require_once JPATH_PLUGINS . '/system/nnframework/helpers/licenses.php'; $licenses = nnLicenses::getInstance(); return $licenses->getMessage($extension); }
<?php echo (int) $item->id; ?> </td> </tr> <?php } ?> <?php } ?> </tbody> </table> <input type="hidden" name="task" value="" /> <input type="hidden" name="boxchecked" value="0" /> <?php echo JHtml::_('form.token'); ?> </form> <?php // PRO Check require_once JPATH_PLUGINS . '/system/nnframework/helpers/licenses.php'; echo nnLicenses::getInstance()->getMessage('SNIPPETS', 0); // Copyright echo nnVersions::getInstance()->getCopyright('SNIPPETS', '', 0, 'snippets', 'component'); function makeTooltipSafe($str) { return str_replace(array('"', '::', "<", "\n"), array('"', '::', "&lt;", '<br />'), htmlentities(trim($str), ENT_QUOTES, 'UTF-8')); }