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 | |
| #strings bereinigen | |
| $metadescription = strip_tags($desc); | |
| $title = strip_tags($title); | |
| $GLOBALS['objPage']->description = $metadescription; | |
| $GLOBALS['objPage']->pageTitle.= ' ' . $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 | |
| #Vorbereiten | |
| $longtext = MetaModelFactory::byTableName('mm_projects')->findById($arrItem['raw']['project']['id'])->get('introduction'); | |
| # Longtext an string übergeben | |
| $string = $longtext['value']; | |
| $string = (strlen($string) > 123) ? substr($string,0,120).'...' : $string; | |
| echo $string; | |
| ?> |
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 | |
| #Vorbereiten | |
| $producer = MetaModelFactory::byTableName('mm_producer')->findById($arrItem['raw']['producer']); | |
| # Die spalte 'name' aus dem array $producer ausgeben | |
| echo $producer->get('name'); |
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
| Regex Pattern: | |
| (\#)+((?:[0-9]*)?) | |
| Replace With: | |
| <a href="https://redmine.company.com/issues/$2">$1$2</a> |
NewerOlder