PHP Manual
PEAR Manual
Smarty Manual
PostgreSQL
MySQL Manual
Perl Manual
Ciekawe adresy
- Polary
- Hotele Opole
- Słownik
- Cyganie
- Fotografia Ślubna
- Biuro Rachunkowe Poznań
- Nawigacja
- Mieszkanie Sprzedaż Warszawa
Czytnik RSS
» Sygnity: kontrakt na utrzymanie Pomostu za 14 mln złMinisterstwo Pracy i Polityki Społecznej zawarło z Sygnity umowę na utrzymanie oprogramowania użytkowego Pomost. Przez okres dwóch lat spółka zapewni rozwój i serwis oprogramowania wraz z usługami wsparcia dla użytkowników końcowych. Wartość umowy wynosi ponad 14 mln zł brutto.
» Nanomedycyna: potrafimy zabijać rakowe komórki mózgu
Naukowcy z Uniwersytetu Chicago i amerykańskiego Departamentu Energetyki opracowali pierwsze nanocząstki, które wyszukują i niszczą komórki GMB raka mózgu. Nanocząstki zabiły 80% nowotworowych komórek w mózgu po zaledwie pięciu minutach ekspozycji na białe światło. Wysokospecjalizowaną interwencję w skali molekularnej można zatem nazwać nadzieją nanomedycyny.
» UKE przedstawił informacje na temat WiMAX2
W wielu krajach Europy technologia WiMAX jest wycofywana z powodu postrzegania jej jako schyłkowej. W Polsce jednak, pomimo również niezbyt dużej popularności, technologia ta spełnia bardzo ważne zadanie w likwidacji biały plam ze względu na swój zasięg oraz oferowaną przepustowość. Dlatego Urząd Komunikacji Elektronicznej opublikował założenia standardu WiMAX2.
» Nvidia wychwala Fermi na konferencji GTC
Kiedy AMD dostarcza produkty wykonane w procesie 40nm i w pełni zgodne z DirectX 11, Nvidia wydaje się być raczej spokojna. Firma twierdzi, że DirectX 11 nie jest aż tak ważny.
{include_php}
technical note: {include_php} is pretty much deprecated from smarty, you can accomplish the same functionality via a custom template function. the only reason to use {include_php} is if you really have a need to quarantine the php function away from the plugins directory or your application code. see the componentized template example for details.
| attribute name | type | required | default | description |
|---|---|---|---|---|
| file | string | yes | n/a | the name of the php file to include |
| once | boolean | no | true | whether or not to include the php file more than once if included multiple times |
| assign | string | no | n/a | the name of the variable that the output of include_php will be assigned to |
{include_php} tags are used to include a php script in your template. if security is enabled, then the php script must be located in the $trusted_dir path. the {include_php} tag must have the attribute "file", which contains the path to the included php file, either relative to $trusted_dir, or an absolute path.
by default, php files are only included once even if called multiple times in the template. you can specify that it should be included every time with the once attribute. setting once to false will include the php script each time it is included in the template.
you can optionally pass the assign attribute, which will specify a template variable name that the output of {include_php} will be assigned to instead of displayed.
the smarty object is available as $this within the php script that you include.
see also {include}, {php}, {capture}, template resources and componentized templates
Najskuteczniejsza reklama to pozycjonowanie - Pozycjonowanie stron <= zajrzyj tu i dowiedz się więcej o pozycjonowanie stron