edit-task
Home
Up
Delete
Task Name:
Task Description:
contain various functions returning (type) to pages
TaskGroup ID:
Start Date:
Start Time:
Duration:
Priority:
Status:
To Do
Completed
In Process
Add Photo:
Owner ID:
Content:
use HTML
Edit Content
<h1 style="text-align: center;">[ PAGE - sospepFunction]</h1> <h2>[WHAT]</h2> <ol style="font-size: 10px; font-weight: normal;"> <li>[ def ] PAGE / CODE that contains all of the application specific sospep Function methods. Function methods return a 'data type' to the point in the page where are called from. </li> <li>[ args ] </li> <li>[returns] </li> </ol> <h2>[WHY]</h2> <ol style="font-size: 10px; font-weight: normal;"> <li>] getFeedID(string bookname) - </li> <li>] isUrl(string name_) - tests a string to see if it appears to be a url, ex starts with http, http, www, USEd to build a link if name.isUrl in Places </li> </ol> <h2>[WHERE called from]</h2> <ol style="font-size: 10px; font-weight: normal;"> <li>] global - these functions can be called from anywhere in the application </li> </ol> <h2>[WHEN]</h2> <ol style="font-size: 10px; font-weight: normal;"> <li>] you require the functionality of one of the methods</li> </ol> <h2>[EXAMPLE]</h2> <ol style="font-size: 10px; font-weight: normal;"> <li>] sospepFunction.getFeedID(BK title)</li> <ol> <li>] this function takes a string (name of the book) and returns a string ( script reference ) that generates the news feed </li> </ol></ol> <h2>[HOW-TO]</h2> <ol style="font-size: 10px; font-weight: normal;"> <li>] </li> </ol> <h2>[REFERENCE]</h2> <ol style="font-size: 10px; font-weight: normal;"> <li>] sospepFunctions -</li> <li>] sospepHelper - returns HTML blocks to the page where they are called from</li> <li> </li> </ol><hr style="font-size: 10px; font-weight: normal;" /> <h1 style="text-align: center;">developer implementation</h1> <h2>[process]</h2> <ol style="font-size: 10px; font-weight: normal;"> <li> </li> </ol> <h2>[notes]</h2> <ol style="font-size: 10px; font-weight: normal;"> <li> </li> </ol> <h2>[by_date]</h2> <ol style="font-size: 10px; font-weight: normal;"> <li><strong>[2013-09-dd] </strong></li> <ol> <li>x] add <strong>function</strong> isUrl , takes string, returns t/f, checks for "http" or "www"</li> <li>x] add www OR http, </li> <li>] PRB with www - b/c w/out http (it) makes it a relative url</li> </ol> <li><strong>2013-09-13] </strong></li> <ol> <li>x] cut out 2 helpers(decodeXML,setParents) and moved to the sospepHelpers(aka myHelpers) file. This file now ONLY contains functions. </li> <li>x] Edit pages containing ref to "sospepHelper" (orig name) and </li> </ol></ol><hr style="font-size: 10px; font-weight: normal;" /> <h1 style="text-align: center;">status</h1> <h2>[current]</h2> <ol style="font-size: 10px; font-weight: normal;"> <li> ] </li> </ol> <h2>[next]</h2> <ol style="font-size: 10px; font-weight: normal;"> <li>] </li> </ol> <p style="font-size: 10px; font-weight: normal;"> </p>