EMBED YOUR TERMINAL RECORDINGS ONLINE

Write a php lib in sutra

DATE: 2011-05-09
AUTHOR: Coder of Salvation
AUTHOR WWW: http://www.sutraphp.com
RELATED ARTICLE: http://www.sutraphp.com/write-a-lib

Related recordings:

CAT COMMAND IN LINUX
tags: cat unix gnu linux view file textfile editing
LIST DIRECTORIES IN LINUX WITH LS
tags: ls directory show content linux disk beginner
SUTRAPHP-INTRODUCTION
tags: sutraphp sutra php console cli eventbased
MORE OVERVIEW IN MYSQL WITH SELECTS
tags: mysql, select, more overview, console
M4, THE HIDDEN GNU TREASURE
tags: m4, gnu, macroprocessor, template, search, replace, sed
THE UNIX TREE COMMAND
tags: unix console tree bash directory listing
DEVTODO: COMMANDLINE TODO MANAGEMEN
tags: todo xml tasks productivity management
VIM ALIGN
tags: vim align aligning text text editing text trick
VISUAL SELECTS IN VIM
tags: vim visual selects regex text editing fast
GENERATING PHP & SQL (MAPPING) CODE
tags: sutra generate sql generate database php cms mysql

EMBED THIS RECORDING:
<div><script id="playterm-MjAxMS0wNS93cml0ZS1hLXBocC1saWJ0dHktMTMwNDk1NDc3NHw=" type="text/javascript" src="http://playterm.org/js/?hash=MjAxMS0wNS93cml0ZS1hLXBocC1saWJ0dHktMTMwNDk1NDc3NHw=" class="size:"></script></div>

Mike said

Hmm this looks interesting

samcli said

what if the constructor needs arguments?

coder of salvation said

you can place an automap.php file in the same dir, the automapping mechanism will include
automap.php (if exist) or will try to create the class himself. So in automap.php you can initialize
the class like you want. (see core libs)

 

Name   
Email (never shown)  
Comment