Skip to main content
/
foograde
/
Group items tagged view
Group items tagged
Filter:
All
|
Bookmarks
|
Topics
Simple
Middle
Alternativo layout por accion
- 0 views
forum.symfony-project.org/...45136
symfony
view
layout
shared by
Fernando Vega
on 06 May 10
-
Cached
Just use $this->setLayout('popup') in your action or use in the view.yml of your module: actionSuccess: layout: popup
...
Cancel
Fernando Vega
on 06 May 10
layout diferentes por accion, util para peticiones de ajax por iframes
layout diferentes por accion, util para peticiones de ajax por iframes
...
Cancel
...
Cancel
The Definitive Guide to symfony | Chapter 7 - Inside The View Layer | symfony | Web PHP...
- 0 views
www.symfony-project.org/...07-Inside-the-View-Layer
symfony
componentes
shared by
Adán Muguiro
on 24 May 10
-
Cached
<?php class newsComponents extends sfComponents { public function executeHeadlines() { $c = new Criteria(); $c->addDescendingOrderByColumn(NewsPeer::PUBLISHED_AT); $c->setLimit(5); $this->news = NewsPeer::doSelect($c); } }
...
Cancel
<div> <h1>Latest news</h1> <ul> <?php foreach($news as $headline): ?> <li> <?php echo $headline->getPublishedAt() ?> <?php echo link_to($headline->getTitle(),'news/show?id='.$headline->getId()) ?> </li> <?php endforeach ?> </ul> </div>
...
Cancel
// Call to the component <?php include_component('news', 'headlines', array('foo' => 'bar')) ?> // In the component itself echo $this->foo; => 'bar' // In the _headlines.php partial echo $foo; => 'bar'
...
Cancel
Adán Muguiro
on 24 May 10
Componentes en Symfony
Componentes en Symfony
...
Cancel
...
Cancel
1
-
2
of
2
Showing
20
▼
items per page
20
50
100
Related searches
Search
view
matching in title, tags, annotations and url of group items »
Search in Google »