File modules/cms/generator/link/LinkFormat.class.php
Last commit: Wed Nov 18 21:01:59 2020 +0100 Jan Dankert Renaming of target classes for naming convention reasons.
1 <?php 2 3 4 namespace cms\generator\link; 5 6 7 use cms\model\BaseObject; 8 9 interface LinkFormat 10 { 11 /** 12 * Creates an absolute or relative URL to a node object. 13 * 14 * @param BaseObject $from the actual context 15 * @param BaseObject $to the target object we want to link to 16 * @return string the link to the object 17 */ 18 public function linkToObject( BaseObject $from, BaseObject $to ); 19 }
Downloadmodules/cms/generator/link/LinkFormat.class.php
History Wed, 18 Nov 2020 21:01:59 +0100 Jan Dankert Renaming of target classes for naming convention reasons. Mon, 21 Sep 2020 22:48:59 +0200 Jan Dankert Complexe refactoring: Moving all generation logic from the model (Value,Page,File) to generators classes.