Development

HowToHandleSameCodeInAComponentAndAnAction (diff)

You must first sign up to be able to contribute.

Changes between Version 1 and Version 2 of HowToHandleSameCodeInAComponentAndAnAction

Show
Ignore:
Author:
trivoallan (IP: 195.115.26.20)
Timestamp:
04/19/07 18:22:11 (11 years ago)
Comment:

syntax coloration

Legend:

Unmodified
Added
Removed
Modified
  • HowToHandleSameCodeInAComponentAndAnAction

    v1 v2  
    77 
    88{{{ 
     9#!php 
    910<?php  
    1011 
    2021The according template _list.php of this component action looks like this: 
    2122{{{ 
     23#!php 
    2224<?php 
    2325echo "Here is a news list....."; 
    3032 
    3133{{{ 
     34#!php 
    3235<?php 
    3336class newsActions extends sfActions 
    4447 
    4548{{{ 
     49#!php 
    4650<?php 
    4751include_component('news','list');