2017 © Pedro Peláez
 

library application

Basic methods for the presenter and components.

image

drago-ex/application

Basic methods for the presenter and components.

  • Thursday, July 19, 2018
  • by accgit
  • Repository
  • 1 Watchers
  • 0 Stars
  • 187 Installations
  • PHP
  • 2 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 10 Versions
  • 32 % Grown

The README.md

Drago Application

The Drago Extension is a package built on top of the Nette Framework, designed to provide several useful components for your web applications. Below are the classes in the extension and how you can use them., (*1)

License: MIT PHP version Coding Style CodeFactor, (*2)

Technology

  • PHP 8.3 or higher
  • composer

Installation

composer require drago-ex/application

Check if there is a pair signal receiver and name (default is edit).

$this->getSignal();

Is AJAX request?

Shorter method in control., (*3)

$this->isAjax();

Retrieves a form component by its name.

$form = $this['factory'];
$submitButton = $this->getFormComponent($form, 'submit');
$submitButton->setCaption('Edit');

Base template class extending Nette Template.

It is used in the bow of presenters or control, (*4)

/**
 * @property-read Drago\Application\UI\ExtraTemplate $template
 */
class Presenter {}

In Latte, we will use these macros to insert into the template, which will tell us the variables and types that can be used by default in the template., (*5)

{templateType Drago\Application\UI\ExtraTemplate}
{varType Drago\Application\UI\Flashes[] $flashes}



{$flash->message}

Flash message alert type

The Versions

19/07 2018

dev-master

9999999-dev

Basic methods for the presenter and components.

  Sources   Download

MIT

The Requires

 

19/07 2018

v1.0.6

1.0.6.0

Basic methods for the presenter and components.

  Sources   Download

MIT

The Requires

 

18/07 2018

v1.0.5

1.0.5.0

Basic methods for the presenter and components.

  Sources   Download

MIT

The Requires

 

04/06 2018

v1.0.4

1.0.4.0

Basic methods for the presenter and components.

  Sources   Download

MIT

The Requires

 

30/05 2018

v1.0.3

1.0.3.0

Basic methods for the presenter and components.

  Sources   Download

MIT

The Requires

 

30/05 2018

v1.0.2

1.0.2.0

Basic methods for the presenter and components.

  Sources   Download

MIT

The Requires

 

30/05 2018

v1.0.1

1.0.1.0

Basic methods for the presenter and components.

  Sources   Download

MIT

The Requires

 

30/05 2018

v1.0.x-dev

1.0.9999999.9999999-dev

Basic methods for the presenter and components.

  Sources   Download

MIT

The Requires

 

29/05 2018

v2.0.x-dev

2.0.9999999.9999999-dev

Basic methods for the presenter and components.

  Sources   Download

MIT

The Requires

 

18/10 2017

v1.0.0

1.0.0.0

Basic methods for the presenter and components.

  Sources   Download

MIT

The Requires