2017 © Pedro Peláez
 

library thisdayin

a project which aims in presenting information about this day in [history|music|etc...] facts in an easy and structured way.

image

shemahmforash/thisdayin

a project which aims in presenting information about this day in [history|music|etc...] facts in an easy and structured way.

  • Thursday, December 26, 2013
  • by shemahmforash
  • Repository
  • 1 Watchers
  • 1 Stars
  • 11 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 2 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

ThisDayIn

ThisDayIn is a project which aims in presenting information about this day in [history|music|etc...] facts in an easy and structured way., (*1)

Installation

This project is in Composer format, so you just need to run php composer.phar install, and all dependencies will be installed:, (*2)

Example

It is very simple to use this class. You just need to include the autoload, instantiate the class and call its public method get_events., (*3)

require 'vendor/autoload.php';
$dim = new ThisDayIn\Music();
$events = $dim->getEvents();

If you instantiate the class withouth parameters, it will consider the current day, although it can also receive the day and month for which to get the events:, (*4)

require 'vendor/autoload.php';
$dim = new ThisDayIn\Music(30, "December");
$events = $dim->getEvents();

Extending

The project has an abstract class ThisDayIn as basis and the class Music which extends the abstract class. The purpose of the project to allow the inclusion of other extensions, such as 'ThisDayInHistory', etc..., (*5)

The Versions

26/12 2013

dev-master

9999999-dev

a project which aims in presenting information about this day in [history|music|etc...] facts in an easy and structured way.

  Sources   Download

BSD-3

The Requires

 

history music thisdayin