2017 © Pedro Peláez
 

library mtoolkit-core

The core module of MToolkit framework

image

mtoolkit/mtoolkit-core

The core module of MToolkit framework

  • Monday, November 6, 2017
  • by mtoolkit
  • Repository
  • 1 Watchers
  • 0 Stars
  • 69 Installations
  • PHP
  • 8 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 4 Versions
  • 0 % Grown

The README.md

MToolkit - Core

The core module of MToolkit framework., (*1)

Build Status, (*2)

Summary

Install

{
    "require": {
        "mtoolkit/mtoolkit-core": "..."
    }
}

Or run the console command:, (*3)

composer require mpstyle/mtoolkit-core

Into

The core module contains some utility classes like: MList, MGet, MPost., (*4)

Theese wrap the core functionalities of PHP in a class. Let me explain., (*5)

MList

It implements a list of object (custom or primitive) and provides the methods to work with them: - append: adds a new item at the end of the list - appendArray: adds all the item in the array argument at the end of the list - clear: empty the list - count: returns the number of the item - isEmpty: removes all items from list They are only some of the methods to work with a list of objects., (*6)

MGet and MPost

As the names suggest, you can use theese classes to access to the globals $_GET and $_POST. They are "read only" MMap, so it is impossible to call methods as: clear, erase and others. To retrieve the value in the global $_GET write:, (*7)

$get=new MGet();
$id=$get->getValue('id');

In a similar way for $_POST:, (*8)

$post=new MPost();
$id=$post->getValue('id');

If 'id' is not set, it returns null., (*9)

The Versions

06/11 2017

dev-master

9999999-dev http://mtoolkit.github.io/mtoolkit/

The core module of MToolkit framework

  Sources   Download

LGPL-3.0+

The Requires

 

The Development Requires

framework php library cookie simple cookies free fast toolkit .net querystring qt web framework

06/11 2017

0.0.3

0.0.3.0 http://mtoolkit.github.io/mtoolkit/

The core module of MToolkit framework

  Sources   Download

LGPL-3.0+

The Requires

 

The Development Requires

framework php library cookie simple cookies free fast toolkit .net querystring qt web framework

02/06 2016

0.0.2.x-dev

0.0.2.9999999-dev http://mtoolkit.github.io/mtoolkit/

The core module of MToolkit framework

  Sources   Download

LGPL-3.0+

The Requires

  • php >=5.3.0

 

The Development Requires

framework php library cookie simple cookies free fast toolkit .net querystring qt web framework

02/06 2016

0.0.2

0.0.2.0 http://mtoolkit.github.io/mtoolkit/

The core module of MToolkit framework

  Sources   Download

LGPL-3.0+

The Requires

  • php >=5.3.0

 

The Development Requires

framework php library cookie simple cookies free fast toolkit .net querystring qt web framework