This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| /** | |
| * | |
| * @package Language File Conflict Detector | |
| * @version $Id$ | |
| * @copyright (c) 2012 nickvergessen nickvergessen@gmx.de http://www.flying-bits.org | |
| * @license http://opensource.org/licenses/gpl-license.php GNU Public License | |
| * | |
| */ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /** | |
| * Initialize the Search | |
| */ | |
| public static function initialize() | |
| { | |
| if (self::$index === false) | |
| { | |
| // Initialize the ezc/Zend Search class | |
| if (titania::$config->search_backend == 'zend') | |
| { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [21:13:17] <nickvergessen> i see hundreds of patches having merge conflicts :D | |
| [21:14:17] <bantu> me too | |
| [21:18:58] <unknownbliss> hm? | |
| [21:27:43] <nickvergessen> it means we dont think its a good idea | |
| [21:27:45] <nickvergessen> :P | |
| [21:28:18] <unknownbliss> ah | |
| [21:28:25] <unknownbliss> callum's patch? | |
| [21:28:36] <unknownbliss> maybe leave it until 3.1 alpha is released then merge it? | |
| [21:30:29] <unknownbliss> as then all of the prs that will end up going into develop-ascreaus will have been merged | |
| [21:30:50] <nickvergessen> or merge it never |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [21:21:09] <Dhruv> igorw: i was researching the search backend refactoring project. Could you tell me more about it? | |
| [21:21:16] <unknownbliss> soft delete? | |
| [21:21:53] <igorw> unknownbliss: sure, that would be quite amazing. I believe somebody already did some work on it some time ago? | |
| [21:22:03] <imkingdavid> igorw: alright, how about now? | |
| [21:22:03] <unknownbliss> Dhruv: I believe the idea is to add a search backend like solr or lucene or sphinx | |
| [21:22:12] --> shibulijack (7085c403@gateway/web/freenode/ip.112.133.196.3) has joined #phpBB-dev | |
| [21:22:15] <unknownbliss> See a sphinx plugin by naderman here: http://www.phpbb.com/community/viewtopic.php?f=70&t=796875 | |
| [21:22:28] <unknownbliss> igorw: yup josh did | |
| [21:22:39] <unknownbliss> but it has a lot of conflicts | |
| [21:22:50] <unknownbliss> but when he made it it was finished, just needed testing |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [10:52:58] <erik|iOS> Will the extension system get hooks to overrule page_header/page_footer? So basically replace them with your own | |
| [10:53:18] <brunoais> I don't think so | |
| [10:53:25] <brunoais> I think there will be a different thing | |
| [10:53:30] <nickvergessen> erik|iOS: it doesnt have such a feature yet iirc | |
| [10:53:57] <brunoais> it will be a template crawling for extensions (I don't know exaclty how to call it) | |
| [10:54:23] <erik|iOS> nickvergessen: Okay. I'll post a request for it than | |
| [10:54:38] <brunoais> you can register directly into the templating system your own version of the template that resides in your extension | |
| [10:55:00] <brunoais> erik|iOS: did you read what I wrote? | |
| [10:55:07] <brunoais> talk to arty | |
| [10:55:11] <brunoais> he's doing that thing |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| use Symfony\Component\EventDispatcher\EventSubscriberInterface; | |
| class phpbb_ext_indexpagetitle_event_index_page_title_subscriber implements EventSubscriberInterface | |
| { | |
| static public function getSubscribedEvents() | |
| { | |
| return array( | |
| 'core.page_header' => 'page_title', |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| switch ($matches[1]) | |
| { | |
| case 'BEGIN': | |
| $this->block_else_level[] = false; | |
| return '<?php ' . $this->compile_tag_block($matches[2]) . ' ?>'; | |
| break; | |
| case 'BEGINELSE': | |
| $this->block_else_level[sizeof($this->block_else_level) - 1] = true; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| trait ukb | |
| { | |
| public function ukb() | |
| { | |
| return 'UKB'; | |
| } | |
| } | |
| trait ikd |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| // Code line | |
| $var = 'foo'; | |
| print ($var); | |
| // MOD 1 changes foo to foobar and prints in upper case | |
| $var = 'foobar'; | |
| print (strtoupper($var)); |