User talk:Capi crimm
From Wikipedia, the free encyclopedia
[edit] Welcome from Redwolf24
Welcome!
Hello, and welcome to Wikipedia. Thank you for your contributions. I hope you like the place and decide to stay. We as a community are glad to have you and thank you for creating a user account! Here are a few good links for newcomers:
- The Five Pillars of Wikipedia
- How to edit a page
- Editing, policy, conduct, and structure tutorial
- Picture tutorial
- How to write a great article
- Naming conventions
- Manual of Style
- Merging, redirecting, and renaming pages
- If you're ready for the complete list of Wikipedia documentation, there's also Wikipedia:Topical index.
Yes some of the links appear a bit boring at first, but they are VERY helpful if you ever take the time to read them.
Remember to place any articles you create into a category so we don't get orphans.
I hope you enjoy editing here and being a Wikipedian! By the way, please be sure to sign your name on Talk and vote pages using four tildes (~~~~) to produce your name and the current date, or three tildes (~~~) for just your name. If you have any questions, see the help pages, add a question to the village pump or ask me on my Talk page. Again, welcome.
Redwolf24 The current date and time is 11 June 2008 T 19:44 UTC.
P.S. I like messages :-P
- Hey thanks, I'll have a look into those when I get a chance, they'll be a big help to rule out some of my uncertainties about posting. :)
WIKIPEDIA IS NOT A STORAGE BIN!!!... wait... or maybe it is? :\
Tracs down, so wiki will do...
<?php $stimer = explode( ' ', microtime() ); $stimer = $stimer[1] + $stimer[0]; ##!!## function rib(){ print 'rib'; } #----# interface Get { public function Get($something); } interface Show { public function Show($something); } interface Put { public function Put($something); } #----# abstract class Page { protected $_cellArra = array(); protected $_parent; protected $_loadedArray = array(); public function __construct($parent){ $this->_parent = $parent; //load any needed values } public function __destruct(){ print 'END_PAGE'; } public function cell($cellName){ $cell = $this->_cellArra["$cellName"]; return $cell; } public function CellPull(){ $cellArray = $this->_cellArra; foreach($cellArray as $cellName => $cellImpl){ $this->_loadedArray = $cellImpl->Dump($this->_loadedArray); } } public function Dump($dumpArray){ $pageArray = $this->_loadedArray; $this->CellPull(); $this->_loadedArray = array_merge($this->_loadedArray,$dumpArray); return $this->_loadedArray; } } abstract class Index extends Page implements Get, Show { public function Get($something){ $load = 'Get_cell'.$something; $value = $this->$load($something); $this->_cellArra[] = $value; } public function Show($something){ // Whatever value they request we show. return $something; } public function Alter($cell,$value,$newValue){ $valueName = "_cell{$cell}_{$value}"; $this->$valueName = $newValue; return NULL; } } class BBzIndex extends Index { #Cells protected $_cellAtomAnt_catchPhrase; protected function Get_cellAtomAnt($something){ $str1 = $this->_cellAtomAnt_catchPhrase; $AtomAnt = new AtomAnt($this); $AtomAnt->Show('AtomAnt'); return $AtomAnt; } } #----# abstract class Cell implements Show { protected $_loadedArray = array(); protected $_parent; public function __construct($parent){ $this->_parent = $parent; } public function __destruct(){ } public function Show($something){ $call = 'Show_'.$something; $this->$call(); } public function Dump($dumpArray){ $cellArray = $this->_loadedArray; $dumpedArray = array_merge((array)$cellArray,(array)$dumpArray); return $dumpedArray; } } class AtomAnt extends Cell { protected $_catchPhrase = "Up, Up, and AWAY!"; public function enter_CatchPhrase($catch){ $this->_catchPhrase = $catch; return $this->_catchPhrase; } public function Show_AtomAnt(){ $this->_loadedArray["_catchPhrase"] = $this->_catchPhrase; } } class FreddyFlower extends Cell { public function FreddyFlower(){ print 'Freddy Flower Sounds Irish!'; } } #----# abstract class Site{ protected $_loadedArray = array(); protected $_pageArra = array(); public function __construct($pageArray){ $this->load_page($pageArray); } public function __destruct(){ } /** * # loads page implementations into sites pageArra * @ page(mixed): Page's Classes to implement * @ [pageName(string)]: name of Page Implementation */ public function load_page($page,$pageName=NULL){ $pageArra = $this->_pageArra; if(is_array($page)){ foreach($page as $pageName => $pageImpl){ $this->_pageArra[$pageName] = new $pageImpl($this); } } elseif(is_string($page) && isset($pageName)){ if(!in_array($value,$pageArra)){ $this->_pageArra["$pageName"] = new $page($this); } else { print "NO ${page}"; } } return NULL; } public function unload_page($page=NULL){ $pageArra = $this->_pageArra; if(!$page){ foreach($pageArra as $pageName => $pageImpl){ unset($pageImpl); } }elseif(is_array($page)){ foreach($page as $pageName => $pageImpl){ if(in_array($pageName,$pageArra)){ unset($pageImpl); } else { print "NO ${page}"; } } } elseif(is_string($page) && isset($page)){ if(in_array($page,$pageArra)){ unset($page); } else { print "NO ${page}"; } } return NULL; } public function page($pageName){ $page = $this->_pageArra["$pageName"]; return $page; } public function PagePull(){ $pageArray = $this->_pageArra; foreach($pageArray as $pageName => $pageImpl){ $this->_loadedArray = $pageImpl->Dump($this->_loadedArray); } } public function Dump(&$dumpArray){ $this->PagePull(); $dumpArray = array_merge($this->_loadedArray,$dumpArray); $this->_loadedArray = $dumpArray; } public function loadedArray(){ return $this->_loadedArray; } #every day people pass me by, #just like the clouds in the sky, #buzy bumbling with themselves, #Each face unique but to me. #... #never again will I see... #those buzy bumbling bumble bees, } class BBzSite extends Site { public function load_atom($page,$name,$postfix=''){ $atomName = $this->_pageArra["$page"]->load_atom($name,$postfix); $this->_atomArra["$atomName"] = &$atomName; return $atomName; } } #----# $arrayPage = array("page1" => "BBzIndex","page2" => "BBzIndex","page3" => "BBzIndex",); $BBz = new BBzSite($arrayPage); $BBz->page('page1')->Alter('AtomAnt','catchPhrase','Huh?'); $BBz->page('page1')->Get('AtomAnt'); $l = array(); $BBz->Dump($l); print_r($l); ##!!## $etimer = explode( ' ', microtime() ); $etimer = $etimer[1] + $etimer[0]; echo '<p style="margin:auto; text-align:center">'; printf( "Script timer: <b>%f</b> seconds.", ($etimer-$stimer) ); echo '</p>'; ?> <xml document stuffs> <page name="index" file="index.php"> <site class="BBzSite"> <page class="BBzIndex" name="page1"> <cell get="AtomAnt"> <alter item="catchPhrase"><Huh?></change> </cell> </page> <page class="BBzIndex" name="page2"> <cell get="AtomAnt"> </cell> </page> </site> </page> <xml dokument stuffs> <style name="modern" file="style.tpl.php"> <head> <title></title> </head> <body> <each group="pigs"> <time number="*" > <name></name><value></value> <time number="6"><DO SOMETHING /></time> <funk name="blah" option1="value"></funk> </time> </each> <for times="10"></for> <while></while> </body> </style>
[edit] Pipe (measurement)
Pipe (measurement) already existed at Butt (unit), so I moved your info to Butt and redirected Pipe (measurement) to Butt. Hope that's ok.--Commander Keane 12:28, September 12, 2005 (UTC)
[edit] Reminder
Just a friendly reminder to carry out the culling of the Comparison of Internet forum software as per the talk page. I'll let you do it as you said you would, unless you haven't done it by the 20th of October, by which I'll make the required changes for you :)
NeoThermic 19:41, 9 October 2005 (UTC)