|
Revision 2, 0.5 kB
(checked in by fabien, 4 years ago)
|
initial import
|
- Property svn:mime-type set to
text/x-php
- Property svn:eol-style set to
native
- Property svn:keywords set to
Id
|
| Line | |
|---|
| 1 |
<?php |
|---|
| 2 |
|
|---|
| 3 |
|
|---|
| 4 |
|
|---|
| 5 |
|
|---|
| 6 |
|
|---|
| 7 |
|
|---|
| 8 |
|
|---|
| 9 |
|
|---|
| 10 |
|
|---|
| 11 |
class tagComponents extends sfComponents |
|---|
| 12 |
{ |
|---|
| 13 |
|
|---|
| 14 |
* Executes index action |
|---|
| 15 |
* |
|---|
| 16 |
*/ |
|---|
| 17 |
public function executeListAll() |
|---|
| 18 |
{ |
|---|
| 19 |
$this->tags = SnippetTagPeer::getAllWithCount(); |
|---|
| 20 |
} |
|---|
| 21 |
|
|---|
| 22 |
public function executeListRelated() |
|---|
| 23 |
{ |
|---|
| 24 |
$this->associated_tags = $this->getRequest()->getAttribute('associated_tags'); |
|---|
| 25 |
$this->tags = $this->getRequest()->getAttribute('tags'); |
|---|
| 26 |
} |
|---|
| 27 |
} |
|---|
| 28 |
|
|---|
| 29 |
?> |
|---|