Development

EclipseTemplate4Symfony (diff)

You must first sign up to be able to contribute.

Changes between Version 1 and Version 2 of EclipseTemplate4Symfony

Show
Ignore:
Author:
Sebastien.Adgnot (IP: 86.73.68.209)
Timestamp:
12/19/06 16:14:03 (11 years ago)
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • EclipseTemplate4Symfony

    v1 v2  
    1 = How to add a template  = 
     1= How To Insert Easily The Debug Info, Error or Anything Else  = 
     2 
     3* create a file with this code, templates.xml 
     4{{{ 
     5<?xml version="1.0" encoding="UTF-8"?> 
     6<templates> 
     7  <template autoinsert="true" context="php" deleted="false" description="insert the symfony log error" enabled="true" name="sfLogError">sfContext::getInstance()-&gt;getLogger()-&gt;err('');</template> 
     8  <template autoinsert="true" context="php" deleted="false" description="insert the symfony log info" enabled="true" name="sfLogInfo">sfContext::getInstance()-&gt;getLogger()-&gt;info('');</template> 
     9</templates> 
     10}}} 
     11 
     12* In Eclipse, go to Window > Preferences... > PHPEclipse > PHP > Templates > Import... 
     13 
     14* You can add anything else if you click New...