2017 © Pedro Peláez
 

library nette-bootstrap-alert-control

Nette komponenta pro výpis Twitter Bootstrap alertů

image

illagrenan/nette-bootstrap-alert-control

Nette komponenta pro výpis Twitter Bootstrap alertů

  • Monday, March 25, 2013
  • by illagrenan
  • Repository
  • 1 Watchers
  • 0 Stars
  • 10 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 1 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

Nette komponenta pro výpis upozornění ve stylu Twitter Bootstrap

Licence: MIT, (*1)

{
    "require": {
        "illagrenan/nette-bootstrap-alert-control": "dev-master"
    }
}

Závislosti: * illagrenan/nette-base-control, (*2)

Použití

Vytvoření komponenty v presenteru, (*3)

<?php
protected function createComponentTWAlerts($name)
{

        $twAlerts = new \Illagrenan\BootstrapAlert\BootstrapAlert($this, $name);
        return $twAlerts;
}
?>

Použití v šabloně, (*4)

{* Bude vykresleno jako blok *}
{widget tWAlerts "Na druhou kolej přijel osobní vlak z Pardubic", "Upozornění pro cestující", \Illagrenan\BootstrapAlert\AlertType::INFO()}

{* Vykreslíme inline s defaultním stylem "Warning" *}
{widget tWAlerts "Natala neznámá chyba"}

The Versions

25/03 2013

dev-master

9999999-dev https://github.com/illagrenan/nette-bootstrap-alert-control

Nette komponenta pro výpis Twitter Bootstrap alertů

  Sources   Download

MIT

The Requires

 

twitter bootstrap control nette

25/03 2013

v0.0.1

0.0.1.0 https://github.com/illagrenan/nette-bootstrap-alert-control

Nette komponenta pro výpis Twitter Bootstrap alertů

  Sources   Download

MIT

The Requires

 

twitter bootstrap control nette