| 1 | <?php  | 
            ||
| 17 | trait Template  | 
            ||
| 18 | { | 
            ||
| 19 | /**  | 
            ||
| 20 | * Add a namespace to the template system  | 
            ||
| 21 | *  | 
            ||
| 22 | * @param string $sNamespace The namespace name  | 
            ||
| 23 | * @param string $sDirectory The namespace directory  | 
            ||
| 24 | * @param string $sExtension The extension to append to template names  | 
            ||
| 25 | *  | 
            ||
| 26 | * @return void  | 
            ||
| 27 | */  | 
            ||
| 28 | public function addViewNamespace($sNamespace, $sDirectory, $sExtension = '')  | 
            ||
| 32 | |||
| 33 | /**  | 
            ||
| 34 | * Set a new directory for pagination templates  | 
            ||
| 35 | *  | 
            ||
| 36 | * @param string $sDirectory The directory path  | 
            ||
| 37 | *  | 
            ||
| 38 | * @return void  | 
            ||
| 39 | */  | 
            ||
| 40 | public function setPaginationDir($sDirectory)  | 
            ||
| 44 | }  | 
            ||
| 45 |