-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
------------------- * MVC: Layout postprocessor subsystem added * Translator::getKnownLocales() : array added * Translator::getKnownDictionaries( Locale $locale ) : array added * Translator_Dictionary::removePhrase added * Translator::saveDictionary( Translator_Dictionary $dictionary ): void added
- Loading branch information
1 parent
fca1233
commit 17fbb72
Showing
8 changed files
with
161 additions
and
12 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
<?php | ||
/** | ||
* | ||
* @copyright Copyright (c) Miroslav Marek <[email protected]> | ||
* @license http://www.php-jet.net/license/license.txt | ||
* @author Miroslav Marek <[email protected]> | ||
*/ | ||
namespace Jet; | ||
|
||
abstract class MVC_Layout_OutputPostprocessor { | ||
|
||
protected MVC_Layout $layout; | ||
protected string $output; | ||
|
||
/** | ||
* @param MVC_Layout $layout | ||
*/ | ||
public function __construct( MVC_Layout $layout ) | ||
{ | ||
$this->layout = $layout; | ||
} | ||
|
||
abstract public function getId() : string; | ||
|
||
/** | ||
* @param string $output | ||
* @return string | ||
*/ | ||
abstract public function process( string $output ) : string; | ||
} |
This file contains 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
This file contains 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
This file contains 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
This file contains 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