Hammer Framework
En - Fr - De - Es - /Ad

Nails Creation

Nails are what modules are called in Hammer, this is just to keep in line with the naming methods
A nail is simple to create it only takes a few lines of code and 1 folder and 1 file
Site-mode nails also replace Hammered-in-Nails

Site-Mode Nail

Folder Structure
 /libs/<nail>/<nail>.inc.php
File Creation
<php
class <Nail> extends Nails {
 
 function __construct() {
  parent::__construct();
 }


 function doSomething() {
  $this->oDB->write("sql");
 }
}
To Use Nail
<php
$oNail = $oHammer->getNail("<Nail>");
Or
$oNail = $oHammer->getNail("<Nail>", "<params>");

Need Help!

» Support Form

Raise Bug

» Ticket

Social Media

Visit us on:
  • Facebook
  • Twitter