2012-04-26 16:26:50 -04:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<project version="2.0.0a2" title="miniMVC">
|
2012-05-21 14:51:07 -04:00
|
|
|
<file path="sys/core/MM_Page.php" hash="119d5ab854ddc770fca052e6c6e302e5" package="miniMVC">
|
2012-04-26 16:26:50 -04:00
|
|
|
<docblock line="2">
|
|
|
|
<description><![CDATA[MiniMVC]]></description>
|
|
|
|
<long-description><![CDATA[<p>Convention-based micro-framework for PHP</p>]]></long-description>
|
|
|
|
<tag line="2" name="package" description="miniMVC"/>
|
|
|
|
<tag line="2" name="author" description="Timothy J. Warren"/>
|
|
|
|
<tag line="2" name="copyright" description="Copyright (c) 2011 - 2012"/>
|
|
|
|
<tag line="2" name="link" description="https://github.com/timw4mail/miniMVC" link="https://github.com/timw4mail/miniMVC"/>
|
|
|
|
<tag line="2" name="license" description="http://philsturgeon.co.uk/code/dbad-license"/>
|
|
|
|
</docblock>
|
|
|
|
<class final="false" abstract="false" namespace="default" line="25" package="miniMVC\System">
|
|
|
|
<name>MM_Page</name>
|
|
|
|
<full_name>\MM_Page</full_name>
|
2012-05-16 08:29:52 -04:00
|
|
|
<extends>\MM_Output</extends>
|
2012-04-26 16:26:50 -04:00
|
|
|
<docblock line="16">
|
|
|
|
<description><![CDATA[Class for building pages]]></description>
|
|
|
|
<long-description><![CDATA[<p>All methods are chainable, with the exception of the constructor,
|
|
|
|
build_header(), build_footer(), and _headers() methods.</p>]]></long-description>
|
|
|
|
<tag line="16" name="package" description="miniMVC"/>
|
|
|
|
<tag line="16" name="subpackage" description="System"/>
|
|
|
|
</docblock>
|
|
|
|
<property final="false" static="false" visibility="private" line="32" package="Default">
|
|
|
|
<name>$meta</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<docblock line="27">
|
|
|
|
<description><![CDATA[Meta tags]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
|
|
|
<tag line="27" name="var" description="" type="string">
|
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
|
|
|
</property>
|
|
|
|
<property final="false" static="false" visibility="private" line="39" package="Default">
|
|
|
|
<name>$head_js</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<docblock line="34">
|
|
|
|
<description><![CDATA[JS tags for the header]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
|
|
|
<tag line="34" name="var" description="" type="string">
|
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
|
|
|
</property>
|
|
|
|
<property final="false" static="false" visibility="private" line="46" package="Default">
|
|
|
|
<name>$foot_js</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<docblock line="41">
|
|
|
|
<description><![CDATA[JS tags for the footer]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
|
|
|
<tag line="41" name="var" description="" type="string">
|
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
|
|
|
</property>
|
|
|
|
<property final="false" static="false" visibility="private" line="53" package="Default">
|
|
|
|
<name>$css</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<docblock line="48">
|
|
|
|
<description><![CDATA[CSS tags for the page]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
|
|
|
<tag line="48" name="var" description="" type="string">
|
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
|
|
|
</property>
|
|
|
|
<property final="false" static="false" visibility="private" line="60" package="Default">
|
|
|
|
<name>$title</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<docblock line="55">
|
|
|
|
<description><![CDATA[Page title]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
|
|
|
<tag line="55" name="var" description="" type="string">
|
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
|
|
|
</property>
|
|
|
|
<property final="false" static="false" visibility="private" line="67" package="Default">
|
|
|
|
<name>$head_tags</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<docblock line="62">
|
|
|
|
<description><![CDATA[Additional header tags]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
|
|
|
<tag line="62" name="var" description="" type="string">
|
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
|
|
|
</property>
|
|
|
|
<property final="false" static="false" visibility="private" line="74" package="Default">
|
|
|
|
<name>$body_class</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<docblock line="69">
|
|
|
|
<description><![CDATA[Class(es) to apply to the main body tag]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
|
|
|
<tag line="69" name="var" description="" type="string">
|
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
|
|
|
</property>
|
|
|
|
<property final="false" static="false" visibility="private" line="81" package="Default">
|
|
|
|
<name>$body_id</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<docblock line="76">
|
|
|
|
<description><![CDATA[Id to apply to the body tag]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
|
|
|
<tag line="76" name="var" description="" type="string">
|
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
|
|
|
</property>
|
|
|
|
<property final="false" static="false" visibility="private" line="88" package="Default">
|
|
|
|
<name>$base</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<docblock line="83">
|
|
|
|
<description><![CDATA[Base tag]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
|
|
|
<tag line="83" name="var" description="" type="string">
|
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
|
|
|
</property>
|
2012-04-27 16:28:25 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="96" package="">
|
2012-04-26 16:26:50 -04:00
|
|
|
<name>__construct</name>
|
|
|
|
<type>function</type>
|
|
|
|
<docblock line="90">
|
|
|
|
<description><![CDATA[Set up the page class]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-04-27 16:28:25 -04:00
|
|
|
<tag line="90" name="param" description="object" type="" variable="$controller"/>
|
2012-04-26 16:26:50 -04:00
|
|
|
<tag line="90" name="return" description="" type="void">
|
|
|
|
<type by_reference="false">void</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
2012-04-27 16:28:25 -04:00
|
|
|
<argument line="96">
|
|
|
|
<name>$controller</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
2012-04-26 16:26:50 -04:00
|
|
|
</method>
|
2012-05-21 14:51:07 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="116" package="">
|
|
|
|
<name>__destruct</name>
|
2012-04-26 16:26:50 -04:00
|
|
|
<type>function</type>
|
2012-05-16 08:29:52 -04:00
|
|
|
<docblock line="113">
|
2012-05-21 14:51:07 -04:00
|
|
|
<description><![CDATA[call the parent destructor]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
|
|
|
</docblock>
|
|
|
|
</method>
|
|
|
|
<method final="false" abstract="false" static="false" visibility="private" namespace="default" line="133" package="">
|
|
|
|
<name>_headers</name>
|
|
|
|
<type>function</type>
|
|
|
|
<docblock line="123">
|
2012-04-26 16:26:50 -04:00
|
|
|
<description><![CDATA[Sets server headers and doctype]]></description>
|
|
|
|
<long-description><![CDATA[<p>Also sets page mime type, based on if sent as
|
|
|
|
html or xhtml, and what the target browser
|
|
|
|
supports</p>]]></long-description>
|
2012-05-21 14:51:07 -04:00
|
|
|
<tag line="123" name="param" description="" type="bool" variable="$html5">
|
|
|
|
<type by_reference="false">bool</type>
|
|
|
|
</tag>
|
|
|
|
<tag line="123" name="return" description="" type="\Page">
|
|
|
|
<type by_reference="false">\Page</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
|
|
|
<argument line="133">
|
|
|
|
<name>$html5</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
</method>
|
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="174" package="">
|
|
|
|
<name>set_meta</name>
|
|
|
|
<type>function</type>
|
|
|
|
<docblock line="166">
|
|
|
|
<description><![CDATA[Set Meta]]></description>
|
|
|
|
<long-description><![CDATA[<p>Sets meta tags, with codeigniter native meta tag helper</p>]]></long-description>
|
|
|
|
<tag line="166" name="param" description="" type="array" variable="$meta">
|
|
|
|
<type by_reference="false">array</type>
|
|
|
|
</tag>
|
|
|
|
<tag line="166" name="return" description="" type="\Page">
|
|
|
|
<type by_reference="false">\Page</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
|
|
|
<argument line="174">
|
|
|
|
<name>$meta</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
</method>
|
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="189" package="">
|
|
|
|
<name>set_head_js_group</name>
|
|
|
|
<type>function</type>
|
|
|
|
<docblock line="182">
|
|
|
|
<description><![CDATA[Sets minified javascript group in header]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
|
|
|
<tag line="182" name="param" description="" type="string" variable="$group">
|
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
|
|
|
<tag line="182" name="param" description="" type="bool" variable="$debug">
|
|
|
|
<type by_reference="false">bool</type>
|
|
|
|
</tag>
|
|
|
|
<tag line="182" name="return" description="" type="\Page">
|
|
|
|
<type by_reference="false">\Page</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
|
|
|
<argument line="189">
|
|
|
|
<name>$group</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
<argument line="189">
|
|
|
|
<name>$debug</name>
|
|
|
|
<default><![CDATA[FALSE]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
</method>
|
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="209" package="">
|
|
|
|
<name>set_css_group</name>
|
|
|
|
<type>function</type>
|
|
|
|
<docblock line="204">
|
|
|
|
<description><![CDATA[Sets a minified css group]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
|
|
|
<tag line="204" name="param" description="" type="string" variable="$group">
|
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
|
|
|
<tag line="204" name="return" description="" type="\Page">
|
|
|
|
<type by_reference="false">\Page</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
|
|
|
<argument line="209">
|
|
|
|
<name>$group</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
</method>
|
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="230" package="">
|
|
|
|
<name>set_foot_js_group</name>
|
|
|
|
<type>function</type>
|
|
|
|
<docblock line="223">
|
|
|
|
<description><![CDATA[Sets a minified javascript group for the page footer]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
|
|
|
<tag line="223" name="param" description="" type="string" variable="$group">
|
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
|
|
|
<tag line="223" name="param" description="" type="bool" variable="$debug">
|
|
|
|
<type by_reference="false">bool</type>
|
|
|
|
</tag>
|
|
|
|
<tag line="223" name="return" description="" type="\Page">
|
|
|
|
<type by_reference="false">\Page</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
|
|
|
<argument line="230">
|
|
|
|
<name>$group</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
<argument line="230">
|
|
|
|
<name>$debug</name>
|
|
|
|
<default><![CDATA[FALSE]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
</method>
|
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="246" package="">
|
|
|
|
<name>set_title</name>
|
|
|
|
<type>function</type>
|
|
|
|
<docblock line="240">
|
|
|
|
<description><![CDATA[Sets html title string]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
|
|
|
<tag line="240" name="param" description="" type="string" variable="$title">
|
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
|
|
|
<tag line="240" name="return" description="" type="\Page">
|
|
|
|
<type by_reference="false">\Page</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
|
|
|
<argument line="246">
|
|
|
|
<name>$title</name>
|
|
|
|
<default><![CDATA[""]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
</method>
|
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="263" package="">
|
|
|
|
<name>set_body_class</name>
|
|
|
|
<type>function</type>
|
|
|
|
<docblock line="257">
|
|
|
|
<description><![CDATA[Sets custom body class]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
|
|
|
<tag line="257" name="param" description="" type="string" variable="$class">
|
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
|
|
|
<tag line="257" name="return" description="" type="\Page">
|
|
|
|
<type by_reference="false">\Page</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
|
|
|
<argument line="263">
|
|
|
|
<name>$class</name>
|
|
|
|
<default><![CDATA[""]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
</method>
|
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="277" package="">
|
|
|
|
<name>set_body_id</name>
|
|
|
|
<type>function</type>
|
|
|
|
<docblock line="271">
|
|
|
|
<description><![CDATA[Sets custom body id]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
|
|
|
<tag line="271" name="param" description="" type="string" variable="$id">
|
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
|
|
|
<tag line="271" name="return" description="" type="\Page">
|
|
|
|
<type by_reference="false">\Page</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
|
|
|
<argument line="277">
|
|
|
|
<name>$id</name>
|
|
|
|
<default><![CDATA[""]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
</method>
|
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="291" package="">
|
|
|
|
<name>set_base</name>
|
|
|
|
<type>function</type>
|
|
|
|
<docblock line="285">
|
|
|
|
<description><![CDATA[Sets custom base href]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
|
|
|
<tag line="285" name="param" description="href" type="string" variable="$href">
|
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
|
|
|
<tag line="285" name="return" description="" type="\Page">
|
|
|
|
<type by_reference="false">\Page</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
|
|
|
<argument line="291">
|
|
|
|
<name>$href</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
</method>
|
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="307" package="">
|
|
|
|
<name>set_css_tag</name>
|
|
|
|
<type>function</type>
|
|
|
|
<docblock line="299">
|
|
|
|
<description><![CDATA[Sets custom css tags]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
|
|
|
<tag line="299" name="param" description="" type="string" variable="$name">
|
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
|
|
|
<tag line="299" name="param" description="" type="bool" variable="$domain">
|
|
|
|
<type by_reference="false">bool</type>
|
|
|
|
</tag>
|
|
|
|
<tag line="299" name="param" description="" type="string" variable="$media">
|
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
|
|
|
<tag line="299" name="return" description="" type="\Page">
|
|
|
|
<type by_reference="false">\Page</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
|
|
|
<argument line="307">
|
|
|
|
<name>$name</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
<argument line="307">
|
|
|
|
<name>$domain</name>
|
|
|
|
<default><![CDATA[TRUE]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
<argument line="307">
|
|
|
|
<name>$media</name>
|
|
|
|
<default><![CDATA["all"]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
</method>
|
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="335" package="">
|
|
|
|
<name>set_head_tag</name>
|
|
|
|
<type>function</type>
|
|
|
|
<docblock line="329">
|
|
|
|
<description><![CDATA[Sets a custom tag in the header]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
|
|
|
<tag line="329" name="param" description="" type="string" variable="$tag">
|
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
|
|
|
<tag line="329" name="return" description="" type="\Page">
|
|
|
|
<type by_reference="false">\Page</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
|
|
|
<argument line="335">
|
|
|
|
<name>$tag</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
</method>
|
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="349" package="">
|
|
|
|
<name>build_header</name>
|
|
|
|
<type>function</type>
|
|
|
|
<docblock line="343">
|
|
|
|
<description><![CDATA[Sets custom page header]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
|
|
|
<tag line="343" name="param" description="" type="bool" variable="$html5">
|
2012-04-26 16:26:50 -04:00
|
|
|
<type by_reference="false">bool</type>
|
|
|
|
</tag>
|
2012-05-21 14:51:07 -04:00
|
|
|
<tag line="343" name="return" description="" type="\Page">
|
2012-04-26 16:26:50 -04:00
|
|
|
<type by_reference="false">\Page</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
2012-05-21 14:51:07 -04:00
|
|
|
<argument line="349">
|
2012-04-26 16:26:50 -04:00
|
|
|
<name>$html5</name>
|
2012-05-21 14:51:07 -04:00
|
|
|
<default><![CDATA[TRUE]]></default>
|
2012-04-26 16:26:50 -04:00
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
</method>
|
2012-05-21 14:51:07 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="407" package="">
|
|
|
|
<name>build_footer</name>
|
2012-04-26 16:26:50 -04:00
|
|
|
<type>function</type>
|
2012-05-21 14:51:07 -04:00
|
|
|
<docblock line="404">
|
|
|
|
<description><![CDATA[Builds common footer with any additional js]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
|
|
|
</docblock>
|
|
|
|
</method>
|
|
|
|
<method final="false" abstract="false" static="false" visibility="private" namespace="default" line="427" package="">
|
|
|
|
<name>script_tag</name>
|
|
|
|
<type>function</type>
|
|
|
|
<docblock line="418">
|
|
|
|
<description><![CDATA[Script Tag]]></description>
|
|
|
|
<long-description><![CDATA[<p>Helper function for making script tags</p>]]></long-description>
|
|
|
|
<tag line="418" name="param" description="" type="string" variable="$js">
|
|
|
|
<type by_reference="false">string</type>
|
2012-04-26 16:26:50 -04:00
|
|
|
</tag>
|
2012-05-21 14:51:07 -04:00
|
|
|
<tag line="418" name="param" description="" type="bool" variable="$domain">
|
|
|
|
<type by_reference="false">bool</type>
|
|
|
|
</tag>
|
|
|
|
<tag line="418" name="return" description="" type="string">
|
|
|
|
<type by_reference="false">string</type>
|
2012-04-26 16:26:50 -04:00
|
|
|
</tag>
|
|
|
|
</docblock>
|
2012-05-21 14:51:07 -04:00
|
|
|
<argument line="427">
|
|
|
|
<name>$js</name>
|
2012-04-26 16:26:50 -04:00
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
2012-05-21 14:51:07 -04:00
|
|
|
<argument line="427">
|
|
|
|
<name>$domain</name>
|
|
|
|
<default><![CDATA[TRUE]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
2012-04-26 16:26:50 -04:00
|
|
|
</method>
|
2012-05-21 14:51:07 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="453" package="">
|
|
|
|
<name>set_message</name>
|
2012-04-26 16:26:50 -04:00
|
|
|
<type>function</type>
|
2012-05-21 14:51:07 -04:00
|
|
|
<docblock line="444">
|
|
|
|
<description><![CDATA[Set Message]]></description>
|
|
|
|
<long-description><![CDATA[<p>Adds a message to the page</p>]]></long-description>
|
|
|
|
<tag line="444" name="param" description="" type="string" variable="$type">
|
2012-04-26 16:26:50 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
2012-05-21 14:51:07 -04:00
|
|
|
<tag line="444" name="param" description="" type="string" variable="$message">
|
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
|
|
|
<tag line="444" name="param" description="" type="bool" variable="$return">
|
2012-04-26 16:26:50 -04:00
|
|
|
<type by_reference="false">bool</type>
|
|
|
|
</tag>
|
2012-05-21 14:51:07 -04:00
|
|
|
<tag line="444" name="return" description="" type="void">
|
|
|
|
<type by_reference="false">void</type>
|
2012-04-26 16:26:50 -04:00
|
|
|
</tag>
|
|
|
|
</docblock>
|
2012-05-21 14:51:07 -04:00
|
|
|
<argument line="453">
|
|
|
|
<name>$type</name>
|
2012-04-26 16:26:50 -04:00
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
2012-05-21 14:51:07 -04:00
|
|
|
<argument line="453">
|
|
|
|
<name>$message</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
<argument line="453">
|
|
|
|
<name>$return</name>
|
2012-04-26 16:26:50 -04:00
|
|
|
<default><![CDATA[FALSE]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
</method>
|
2012-05-21 14:51:07 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="469" package="">
|
|
|
|
<name>redirect_303</name>
|
2012-04-26 16:26:50 -04:00
|
|
|
<type>function</type>
|
2012-05-21 14:51:07 -04:00
|
|
|
<docblock line="463">
|
|
|
|
<description><![CDATA[Redirect 303]]></description>
|
|
|
|
<long-description><![CDATA[<p>Shortcut function for 303 redirect</p>]]></long-description>
|
|
|
|
<tag line="463" name="param" description="" type="string" variable="$url">
|
2012-04-26 16:26:50 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
2012-05-21 14:51:07 -04:00
|
|
|
<argument line="469">
|
|
|
|
<name>$url</name>
|
2012-04-26 16:26:50 -04:00
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
</method>
|
2012-05-21 14:51:07 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="484" package="">
|
|
|
|
<name>render</name>
|
2012-04-26 16:26:50 -04:00
|
|
|
<type>function</type>
|
2012-05-21 14:51:07 -04:00
|
|
|
<docblock line="477">
|
|
|
|
<description><![CDATA[Render]]></description>
|
|
|
|
<long-description><![CDATA[<p>Shortcut function for building a page</p>]]></long-description>
|
|
|
|
<tag line="477" name="param" description="" type="string" variable="$view">
|
2012-04-26 16:26:50 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
2012-05-21 14:51:07 -04:00
|
|
|
<tag line="477" name="param" description="" type="array" variable="$data">
|
|
|
|
<type by_reference="false">array</type>
|
2012-04-26 16:26:50 -04:00
|
|
|
</tag>
|
|
|
|
</docblock>
|
2012-05-21 14:51:07 -04:00
|
|
|
<argument line="484">
|
|
|
|
<name>$view</name>
|
2012-04-26 16:26:50 -04:00
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
2012-05-21 14:51:07 -04:00
|
|
|
<argument line="484">
|
|
|
|
<name>$data</name>
|
|
|
|
<default><![CDATA[[]]]></default>
|
2012-04-26 16:26:50 -04:00
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
</method>
|
2012-05-21 14:51:07 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="501" package="">
|
|
|
|
<name>output_string</name>
|
2012-04-26 16:26:50 -04:00
|
|
|
<type>function</type>
|
2012-05-21 14:51:07 -04:00
|
|
|
<docblock line="493">
|
|
|
|
<description><![CDATA[Output String]]></description>
|
|
|
|
<long-description><![CDATA[<p>Similar to render(), this is a shortcut
|
|
|
|
to output a string in the body of the
|
|
|
|
page.</p>]]></long-description>
|
|
|
|
<tag line="493" name="param" description="" type="string" variable="$string">
|
2012-04-26 16:26:50 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
2012-05-21 14:51:07 -04:00
|
|
|
<argument line="501">
|
|
|
|
<name>$string</name>
|
|
|
|
<default><![CDATA[]]></default>
|
2012-04-26 16:26:50 -04:00
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
</method>
|
2012-05-21 14:51:07 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="private" namespace="default" line="516" package="">
|
|
|
|
<name>_meta</name>
|
2012-04-26 16:26:50 -04:00
|
|
|
<type>function</type>
|
2012-05-21 14:51:07 -04:00
|
|
|
<docblock line="510">
|
|
|
|
<description><![CDATA[Private helper function to generate meta tags]]></description>
|
2012-04-26 16:26:50 -04:00
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-05-21 14:51:07 -04:00
|
|
|
<tag line="510" name="param" description="" type="array" variable="$params">
|
|
|
|
<type by_reference="false">array</type>
|
2012-04-26 16:26:50 -04:00
|
|
|
</tag>
|
2012-05-21 14:51:07 -04:00
|
|
|
<tag line="510" name="return" description="" type="string">
|
|
|
|
<type by_reference="false">string</type>
|
2012-04-26 16:26:50 -04:00
|
|
|
</tag>
|
|
|
|
</docblock>
|
2012-05-21 14:51:07 -04:00
|
|
|
<argument line="516">
|
|
|
|
<name>$params</name>
|
|
|
|
<default><![CDATA[]]></default>
|
2012-04-26 16:26:50 -04:00
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
</method>
|
2012-05-21 14:51:07 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="private" namespace="default" line="538" package="">
|
|
|
|
<name>_link_tag</name>
|
2012-04-26 16:26:50 -04:00
|
|
|
<type>function</type>
|
2012-05-21 14:51:07 -04:00
|
|
|
<docblock line="532">
|
|
|
|
<description><![CDATA[Private helper function to generate link tags]]></description>
|
2012-04-26 16:26:50 -04:00
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-05-21 14:51:07 -04:00
|
|
|
<tag line="532" name="param" description="" type="array" variable="$params">
|
|
|
|
<type by_reference="false">array</type>
|
2012-04-26 16:26:50 -04:00
|
|
|
</tag>
|
2012-05-21 14:51:07 -04:00
|
|
|
<tag line="532" name="return" description="" type="string">
|
|
|
|
<type by_reference="false">string</type>
|
2012-04-26 16:26:50 -04:00
|
|
|
</tag>
|
|
|
|
</docblock>
|
2012-05-21 14:51:07 -04:00
|
|
|
<argument line="538">
|
|
|
|
<name>$params</name>
|
|
|
|
<default><![CDATA[]]></default>
|
2012-04-26 16:26:50 -04:00
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
</method>
|
2012-05-21 14:51:07 -04:00
|
|
|
</class>
|
|
|
|
</file>
|
|
|
|
<file path="sys/core/MM_Output.php" hash="beb51a0697f47630474275ef0a0fb919" package="Default">
|
|
|
|
<docblock line="2">
|
|
|
|
<description><![CDATA[MiniMVC]]></description>
|
|
|
|
<long-description><![CDATA[<p>Convention-based micro-framework for PHP</p>]]></long-description>
|
|
|
|
<tag line="2" name="author" description="Timothy J. Warren"/>
|
|
|
|
<tag line="2" name="copyright" description="Copyright (c) 2011 - 2012"/>
|
|
|
|
<tag line="2" name="link" description="https://github.com/timw4mail/miniMVC" link="https://github.com/timw4mail/miniMVC"/>
|
|
|
|
<tag line="2" name="license" description="http://philsturgeon.co.uk/code/dbad-license"/>
|
|
|
|
</docblock>
|
|
|
|
<class final="false" abstract="false" namespace="default" line="21" package="miniMVC\System">
|
|
|
|
<name>MM_Output</name>
|
|
|
|
<full_name>\MM_Output</full_name>
|
|
|
|
<extends>\MM</extends>
|
|
|
|
<docblock line="15">
|
|
|
|
<description><![CDATA[Class for displaying output and setting http headers]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
|
|
|
<tag line="15" name="package" description="miniMVC"/>
|
|
|
|
<tag line="15" name="subpackage" description="System"/>
|
|
|
|
</docblock>
|
|
|
|
<property final="false" static="false" visibility="private" line="28" package="Default">
|
|
|
|
<name>$buffer</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<docblock line="23">
|
|
|
|
<description><![CDATA[Content for outputting]]></description>
|
2012-04-26 16:26:50 -04:00
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-05-21 14:51:07 -04:00
|
|
|
<tag line="23" name="var" description="" type="string">
|
2012-04-26 16:26:50 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
2012-05-21 14:51:07 -04:00
|
|
|
</docblock>
|
|
|
|
</property>
|
|
|
|
<property final="false" static="false" visibility="private" line="35" package="Default">
|
|
|
|
<name>$headers</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<docblock line="30">
|
|
|
|
<description><![CDATA[HTTP headers to send]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
|
|
|
<tag line="30" name="var" description="" type="array">
|
|
|
|
<type by_reference="false">array</type>
|
2012-04-26 16:26:50 -04:00
|
|
|
</tag>
|
|
|
|
</docblock>
|
2012-05-21 14:51:07 -04:00
|
|
|
</property>
|
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="42" package="">
|
|
|
|
<name>__construct</name>
|
2012-04-26 16:26:50 -04:00
|
|
|
<type>function</type>
|
2012-05-21 14:51:07 -04:00
|
|
|
<docblock line="37">
|
|
|
|
<description><![CDATA[Initialize the output class]]></description>
|
2012-04-26 16:26:50 -04:00
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-05-21 14:51:07 -04:00
|
|
|
<tag line="37" name="return" description="" type="void">
|
|
|
|
<type by_reference="false">void</type>
|
2012-04-26 16:26:50 -04:00
|
|
|
</tag>
|
2012-05-21 14:51:07 -04:00
|
|
|
</docblock>
|
|
|
|
</method>
|
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="54" package="">
|
|
|
|
<name>__destruct</name>
|
|
|
|
<type>function</type>
|
|
|
|
<docblock line="48">
|
|
|
|
<description><![CDATA[PHP magic method called when ending the script
|
|
|
|
Used for outputing HTML]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
|
|
|
<tag line="48" name="return" description="" type="void">
|
|
|
|
<type by_reference="false">void</type>
|
2012-04-26 16:26:50 -04:00
|
|
|
</tag>
|
2012-05-21 14:51:07 -04:00
|
|
|
</docblock>
|
|
|
|
</method>
|
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="97" package="">
|
|
|
|
<name>set_header</name>
|
|
|
|
<type>function</type>
|
|
|
|
<docblock line="91">
|
|
|
|
<description><![CDATA[Sets a header for later output]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
|
|
|
<tag line="91" name="param" description="" type="string" variable="$key">
|
2012-04-26 16:26:50 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
2012-05-21 14:51:07 -04:00
|
|
|
<tag line="91" name="param" description="" type="string" variable="$val">
|
|
|
|
<type by_reference="false">string</type>
|
2012-04-26 16:26:50 -04:00
|
|
|
</tag>
|
|
|
|
</docblock>
|
2012-05-21 14:51:07 -04:00
|
|
|
<argument line="97">
|
|
|
|
<name>$key</name>
|
2012-04-26 16:26:50 -04:00
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
2012-05-21 14:51:07 -04:00
|
|
|
<argument line="97">
|
|
|
|
<name>$val</name>
|
|
|
|
<default><![CDATA[]]></default>
|
2012-04-26 16:26:50 -04:00
|
|
|
<type/>
|
|
|
|
</argument>
|
2012-05-21 14:51:07 -04:00
|
|
|
</method>
|
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="109" package="">
|
|
|
|
<name>append_output</name>
|
|
|
|
<type>function</type>
|
|
|
|
<docblock line="104">
|
|
|
|
<description><![CDATA[Adds text to the output buffer]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
|
|
|
<tag line="104" name="param" description="" type="string" variable="$string">
|
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
|
|
|
<argument line="109">
|
|
|
|
<name>$string</name>
|
|
|
|
<default><![CDATA[]]></default>
|
2012-04-26 16:26:50 -04:00
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
</method>
|
2012-05-21 14:51:07 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="121" package="">
|
|
|
|
<name>set_output</name>
|
2012-04-26 16:26:50 -04:00
|
|
|
<type>function</type>
|
2012-05-21 14:51:07 -04:00
|
|
|
<docblock line="116">
|
|
|
|
<description><![CDATA[Sets the output buffer]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
|
|
|
<tag line="116" name="param" description="" type="string" variable="$string">
|
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
|
|
|
<argument line="121">
|
|
|
|
<name>$string</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
</method>
|
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="131" package="">
|
|
|
|
<name>flush_headers</name>
|
|
|
|
<type>function</type>
|
|
|
|
<docblock line="128">
|
|
|
|
<description><![CDATA[Sends headers and then removes them]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
|
|
|
</docblock>
|
|
|
|
</method>
|
|
|
|
</class>
|
|
|
|
</file>
|
2012-05-21 14:58:58 -04:00
|
|
|
<file path="sys/core/traits/Singleton.php" hash="f918c0d3610dae789decf8d36446e006" package="miniMVC">
|
|
|
|
<docblock line="2">
|
|
|
|
<description><![CDATA[MiniMVC]]></description>
|
|
|
|
<long-description><![CDATA[<p>Convention-based micro-framework for PHP</p>]]></long-description>
|
|
|
|
<tag line="2" name="package" description="miniMVC"/>
|
|
|
|
<tag line="2" name="author" description="Timothy J. Warren"/>
|
|
|
|
<tag line="2" name="copyright" description="Copyright (c) 2011 - 2012"/>
|
|
|
|
<tag line="2" name="link" description="https://github.com/timw4mail/miniMVC" link="https://github.com/timw4mail/miniMVC"/>
|
|
|
|
<tag line="2" name="license" description="http://philsturgeon.co.uk/code/dbad-license"/>
|
|
|
|
</docblock>
|
|
|
|
<namespace-alias name="Generic">Generic</namespace-alias>
|
|
|
|
<function namespace="default" line="36" package="miniMVC">
|
|
|
|
<name>__construct</name>
|
|
|
|
<type>function</type>
|
|
|
|
<docblock line="33">
|
|
|
|
<description><![CDATA[Protected constructor for creating the one instance]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
|
|
|
</docblock>
|
|
|
|
</function>
|
|
|
|
<function namespace="default" line="44" package="miniMVC">
|
|
|
|
<name>__invoke</name>
|
|
|
|
<type>function</type>
|
|
|
|
<docblock line="38">
|
|
|
|
<description><![CDATA[PHP magic method that is called when an object is treated as a function]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
|
|
|
<tag line="38" name="param" description="" type="array" variable="$params">
|
|
|
|
<type by_reference="false">array</type>
|
|
|
|
</tag>
|
|
|
|
<tag line="38" name="return" description="" type="\self">
|
|
|
|
<type by_reference="false">\self</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
|
|
|
<argument line="44">
|
|
|
|
<name>$params</name>
|
|
|
|
<default><![CDATA[[]]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
</function>
|
|
|
|
<function namespace="default" line="56" package="miniMVC">
|
|
|
|
<name>get_instance</name>
|
|
|
|
<type>function</type>
|
|
|
|
<docblock line="51">
|
|
|
|
<description><![CDATA[Singleton getter function]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
|
|
|
<tag line="51" name="return" description="" type="\self">
|
|
|
|
<type by_reference="false">\self</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
|
|
|
</function>
|
|
|
|
<function namespace="default" line="73" package="miniMVC">
|
|
|
|
<name>__clone</name>
|
|
|
|
<type>function</type>
|
|
|
|
<docblock line="70">
|
|
|
|
<description><![CDATA[Magic function called when cloning an object]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
|
|
|
</docblock>
|
|
|
|
</function>
|
|
|
|
</file>
|
|
|
|
<file path="sys/core/traits/JSObject.php" hash="59936305b240a482a7893bacd6a7688d" package="miniMVC">
|
|
|
|
<docblock line="2">
|
|
|
|
<description><![CDATA[MiniMVC]]></description>
|
|
|
|
<long-description><![CDATA[<p>Convention-based micro-framework for PHP</p>]]></long-description>
|
|
|
|
<tag line="2" name="package" description="miniMVC"/>
|
|
|
|
<tag line="2" name="author" description="Timothy J. Warren"/>
|
|
|
|
<tag line="2" name="copyright" description="Copyright (c) 2011 - 2012"/>
|
|
|
|
<tag line="2" name="link" description="https://github.com/timw4mail/miniMVC" link="https://github.com/timw4mail/miniMVC"/>
|
|
|
|
<tag line="2" name="license" description="http://philsturgeon.co.uk/code/dbad-license"/>
|
|
|
|
</docblock>
|
|
|
|
<namespace-alias name="Generic">Generic</namespace-alias>
|
|
|
|
<function namespace="default" line="32" package="miniMVC">
|
|
|
|
<name>__construct</name>
|
|
|
|
<type>function</type>
|
|
|
|
<docblock line="26">
|
|
|
|
<description><![CDATA[Constructor for creating the objects]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
|
|
|
<tag line="26" name="param" description="" type="array" variable="$members">
|
|
|
|
<type by_reference="false">array</type>
|
|
|
|
</tag>
|
|
|
|
<tag line="26" name="return" description="" type="void">
|
|
|
|
<type by_reference="false">void</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
|
|
|
<argument line="32">
|
|
|
|
<name>$members</name>
|
|
|
|
<default><![CDATA[[]]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
</function>
|
|
|
|
<function namespace="default" line="49" package="miniMVC">
|
|
|
|
<name>__call</name>
|
|
|
|
<type>function</type>
|
|
|
|
<docblock line="43">
|
|
|
|
<description><![CDATA[PHP magic method to facilitate dynamic methods]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
|
|
|
<tag line="43" name="param" description="" type="string" variable="$name">
|
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
|
|
|
<tag line="43" name="param" description="" type="array" variable="$params">
|
|
|
|
<type by_reference="false">array</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
|
|
|
<argument line="49">
|
|
|
|
<name>$name</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
<argument line="49">
|
|
|
|
<name>$params</name>
|
|
|
|
<default><![CDATA[[]]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
</function>
|
|
|
|
</file>
|
|
|
|
<file path="sys/core/traits/Generic.php" hash="7938b5820dc4f793a1528615ffa3ece3" package="miniMVC">
|
|
|
|
<docblock line="2">
|
|
|
|
<description><![CDATA[MiniMVC]]></description>
|
|
|
|
<long-description><![CDATA[<p>Convention-based micro-framework for PHP</p>]]></long-description>
|
|
|
|
<tag line="2" name="package" description="miniMVC"/>
|
|
|
|
<tag line="2" name="author" description="Timothy J. Warren"/>
|
|
|
|
<tag line="2" name="copyright" description="Copyright (c) 2011 - 2012"/>
|
|
|
|
<tag line="2" name="link" description="https://github.com/timw4mail/miniMVC" link="https://github.com/timw4mail/miniMVC"/>
|
|
|
|
<tag line="2" name="license" description="http://philsturgeon.co.uk/code/dbad-license"/>
|
|
|
|
</docblock>
|
|
|
|
<function namespace="default" line="29" package="miniMVC">
|
|
|
|
<name>__toString</name>
|
|
|
|
<type>function</type>
|
|
|
|
<docblock line="24">
|
|
|
|
<description><![CDATA[Prints out the contents of the object when used as a string]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
|
|
|
<tag line="24" name="return" description="" type="string">
|
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
|
|
|
</function>
|
|
|
|
<function namespace="default" line="78" package="miniMVC">
|
|
|
|
<name>__invoke</name>
|
|
|
|
<type>function</type>
|
|
|
|
<docblock line="73">
|
|
|
|
<description><![CDATA[PHP magic method that is called when an object is treated as a function]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
|
|
|
<tag line="73" name="param" description="" type="array" variable="$args">
|
|
|
|
<type by_reference="false">array</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
|
|
|
<argument line="78">
|
|
|
|
<name>$args</name>
|
|
|
|
<default><![CDATA[[]]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
</function>
|
|
|
|
</file>
|
2012-05-21 14:51:07 -04:00
|
|
|
<file path="sys/core/MM_Controller.php" hash="ee59441b55721d586c536f30372daa36" package="miniMVC">
|
|
|
|
<docblock line="2">
|
|
|
|
<description><![CDATA[MiniMVC]]></description>
|
|
|
|
<long-description><![CDATA[<p>Convention-based micro-framework for PHP</p>]]></long-description>
|
|
|
|
<tag line="2" name="package" description="miniMVC"/>
|
|
|
|
<tag line="2" name="author" description="Timothy J. Warren"/>
|
|
|
|
<tag line="2" name="copyright" description="Copyright (c) 2011 - 2012"/>
|
|
|
|
<tag line="2" name="link" description="https://github.com/timw4mail/miniMVC" link="https://github.com/timw4mail/miniMVC"/>
|
|
|
|
<tag line="2" name="license" description="http://philsturgeon.co.uk/code/dbad-license"/>
|
|
|
|
</docblock>
|
|
|
|
<class final="false" abstract="false" namespace="default" line="22" package="miniMVC\System">
|
|
|
|
<name>MM_Controller</name>
|
|
|
|
<full_name>\MM_Controller</full_name>
|
|
|
|
<extends>\miniMVC</extends>
|
|
|
|
<docblock line="16">
|
|
|
|
<description><![CDATA[Base Controller Class]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
|
|
|
<tag line="16" name="package" description="miniMVC"/>
|
|
|
|
<tag line="16" name="subpackage" description="System"/>
|
|
|
|
</docblock>
|
|
|
|
<property final="false" static="false" visibility="protected" line="29" package="Default">
|
|
|
|
<name>$page</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<docblock line="24">
|
|
|
|
<description><![CDATA[Instance of Page class]]></description>
|
2012-04-26 16:26:50 -04:00
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-05-21 14:51:07 -04:00
|
|
|
<tag line="24" name="var" description="" type="\Page">
|
2012-04-26 16:26:50 -04:00
|
|
|
<type by_reference="false">\Page</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
2012-05-21 14:51:07 -04:00
|
|
|
</property>
|
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="36" package="">
|
|
|
|
<name>__construct</name>
|
2012-04-26 16:26:50 -04:00
|
|
|
<type>function</type>
|
2012-05-21 14:51:07 -04:00
|
|
|
<docblock line="31">
|
|
|
|
<description><![CDATA[Create the controller object]]></description>
|
2012-04-26 16:26:50 -04:00
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-05-21 14:51:07 -04:00
|
|
|
<tag line="31" name="return" description="" type="void">
|
|
|
|
<type by_reference="false">void</type>
|
2012-04-26 16:26:50 -04:00
|
|
|
</tag>
|
|
|
|
</docblock>
|
|
|
|
</method>
|
2012-05-21 14:51:07 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="53" package="">
|
|
|
|
<name>load_model</name>
|
2012-04-26 16:26:50 -04:00
|
|
|
<type>function</type>
|
2012-05-21 14:51:07 -04:00
|
|
|
<docblock line="46">
|
|
|
|
<description><![CDATA[Function for loading a model into the current class]]></description>
|
2012-04-26 16:26:50 -04:00
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-05-21 14:51:07 -04:00
|
|
|
<tag line="46" name="param" description="" type="string" variable="$file">
|
2012-04-26 16:26:50 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
2012-05-21 14:51:07 -04:00
|
|
|
<tag line="46" name="param" description="" type="array" variable="$args">
|
|
|
|
<type by_reference="false">array</type>
|
2012-04-26 16:26:50 -04:00
|
|
|
</tag>
|
2012-05-21 14:51:07 -04:00
|
|
|
<tag line="46" name="return" description="" type="void">
|
|
|
|
<type by_reference="false">void</type>
|
2012-04-26 16:26:50 -04:00
|
|
|
</tag>
|
|
|
|
</docblock>
|
2012-05-21 14:51:07 -04:00
|
|
|
<argument line="53">
|
|
|
|
<name>$file</name>
|
2012-04-26 16:26:50 -04:00
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
2012-05-21 14:51:07 -04:00
|
|
|
<argument line="53">
|
|
|
|
<name>$args</name>
|
|
|
|
<default><![CDATA[[]]]></default>
|
2012-04-26 16:26:50 -04:00
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
</method>
|
2012-05-21 14:51:07 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="85" package="">
|
|
|
|
<name>load_view</name>
|
2012-04-26 16:26:50 -04:00
|
|
|
<type>function</type>
|
2012-05-21 14:51:07 -04:00
|
|
|
<docblock line="77">
|
|
|
|
<description><![CDATA[Function for loading a view]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
|
|
|
<tag line="77" name="param" description="" type="string" variable="$file">
|
2012-04-26 16:26:50 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
2012-05-21 14:51:07 -04:00
|
|
|
<tag line="77" name="param" description="" type="array" variable="$data">
|
|
|
|
<type by_reference="false">array</type>
|
2012-04-26 16:26:50 -04:00
|
|
|
</tag>
|
2012-05-21 14:51:07 -04:00
|
|
|
<tag line="77" name="param" description="" type="bool" variable="$return">
|
2012-04-26 16:26:50 -04:00
|
|
|
<type by_reference="false">bool</type>
|
|
|
|
</tag>
|
2012-05-21 14:51:07 -04:00
|
|
|
<tag line="77" name="return" description="" type="mixed">
|
|
|
|
<type by_reference="false">mixed</type>
|
2012-04-26 16:26:50 -04:00
|
|
|
</tag>
|
|
|
|
</docblock>
|
2012-05-21 14:51:07 -04:00
|
|
|
<argument line="85">
|
|
|
|
<name>$file</name>
|
2012-04-26 16:26:50 -04:00
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
2012-05-21 14:51:07 -04:00
|
|
|
<argument line="85">
|
|
|
|
<name>$data</name>
|
|
|
|
<default><![CDATA[[]]]></default>
|
|
|
|
<type>array</type>
|
2012-04-26 16:26:50 -04:00
|
|
|
</argument>
|
2012-05-21 14:51:07 -04:00
|
|
|
<argument line="85">
|
2012-04-26 16:26:50 -04:00
|
|
|
<name>$return</name>
|
|
|
|
<default><![CDATA[FALSE]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
</method>
|
2012-05-21 14:51:07 -04:00
|
|
|
</class>
|
|
|
|
</file>
|
|
|
|
<file path="sys/core/db.php" hash="0b3d58a614cbb5d672d5dd7b51a84ced" package="miniMVC">
|
|
|
|
<docblock line="2">
|
|
|
|
<description><![CDATA[MiniMVC]]></description>
|
|
|
|
<long-description><![CDATA[<p>Convention-based micro-framework for PHP</p>]]></long-description>
|
|
|
|
<tag line="2" name="package" description="miniMVC"/>
|
|
|
|
<tag line="2" name="author" description="Timothy J. Warren"/>
|
|
|
|
<tag line="2" name="copyright" description="Copyright (c) 2011 - 2012"/>
|
|
|
|
<tag line="2" name="link" description="https://github.com/timw4mail/miniMVC" link="https://github.com/timw4mail/miniMVC"/>
|
|
|
|
<tag line="2" name="license" description="http://philsturgeon.co.uk/code/dbad-license"/>
|
|
|
|
</docblock>
|
|
|
|
<class final="false" abstract="false" namespace="default" line="22" package="miniMVC\System">
|
|
|
|
<name>DB</name>
|
|
|
|
<full_name>\DB</full_name>
|
|
|
|
<extends>\Query_Builder</extends>
|
|
|
|
<docblock line="16">
|
|
|
|
<description><![CDATA[Extend PHP's PDO class to add some more functionality]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
|
|
|
<tag line="16" name="package" description="miniMVC"/>
|
|
|
|
<tag line="16" name="subpackage" description="System"/>
|
|
|
|
</docblock>
|
|
|
|
<property final="false" static="true" visibility="private" line="31" package="Default">
|
|
|
|
<name>$instance</name>
|
|
|
|
<default><![CDATA[[]]]></default>
|
|
|
|
<docblock line="26">
|
|
|
|
<description><![CDATA[DB connection instances]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
|
|
|
<tag line="26" name="var" description="" type="array">
|
|
|
|
<type by_reference="false">array</type>
|
2012-04-26 16:26:50 -04:00
|
|
|
</tag>
|
|
|
|
</docblock>
|
2012-05-21 14:51:07 -04:00
|
|
|
</property>
|
|
|
|
<method final="false" abstract="false" static="true" visibility="public" namespace="default" line="40" package="">
|
|
|
|
<name>get_instance</name>
|
2012-04-26 16:26:50 -04:00
|
|
|
<type>function</type>
|
2012-05-21 14:51:07 -04:00
|
|
|
<docblock line="33">
|
|
|
|
<description><![CDATA[Indexed singleton method]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
|
|
|
<tag line="33" name="param" description="" type="string" variable="$dbname">
|
2012-04-26 16:26:50 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
2012-05-21 14:51:07 -04:00
|
|
|
<tag line="33" name="param" description="" type="array" variable="$options">
|
2012-04-26 16:26:50 -04:00
|
|
|
<type by_reference="false">array</type>
|
|
|
|
</tag>
|
2012-05-21 14:51:07 -04:00
|
|
|
<tag line="33" name="return" description="" type="\DB">
|
|
|
|
<type by_reference="false">\DB</type>
|
|
|
|
</tag>
|
2012-04-26 16:26:50 -04:00
|
|
|
</docblock>
|
2012-05-21 14:51:07 -04:00
|
|
|
<argument line="40">
|
|
|
|
<name>$dbname</name>
|
|
|
|
<default><![CDATA["default"]]></default>
|
2012-04-26 16:26:50 -04:00
|
|
|
<type/>
|
|
|
|
</argument>
|
2012-05-21 14:51:07 -04:00
|
|
|
<argument line="40">
|
|
|
|
<name>$options</name>
|
2012-05-14 14:35:57 -04:00
|
|
|
<default><![CDATA[[]]]></default>
|
2012-05-21 14:51:07 -04:00
|
|
|
<type>array</type>
|
2012-04-26 16:26:50 -04:00
|
|
|
</argument>
|
|
|
|
</method>
|
2012-05-21 14:51:07 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="70" package="">
|
|
|
|
<name>get_last_error</name>
|
2012-04-26 16:26:50 -04:00
|
|
|
<type>function</type>
|
2012-05-21 14:51:07 -04:00
|
|
|
<docblock line="65">
|
|
|
|
<description><![CDATA[Returns the last error from the database]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
|
|
|
<tag line="65" name="return" description="" type="string">
|
2012-04-26 16:26:50 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
2012-05-21 14:51:07 -04:00
|
|
|
</method>
|
|
|
|
</class>
|
|
|
|
</file>
|
|
|
|
<file path="sys/core/miniMVC.php" hash="0952b658ffbf7f7b39c41df1bdd38b3b" package="miniMVC">
|
|
|
|
<docblock line="2">
|
|
|
|
<description><![CDATA[MiniMVC]]></description>
|
|
|
|
<long-description><![CDATA[<p>Convention-based micro-framework for PHP</p>]]></long-description>
|
|
|
|
<tag line="2" name="package" description="miniMVC"/>
|
|
|
|
<tag line="2" name="author" description="Timothy J. Warren"/>
|
|
|
|
<tag line="2" name="copyright" description="Copyright (c) 2011 - 2012"/>
|
|
|
|
<tag line="2" name="link" description="https://github.com/timw4mail/miniMVC" link="https://github.com/timw4mail/miniMVC"/>
|
|
|
|
<tag line="2" name="license" description="http://philsturgeon.co.uk/code/dbad-license"/>
|
|
|
|
</docblock>
|
|
|
|
<class final="false" abstract="false" namespace="default" line="22" package="miniMVC\System">
|
|
|
|
<name>miniMVC</name>
|
|
|
|
<full_name>\miniMVC</full_name>
|
|
|
|
<extends>\MM</extends>
|
|
|
|
<docblock line="16">
|
|
|
|
<description><![CDATA[Base class for the framework]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
|
|
|
<tag line="16" name="package" description="miniMVC"/>
|
|
|
|
<tag line="16" name="subpackage" description="System"/>
|
|
|
|
</docblock>
|
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="31" package="">
|
|
|
|
<name>__construct</name>
|
|
|
|
<type>function</type>
|
|
|
|
<docblock line="26">
|
|
|
|
<description><![CDATA[Constructor - Any classes loaded here become subclasses of miniMVC]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
|
|
|
<tag line="26" name="param" description="" type="array" variable="$members">
|
|
|
|
<type by_reference="false">array</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
|
|
|
<argument line="31">
|
|
|
|
<name>$members</name>
|
|
|
|
<default><![CDATA[[]]]></default>
|
2012-04-26 16:26:50 -04:00
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
</method>
|
2012-05-21 14:51:07 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="44" package="">
|
|
|
|
<name>unload</name>
|
2012-04-26 16:26:50 -04:00
|
|
|
<type>function</type>
|
2012-05-21 14:51:07 -04:00
|
|
|
<docblock line="39">
|
|
|
|
<description><![CDATA[Convenience function to remove an object from the singleton]]></description>
|
2012-04-26 16:26:50 -04:00
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-05-21 14:51:07 -04:00
|
|
|
<tag line="39" name="param" description="" type="string" variable="$name">
|
2012-04-26 16:26:50 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
2012-05-21 14:51:07 -04:00
|
|
|
<argument line="44">
|
|
|
|
<name>$name</name>
|
2012-04-26 16:26:50 -04:00
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
</method>
|
2012-05-21 14:51:07 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="59" package="">
|
|
|
|
<name>load_config</name>
|
2012-04-26 16:26:50 -04:00
|
|
|
<type>function</type>
|
2012-05-21 14:51:07 -04:00
|
|
|
<docblock line="54">
|
|
|
|
<description><![CDATA[Convenience function to load config files]]></description>
|
2012-04-26 16:26:50 -04:00
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-05-21 14:51:07 -04:00
|
|
|
<tag line="54" name="param" description="" type="string" variable="$name">
|
2012-04-26 16:26:50 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
2012-05-21 14:51:07 -04:00
|
|
|
<argument line="59">
|
|
|
|
<name>$name</name>
|
2012-04-26 16:26:50 -04:00
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
</method>
|
|
|
|
</class>
|
|
|
|
</file>
|
2012-05-21 14:51:07 -04:00
|
|
|
<file path="sys/core/MM.php" hash="6725573f5bc81ec902ceb4156316fa5b" package="miniMVC">
|
2012-05-16 16:47:36 -04:00
|
|
|
<docblock line="2">
|
|
|
|
<description><![CDATA[MiniMVC]]></description>
|
|
|
|
<long-description><![CDATA[<p>Convention-based micro-framework for PHP</p>]]></long-description>
|
|
|
|
<tag line="2" name="package" description="miniMVC"/>
|
|
|
|
<tag line="2" name="author" description="Timothy J. Warren"/>
|
|
|
|
<tag line="2" name="copyright" description="Copyright (c) 2011 - 2012"/>
|
|
|
|
<tag line="2" name="link" description="https://github.com/timw4mail/miniMVC" link="https://github.com/timw4mail/miniMVC"/>
|
|
|
|
<tag line="2" name="license" description="http://philsturgeon.co.uk/code/dbad-license"/>
|
|
|
|
</docblock>
|
|
|
|
<class final="false" abstract="false" namespace="default" line="22" package="miniMVC\System">
|
|
|
|
<name>MM</name>
|
|
|
|
<full_name>\MM</full_name>
|
|
|
|
<extends>\ArrayObject</extends>
|
|
|
|
<docblock line="16">
|
|
|
|
<description><![CDATA[Class for standalone JSObject objects]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
|
|
|
<tag line="16" name="package" description="miniMVC"/>
|
|
|
|
<tag line="16" name="subpackage" description="System"/>
|
|
|
|
</docblock>
|
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="31" package="">
|
|
|
|
<name>__construct</name>
|
|
|
|
<type>function</type>
|
|
|
|
<docblock line="26">
|
|
|
|
<description><![CDATA[Create the ArrayObject/JSObject hybrid object]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
|
|
|
<tag line="26" name="param" description="array" type="" variable="$members"/>
|
|
|
|
</docblock>
|
|
|
|
<argument line="31">
|
|
|
|
<name>$members</name>
|
|
|
|
<default><![CDATA[[]]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
</method>
|
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="52" package="">
|
|
|
|
<name>__call</name>
|
|
|
|
<type>function</type>
|
|
|
|
<docblock line="44">
|
|
|
|
<description><![CDATA[Allow calling of array methods on the object and
|
|
|
|
dynamic methods]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
|
|
|
<tag line="44" name="param" description="" type="string" variable="$name">
|
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
|
|
|
<tag line="44" name="param" description="" type="array" variable="$params">
|
|
|
|
<type by_reference="false">array</type>
|
|
|
|
</tag>
|
|
|
|
<tag line="44" name="return" description="" type="mixed">
|
|
|
|
<type by_reference="false">mixed</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
|
|
|
<argument line="52">
|
|
|
|
<name>$name</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
<argument line="52">
|
|
|
|
<name>$params</name>
|
|
|
|
<default><![CDATA[[]]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
</method>
|
|
|
|
</class>
|
|
|
|
</file>
|
2012-05-21 14:51:07 -04:00
|
|
|
<file path="sys/core/MM_Model.php" hash="39687cc8fc2db1f95da481f88474543b" package="miniMVC">
|
2012-04-27 16:28:25 -04:00
|
|
|
<docblock line="2">
|
|
|
|
<description><![CDATA[MiniMVC]]></description>
|
|
|
|
<long-description><![CDATA[<p>Convention-based micro-framework for PHP</p>]]></long-description>
|
|
|
|
<tag line="2" name="package" description="miniMVC"/>
|
|
|
|
<tag line="2" name="author" description="Timothy J. Warren"/>
|
|
|
|
<tag line="2" name="copyright" description="Copyright (c) 2011 - 2012"/>
|
|
|
|
<tag line="2" name="link" description="https://github.com/timw4mail/miniMVC" link="https://github.com/timw4mail/miniMVC"/>
|
|
|
|
<tag line="2" name="license" description="http://philsturgeon.co.uk/code/dbad-license"/>
|
|
|
|
</docblock>
|
|
|
|
<class final="false" abstract="false" namespace="default" line="22" package="miniMVC\System">
|
2012-05-21 14:51:07 -04:00
|
|
|
<name>MM_Model</name>
|
|
|
|
<full_name>\MM_Model</full_name>
|
2012-04-27 16:28:25 -04:00
|
|
|
<extends>\miniMVC</extends>
|
|
|
|
<docblock line="16">
|
2012-05-21 14:51:07 -04:00
|
|
|
<description><![CDATA[Base Model Class]]></description>
|
2012-04-27 16:28:25 -04:00
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-05-03 13:26:09 -04:00
|
|
|
<tag line="16" name="package" description="miniMVC"/>
|
|
|
|
<tag line="16" name="subpackage" description="System"/>
|
|
|
|
</docblock>
|
2012-05-21 14:51:07 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="30" package="">
|
2012-05-03 13:26:09 -04:00
|
|
|
<name>__construct</name>
|
|
|
|
<type>function</type>
|
2012-05-21 14:51:07 -04:00
|
|
|
<docblock line="24">
|
|
|
|
<description><![CDATA[Initialize the model class]]></description>
|
2012-05-03 13:26:09 -04:00
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-05-21 14:51:07 -04:00
|
|
|
<tag line="24" name="param" description="" type="array" variable="$args">
|
2012-05-03 13:26:09 -04:00
|
|
|
<type by_reference="false">array</type>
|
|
|
|
</tag>
|
2012-05-21 14:51:07 -04:00
|
|
|
<tag line="24" name="return" description="" type="void">
|
2012-05-03 13:26:09 -04:00
|
|
|
<type by_reference="false">void</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
2012-05-21 14:51:07 -04:00
|
|
|
<argument line="30">
|
2012-05-03 13:26:09 -04:00
|
|
|
<name>$args</name>
|
2012-05-14 14:35:57 -04:00
|
|
|
<default><![CDATA[[]]]></default>
|
2012-05-03 13:26:09 -04:00
|
|
|
<type>array</type>
|
|
|
|
</argument>
|
|
|
|
</method>
|
|
|
|
</class>
|
|
|
|
</file>
|
2012-05-21 14:51:07 -04:00
|
|
|
<file path="sys/libraries/data_store.php" hash="8d15c1816330c074a0c1987c58967e7b" package="miniMVC">
|
2012-05-15 10:23:31 -04:00
|
|
|
<docblock line="2">
|
|
|
|
<description><![CDATA[MiniMVC]]></description>
|
|
|
|
<long-description><![CDATA[<p>Convention-based micro-framework for PHP</p>]]></long-description>
|
|
|
|
<tag line="2" name="package" description="miniMVC"/>
|
|
|
|
<tag line="2" name="author" description="Timothy J. Warren"/>
|
|
|
|
<tag line="2" name="copyright" description="Copyright (c) 2011 - 2012"/>
|
|
|
|
<tag line="2" name="link" description="https://github.com/timw4mail/miniMVC" link="https://github.com/timw4mail/miniMVC"/>
|
|
|
|
<tag line="2" name="license" description="http://philsturgeon.co.uk/code/dbad-license"/>
|
|
|
|
</docblock>
|
|
|
|
<class final="false" abstract="false" namespace="default" line="22" package="miniMVC\Libraries">
|
2012-05-21 14:51:07 -04:00
|
|
|
<name>Data_Store</name>
|
|
|
|
<full_name>\Data_Store</full_name>
|
2012-05-15 10:23:31 -04:00
|
|
|
<extends/>
|
|
|
|
<docblock line="16">
|
|
|
|
<description><![CDATA[Class for using JSON as a key->value data store]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
|
|
|
<tag line="16" name="package" description="miniMVC"/>
|
|
|
|
<tag line="16" name="subpackage" description="Libraries"/>
|
|
|
|
</docblock>
|
|
|
|
<property final="false" static="false" visibility="private" line="27" package="Default">
|
|
|
|
<name>$current</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<docblock line="24">
|
|
|
|
<description><![CDATA[Settings object represented by the currently loaded JSON file]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
|
|
|
</docblock>
|
|
|
|
</property>
|
|
|
|
<property final="false" static="true" visibility="private" line="32" package="Default">
|
|
|
|
<name>$instance</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<docblock line="29">
|
|
|
|
<description><![CDATA[Singleton instance]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
|
|
|
</docblock>
|
|
|
|
</property>
|
|
|
|
<method final="false" abstract="false" static="false" visibility="protected" namespace="default" line="37" package="">
|
|
|
|
<name>__construct</name>
|
|
|
|
<type>function</type>
|
|
|
|
<docblock line="34">
|
|
|
|
<description><![CDATA[Create and/or load json file]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
|
|
|
</docblock>
|
|
|
|
</method>
|
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="61" package="">
|
|
|
|
<name>__destruct</name>
|
|
|
|
<type>function</type>
|
|
|
|
<docblock line="58">
|
|
|
|
<description><![CDATA[Output the data on destruct]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
|
|
|
</docblock>
|
|
|
|
</method>
|
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="73" package="">
|
|
|
|
<name>__clone</name>
|
|
|
|
<type>function</type>
|
|
|
|
<docblock line="70">
|
|
|
|
<description><![CDATA[Magic function called when cloning an object]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
|
|
|
</docblock>
|
|
|
|
</method>
|
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="86" package="">
|
|
|
|
<name>__get</name>
|
|
|
|
<type>function</type>
|
|
|
|
<docblock line="80">
|
|
|
|
<description><![CDATA[Magic method to simplify isset checking for config options]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
|
|
|
<tag line="80" name="param" description="" type="string" variable="$key">
|
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
|
|
|
<tag line="80" name="return" description="" type="mixed">
|
|
|
|
<type by_reference="false">mixed</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
|
|
|
<argument line="86">
|
|
|
|
<name>$key</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
</method>
|
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="101" package="">
|
|
|
|
<name>__set</name>
|
|
|
|
<type>function</type>
|
|
|
|
<docblock line="95">
|
|
|
|
<description><![CDATA[Magic method to simplify setting config options]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
|
|
|
<tag line="95" name="param" description="" type="string" variable="$key">
|
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
|
|
|
<tag line="95" name="param" description="mixed" type="" variable="$val"/>
|
|
|
|
</docblock>
|
|
|
|
<argument line="101">
|
|
|
|
<name>$key</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
<argument line="101">
|
|
|
|
<name>$val</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
</method>
|
|
|
|
<method final="false" abstract="false" static="true" visibility="public" namespace="default" line="114" package="">
|
|
|
|
<name>get_instance</name>
|
|
|
|
<type>function</type>
|
|
|
|
<docblock line="108">
|
|
|
|
<description><![CDATA[Static method to retreive current instance
|
|
|
|
of the singleton]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
|
|
|
<tag line="108" name="return" description="" type="\self">
|
|
|
|
<type by_reference="false">\self</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
|
|
|
</method>
|
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="133" package="">
|
|
|
|
<name>del</name>
|
|
|
|
<type>function</type>
|
|
|
|
<docblock line="127">
|
|
|
|
<description><![CDATA[Removes a key from the data store]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
|
|
|
<tag line="127" name="param" description="" type="string" variable="$key">
|
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
|
|
|
<tag line="127" name="return" description="" type="void">
|
|
|
|
<type by_reference="false">void</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
|
|
|
<argument line="133">
|
|
|
|
<name>$key</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
</method>
|
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="145" package="">
|
|
|
|
<name>get_all</name>
|
|
|
|
<type>function</type>
|
|
|
|
<docblock line="140">
|
|
|
|
<description><![CDATA[Return the entire data store object]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
|
|
|
<tag line="140" name="return" description="" type="object">
|
|
|
|
<type by_reference="false">object</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
|
|
|
</method>
|
|
|
|
</class>
|
|
|
|
</file>
|
2012-05-21 14:51:07 -04:00
|
|
|
<file path="sys/libraries/session.php" hash="ea0f273bfb95c57a3d8399477e105ec7" package="miniMVC">
|
2012-05-03 13:26:09 -04:00
|
|
|
<docblock line="2">
|
|
|
|
<description><![CDATA[MiniMVC]]></description>
|
|
|
|
<long-description><![CDATA[<p>Convention-based micro-framework for PHP</p>]]></long-description>
|
|
|
|
<tag line="2" name="package" description="miniMVC"/>
|
|
|
|
<tag line="2" name="author" description="Timothy J. Warren"/>
|
|
|
|
<tag line="2" name="copyright" description="Copyright (c) 2011 - 2012"/>
|
|
|
|
<tag line="2" name="link" description="https://github.com/timw4mail/miniMVC" link="https://github.com/timw4mail/miniMVC"/>
|
|
|
|
<tag line="2" name="license" description="http://philsturgeon.co.uk/code/dbad-license"/>
|
|
|
|
</docblock>
|
2012-05-18 08:04:01 -04:00
|
|
|
<class final="false" abstract="false" namespace="default" line="22" package="miniMVC\Libraries">
|
2012-05-21 14:51:07 -04:00
|
|
|
<name>Session</name>
|
|
|
|
<full_name>\Session</full_name>
|
2012-05-03 13:26:09 -04:00
|
|
|
<extends/>
|
2012-05-18 08:04:01 -04:00
|
|
|
<docblock line="16">
|
2012-05-03 13:26:09 -04:00
|
|
|
<description><![CDATA[Class to improve handling of PHP sessions]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-05-18 08:04:01 -04:00
|
|
|
<tag line="16" name="package" description="miniMVC"/>
|
|
|
|
<tag line="16" name="subpackage" description="Libraries"/>
|
2012-05-03 13:26:09 -04:00
|
|
|
</docblock>
|
2012-05-18 08:04:01 -04:00
|
|
|
<property final="false" static="false" visibility="protected" line="37" package="Default">
|
2012-05-03 16:07:40 -04:00
|
|
|
<name>$sess</name>
|
|
|
|
<default><![CDATA[[]]]></default>
|
2012-05-18 08:04:01 -04:00
|
|
|
<docblock line="32">
|
2012-05-03 16:07:40 -04:00
|
|
|
<description><![CDATA[Reference to session superglobal]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-05-18 08:04:01 -04:00
|
|
|
<tag line="32" name="var" description="" type="array">
|
2012-05-03 16:07:40 -04:00
|
|
|
<type by_reference="false">array</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
|
|
|
</property>
|
2012-05-18 08:04:01 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="protected" namespace="default" line="42" package="">
|
2012-05-03 13:26:09 -04:00
|
|
|
<name>__construct</name>
|
|
|
|
<type>function</type>
|
2012-05-18 08:04:01 -04:00
|
|
|
<docblock line="39">
|
2012-05-03 13:26:09 -04:00
|
|
|
<description><![CDATA[Start a session]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
|
|
|
</docblock>
|
|
|
|
</method>
|
2012-05-18 08:04:01 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="60" package="">
|
2012-05-03 13:26:09 -04:00
|
|
|
<name>__set</name>
|
|
|
|
<type>function</type>
|
2012-05-18 08:04:01 -04:00
|
|
|
<docblock line="53">
|
2012-05-03 13:26:09 -04:00
|
|
|
<description><![CDATA[Set a session value]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-05-18 08:04:01 -04:00
|
|
|
<tag line="53" name="param" description="" type="string" variable="$key">
|
2012-05-03 13:26:09 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
2012-05-18 08:04:01 -04:00
|
|
|
<tag line="53" name="param" description="" type="mixed" variable="$val">
|
2012-05-03 13:26:09 -04:00
|
|
|
<type by_reference="false">mixed</type>
|
|
|
|
</tag>
|
2012-05-18 08:04:01 -04:00
|
|
|
<tag line="53" name="return" description="" type="void">
|
2012-05-03 13:26:09 -04:00
|
|
|
<type by_reference="false">void</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
2012-05-18 08:04:01 -04:00
|
|
|
<argument line="60">
|
2012-05-03 13:26:09 -04:00
|
|
|
<name>$key</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
2012-05-18 08:04:01 -04:00
|
|
|
<argument line="60">
|
2012-05-03 13:26:09 -04:00
|
|
|
<name>$val</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
</method>
|
2012-05-18 08:04:01 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="73" package="">
|
2012-05-03 13:26:09 -04:00
|
|
|
<name>__get</name>
|
|
|
|
<type>function</type>
|
2012-05-18 08:04:01 -04:00
|
|
|
<docblock line="67">
|
2012-05-03 13:26:09 -04:00
|
|
|
<description><![CDATA[Retreive a session value]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-05-18 08:04:01 -04:00
|
|
|
<tag line="67" name="param" description="" type="string" variable="$key">
|
2012-05-03 13:26:09 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
2012-05-18 08:04:01 -04:00
|
|
|
<tag line="67" name="return" description="" type="mixed">
|
2012-05-03 13:26:09 -04:00
|
|
|
<type by_reference="false">mixed</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
2012-05-18 08:04:01 -04:00
|
|
|
<argument line="73">
|
2012-05-03 13:26:09 -04:00
|
|
|
<name>$key</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
</method>
|
2012-05-18 08:04:01 -04:00
|
|
|
<method final="false" abstract="false" static="false" visibility="public" namespace="default" line="85" package="">
|
2012-05-03 13:26:09 -04:00
|
|
|
<name>destroy</name>
|
|
|
|
<type>function</type>
|
2012-05-18 08:04:01 -04:00
|
|
|
<docblock line="80">
|
2012-05-03 13:26:09 -04:00
|
|
|
<description><![CDATA[Destroy a session]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-05-18 08:04:01 -04:00
|
|
|
<tag line="80" name="return" description="" type="void">
|
2012-05-03 13:26:09 -04:00
|
|
|
<type by_reference="false">void</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
|
|
|
</method>
|
|
|
|
</class>
|
|
|
|
</file>
|
2012-05-21 14:58:58 -04:00
|
|
|
<file path="sys/common.php" hash="f99fe521580d225fb4a92e8d7df92294" package="miniMVC">
|
2012-05-03 13:26:09 -04:00
|
|
|
<docblock line="2">
|
|
|
|
<description><![CDATA[MiniMVC]]></description>
|
|
|
|
<long-description><![CDATA[<p>Convention-based micro-framework for PHP</p>]]></long-description>
|
|
|
|
<tag line="2" name="package" description="miniMVC"/>
|
|
|
|
<tag line="2" name="author" description="Timothy J. Warren"/>
|
|
|
|
<tag line="2" name="copyright" description="Copyright (c) 2011 - 2012"/>
|
|
|
|
<tag line="2" name="link" description="https://github.com/timw4mail/miniMVC" link="https://github.com/timw4mail/miniMVC"/>
|
|
|
|
<tag line="2" name="license" description="http://philsturgeon.co.uk/code/dbad-license"/>
|
|
|
|
</docblock>
|
2012-05-21 14:51:07 -04:00
|
|
|
<function namespace="default" line="32" package="miniMVC">
|
|
|
|
<name>sys_autoload</name>
|
2012-05-03 13:26:09 -04:00
|
|
|
<type>function</type>
|
2012-05-18 08:04:01 -04:00
|
|
|
<docblock line="27">
|
2012-05-21 14:51:07 -04:00
|
|
|
<description><![CDATA[Function to autoload system libraries]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
|
|
|
<tag line="27" name="param" description="string" type="" variable="$name"/>
|
|
|
|
</docblock>
|
|
|
|
<argument line="32">
|
|
|
|
<name>$name</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
</function>
|
2012-05-21 14:58:58 -04:00
|
|
|
<function namespace="default" line="54" package="miniMVC">
|
2012-05-21 14:51:07 -04:00
|
|
|
<name>autoload</name>
|
|
|
|
<type>function</type>
|
2012-05-21 14:58:58 -04:00
|
|
|
<docblock line="49">
|
2012-05-21 14:51:07 -04:00
|
|
|
<description><![CDATA[Function to autoload libraries/classes]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-05-21 14:58:58 -04:00
|
|
|
<tag line="49" name="param" description="string" type="" variable="$name"/>
|
2012-05-21 14:51:07 -04:00
|
|
|
</docblock>
|
2012-05-21 14:58:58 -04:00
|
|
|
<argument line="54">
|
2012-05-21 14:51:07 -04:00
|
|
|
<name>$name</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
</function>
|
2012-05-21 14:58:58 -04:00
|
|
|
<function namespace="default" line="93" package="miniMVC">
|
2012-05-21 14:51:07 -04:00
|
|
|
<name>shutdown</name>
|
|
|
|
<type>function</type>
|
2012-05-21 14:58:58 -04:00
|
|
|
<docblock line="86">
|
2012-05-03 13:26:09 -04:00
|
|
|
<description><![CDATA[Function to run on script shutdown
|
|
|
|
-used to catch most fatal errors, and
|
|
|
|
display them cleanly]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-05-21 14:58:58 -04:00
|
|
|
<tag line="86" name="return" description="" type="void">
|
2012-05-03 13:26:09 -04:00
|
|
|
<type by_reference="false">void</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
|
|
|
</function>
|
2012-05-21 14:58:58 -04:00
|
|
|
<function namespace="default" line="126" package="miniMVC">
|
2012-05-03 13:26:09 -04:00
|
|
|
<name>on_error</name>
|
|
|
|
<type>function</type>
|
2012-05-21 14:58:58 -04:00
|
|
|
<docblock line="117">
|
2012-05-03 13:26:09 -04:00
|
|
|
<description><![CDATA[Custom error handler]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-05-21 14:58:58 -04:00
|
|
|
<tag line="117" name="param" description="" type="int" variable="$severity">
|
2012-05-03 13:26:09 -04:00
|
|
|
<type by_reference="false">int</type>
|
|
|
|
</tag>
|
2012-05-21 14:58:58 -04:00
|
|
|
<tag line="117" name="param" description="" type="string" variable="$message">
|
2012-05-03 13:26:09 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
2012-05-21 14:58:58 -04:00
|
|
|
<tag line="117" name="param" description="" type="string" variable="$filepath">
|
2012-05-03 13:26:09 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
2012-05-21 14:58:58 -04:00
|
|
|
<tag line="117" name="param" description="" type="int" variable="$line">
|
2012-05-03 13:26:09 -04:00
|
|
|
<type by_reference="false">int</type>
|
|
|
|
</tag>
|
2012-05-21 14:58:58 -04:00
|
|
|
<tag line="117" name="return" description="" type="\ErrorException">
|
2012-05-03 13:26:09 -04:00
|
|
|
<type by_reference="false">\ErrorException</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
2012-05-21 14:58:58 -04:00
|
|
|
<argument line="126">
|
2012-05-03 13:26:09 -04:00
|
|
|
<name>$severity</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
2012-05-21 14:58:58 -04:00
|
|
|
<argument line="126">
|
2012-05-03 13:26:09 -04:00
|
|
|
<name>$message</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
2012-05-21 14:58:58 -04:00
|
|
|
<argument line="126">
|
2012-05-03 13:26:09 -04:00
|
|
|
<name>$filepath</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
2012-05-21 14:58:58 -04:00
|
|
|
<argument line="126">
|
2012-05-03 13:26:09 -04:00
|
|
|
<name>$line</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
</function>
|
2012-05-21 14:58:58 -04:00
|
|
|
<function namespace="default" line="139" package="miniMVC">
|
2012-05-03 13:26:09 -04:00
|
|
|
<name>on_exception</name>
|
|
|
|
<type>function</type>
|
2012-05-21 14:58:58 -04:00
|
|
|
<docblock line="133">
|
2012-05-03 13:26:09 -04:00
|
|
|
<description><![CDATA[Custom exception handlererror_get_last]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-05-21 14:58:58 -04:00
|
|
|
<tag line="133" name="param" description="" type="\Exception" variable="$exception">
|
2012-05-03 13:26:09 -04:00
|
|
|
<type by_reference="false">\Exception</type>
|
|
|
|
</tag>
|
2012-05-21 14:58:58 -04:00
|
|
|
<tag line="133" name="return" description="" type="void">
|
2012-05-03 13:26:09 -04:00
|
|
|
<type by_reference="false">void</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
2012-05-21 14:58:58 -04:00
|
|
|
<argument line="139">
|
2012-05-03 13:26:09 -04:00
|
|
|
<name>$exception</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
</function>
|
2012-05-21 14:58:58 -04:00
|
|
|
<function namespace="default" line="161" package="miniMVC">
|
2012-05-03 13:26:09 -04:00
|
|
|
<name>show_404</name>
|
|
|
|
<type>function</type>
|
2012-05-21 14:58:58 -04:00
|
|
|
<docblock line="156">
|
2012-05-03 13:26:09 -04:00
|
|
|
<description><![CDATA[General 404 function]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-05-21 14:58:58 -04:00
|
|
|
<tag line="156" name="return" description="" type="void">
|
2012-05-03 13:26:09 -04:00
|
|
|
<type by_reference="false">void</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
|
|
|
</function>
|
2012-05-21 14:58:58 -04:00
|
|
|
<function namespace="default" line="186" package="miniMVC">
|
2012-05-03 13:26:09 -04:00
|
|
|
<name>show_error</name>
|
|
|
|
<type>function</type>
|
2012-05-21 14:58:58 -04:00
|
|
|
<docblock line="180">
|
2012-05-03 13:26:09 -04:00
|
|
|
<description><![CDATA[Fatal Error page function]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-05-21 14:58:58 -04:00
|
|
|
<tag line="180" name="param" description="" type="string" variable="$message">
|
2012-05-03 13:26:09 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
2012-05-21 14:58:58 -04:00
|
|
|
<tag line="180" name="param" description="" type="int" variable="$status_code">
|
2012-05-03 13:26:09 -04:00
|
|
|
<type by_reference="false">int</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
2012-05-21 14:58:58 -04:00
|
|
|
<argument line="186">
|
2012-05-03 13:26:09 -04:00
|
|
|
<name>$message</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
2012-05-21 14:58:58 -04:00
|
|
|
<argument line="186">
|
2012-05-03 13:26:09 -04:00
|
|
|
<name>$status_code</name>
|
|
|
|
<default><![CDATA[null]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
</function>
|
2012-05-21 14:58:58 -04:00
|
|
|
<function namespace="default" line="213" package="miniMVC">
|
2012-05-18 08:04:01 -04:00
|
|
|
<name>is_like_array</name>
|
2012-05-03 13:26:09 -04:00
|
|
|
<type>function</type>
|
2012-05-21 14:58:58 -04:00
|
|
|
<docblock line="207">
|
2012-05-18 08:04:01 -04:00
|
|
|
<description><![CDATA[Utility function to check if a variable is set, and is an array or object]]></description>
|
2012-05-03 13:26:09 -04:00
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-05-21 14:58:58 -04:00
|
|
|
<tag line="207" name="param" description="" type="mixed" variable="$var">
|
2012-05-18 08:04:01 -04:00
|
|
|
<type by_reference="false">mixed</type>
|
2012-05-03 13:26:09 -04:00
|
|
|
</tag>
|
2012-05-21 14:58:58 -04:00
|
|
|
<tag line="207" name="return" description="" type="bool">
|
2012-05-18 08:04:01 -04:00
|
|
|
<type by_reference="false">bool</type>
|
2012-05-03 13:26:09 -04:00
|
|
|
</tag>
|
|
|
|
</docblock>
|
2012-05-21 14:58:58 -04:00
|
|
|
<argument line="213">
|
2012-05-18 08:04:01 -04:00
|
|
|
<name>$var</name>
|
2012-05-03 13:26:09 -04:00
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
</function>
|
2012-05-21 14:58:58 -04:00
|
|
|
<function namespace="default" line="231" package="miniMVC">
|
2012-05-18 08:04:01 -04:00
|
|
|
<name>controller_methods</name>
|
2012-05-03 13:26:09 -04:00
|
|
|
<type>function</type>
|
2012-05-21 14:58:58 -04:00
|
|
|
<docblock line="225">
|
2012-05-18 08:04:01 -04:00
|
|
|
<description><![CDATA[Returns routable methods for the specified controller class]]></description>
|
2012-05-03 13:26:09 -04:00
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-05-21 14:58:58 -04:00
|
|
|
<tag line="225" name="param" description="" type="string" variable="$controller">
|
2012-05-18 08:04:01 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
2012-05-21 14:58:58 -04:00
|
|
|
<tag line="225" name="return" description="" type="array">
|
2012-05-18 08:04:01 -04:00
|
|
|
<type by_reference="false">array</type>
|
2012-05-03 13:26:09 -04:00
|
|
|
</tag>
|
|
|
|
</docblock>
|
2012-05-21 14:58:58 -04:00
|
|
|
<argument line="231">
|
2012-05-18 08:04:01 -04:00
|
|
|
<name>$controller</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
2012-05-03 13:26:09 -04:00
|
|
|
</function>
|
2012-05-21 14:58:58 -04:00
|
|
|
<function namespace="default" line="250" package="miniMVC">
|
2012-05-03 13:26:09 -04:00
|
|
|
<name>site_url</name>
|
|
|
|
<type>function</type>
|
2012-05-21 14:58:58 -04:00
|
|
|
<docblock line="244">
|
2012-05-03 13:26:09 -04:00
|
|
|
<description><![CDATA[Returns a full url from a url segment]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-05-21 14:58:58 -04:00
|
|
|
<tag line="244" name="param" description="" type="string" variable="$segment">
|
2012-05-03 13:26:09 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
2012-05-21 14:58:58 -04:00
|
|
|
<tag line="244" name="return" description="" type="string">
|
2012-05-03 13:26:09 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
2012-05-21 14:58:58 -04:00
|
|
|
<argument line="250">
|
2012-05-03 13:26:09 -04:00
|
|
|
<name>$segment</name>
|
|
|
|
<default><![CDATA[]]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
</function>
|
2012-05-21 14:58:58 -04:00
|
|
|
<function namespace="default" line="264" package="miniMVC">
|
2012-05-03 13:26:09 -04:00
|
|
|
<name>to_string</name>
|
|
|
|
<type>function</type>
|
2012-05-21 14:58:58 -04:00
|
|
|
<docblock line="257">
|
2012-05-03 13:26:09 -04:00
|
|
|
<description><![CDATA[Prints out the contents of the object]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-05-21 14:58:58 -04:00
|
|
|
<tag line="257" name="param" description="" type="\object/array" variable="$data">
|
2012-05-03 13:26:09 -04:00
|
|
|
<type by_reference="false">\object/array</type>
|
|
|
|
</tag>
|
2012-05-21 14:58:58 -04:00
|
|
|
<tag line="257" name="param" description="" type="string" variable="$method">
|
2012-05-03 13:26:09 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
2012-05-21 14:58:58 -04:00
|
|
|
<tag line="257" name="return" description="" type="string">
|
2012-05-03 13:26:09 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
2012-04-27 16:28:25 -04:00
|
|
|
</docblock>
|
2012-05-21 14:58:58 -04:00
|
|
|
<argument line="264">
|
2012-05-03 13:26:09 -04:00
|
|
|
<name>$data</name>
|
2012-04-27 16:28:25 -04:00
|
|
|
<default><![CDATA[]]></default>
|
2012-05-03 13:26:09 -04:00
|
|
|
<type/>
|
|
|
|
</argument>
|
2012-05-21 14:58:58 -04:00
|
|
|
<argument line="264">
|
2012-05-03 13:26:09 -04:00
|
|
|
<name>$method</name>
|
|
|
|
<default><![CDATA['print_r']]></default>
|
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
</function>
|
2012-05-21 14:58:58 -04:00
|
|
|
<function namespace="default" line="300" package="miniMVC">
|
2012-05-03 13:26:09 -04:00
|
|
|
<name>do_include</name>
|
|
|
|
<type>function</type>
|
2012-05-21 14:58:58 -04:00
|
|
|
<docblock line="294">
|
2012-05-03 13:26:09 -04:00
|
|
|
<description><![CDATA[Array_map callback to load a folder of classes at once]]></description>
|
2012-04-26 16:26:50 -04:00
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-05-21 14:58:58 -04:00
|
|
|
<tag line="294" name="param" description="" type="string" variable="$path">
|
2012-05-03 13:26:09 -04:00
|
|
|
<type by_reference="false">string</type>
|
|
|
|
</tag>
|
2012-05-21 14:58:58 -04:00
|
|
|
<tag line="294" name="return" description="" type="void">
|
2012-05-03 13:26:09 -04:00
|
|
|
<type by_reference="false">void</type>
|
|
|
|
</tag>
|
2012-04-26 16:26:50 -04:00
|
|
|
</docblock>
|
2012-05-21 14:58:58 -04:00
|
|
|
<argument line="300">
|
2012-05-03 13:26:09 -04:00
|
|
|
<name>$path</name>
|
2012-04-26 16:26:50 -04:00
|
|
|
<default><![CDATA[]]></default>
|
2012-05-03 13:26:09 -04:00
|
|
|
<type/>
|
|
|
|
</argument>
|
|
|
|
</function>
|
2012-05-21 14:58:58 -04:00
|
|
|
<function namespace="default" line="315" package="miniMVC">
|
2012-05-16 16:47:36 -04:00
|
|
|
<name>init</name>
|
|
|
|
<type>function</type>
|
2012-05-21 14:58:58 -04:00
|
|
|
<docblock line="310">
|
2012-05-16 16:47:36 -04:00
|
|
|
<description><![CDATA[Load required classes for bootstraping]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-05-21 14:58:58 -04:00
|
|
|
<tag line="310" name="return" description="" type="void">
|
2012-05-18 08:04:01 -04:00
|
|
|
<type by_reference="false">void</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
|
|
|
</function>
|
2012-05-21 14:58:58 -04:00
|
|
|
<function namespace="default" line="345" package="miniMVC">
|
2012-05-18 08:04:01 -04:00
|
|
|
<name>route</name>
|
|
|
|
<type>function</type>
|
2012-05-21 14:58:58 -04:00
|
|
|
<docblock line="340">
|
2012-05-18 08:04:01 -04:00
|
|
|
<description><![CDATA[Calls the appropriate module/controller/function based on the url]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
2012-05-21 14:58:58 -04:00
|
|
|
<tag line="340" name="return" description="" type="void">
|
2012-05-16 16:47:36 -04:00
|
|
|
<type by_reference="false">void</type>
|
|
|
|
</tag>
|
|
|
|
</docblock>
|
|
|
|
</function>
|
2012-04-26 16:26:50 -04:00
|
|
|
</file>
|
2012-05-18 08:04:01 -04:00
|
|
|
<file path="index.php" hash="c9ccc99b190c39d963cff565d272a99c" package="miniMVC">
|
2012-04-26 16:26:50 -04:00
|
|
|
<docblock line="2">
|
|
|
|
<description><![CDATA[MiniMVC]]></description>
|
|
|
|
<long-description><![CDATA[<p>Convention-based micro-framework for PHP</p>]]></long-description>
|
|
|
|
<tag line="2" name="package" description="miniMVC"/>
|
|
|
|
<tag line="2" name="author" description="Timothy J. Warren"/>
|
|
|
|
<tag line="2" name="copyright" description="Copyright (c) 2011 - 2012"/>
|
|
|
|
<tag line="2" name="link" description="https://github.com/timw4mail/miniMVC" link="https://github.com/timw4mail/miniMVC"/>
|
|
|
|
<tag line="2" name="license" description="http://philsturgeon.co.uk/code/dbad-license"/>
|
|
|
|
</docblock>
|
2012-05-18 08:04:01 -04:00
|
|
|
<include line="46" type="Require" package="Default">
|
2012-04-26 16:26:50 -04:00
|
|
|
<name>config/config.php</name>
|
|
|
|
</include>
|
2012-05-18 08:04:01 -04:00
|
|
|
<include line="49" type="Require" package="Default">
|
2012-04-26 16:26:50 -04:00
|
|
|
<name>common.php</name>
|
|
|
|
</include>
|
|
|
|
<constant namespace="default" line="28" package="miniMVC\App">
|
|
|
|
<name>ENVIRONMENT</name>
|
|
|
|
<value><![CDATA['DEVELOPMENT']]></value>
|
|
|
|
<docblock line="16">
|
|
|
|
<description><![CDATA[miniMVC bootstrap file]]></description>
|
|
|
|
<long-description><![CDATA[]]></long-description>
|
|
|
|
<tag line="16" name="package" description="miniMVC"/>
|
|
|
|
<tag line="16" name="subpackage" description="App"/>
|
|
|
|
</docblock>
|
|
|
|
</constant>
|
|
|
|
<constant namespace="default" line="40" package="Default">
|
|
|
|
<name>MM_BASE_PATH</name>
|
|
|
|
<value><![CDATA[__DIR__]]></value>
|
|
|
|
</constant>
|
|
|
|
<constant namespace="default" line="41" package="Default">
|
|
|
|
<name>MM_SYS_PATH</name>
|
|
|
|
<value><![CDATA[__DIR__.'/sys/']]></value>
|
|
|
|
</constant>
|
|
|
|
<constant namespace="default" line="42" package="Default">
|
|
|
|
<name>MM_APP_PATH</name>
|
|
|
|
<value><![CDATA[__DIR__.'/app/']]></value>
|
|
|
|
</constant>
|
2012-05-03 16:07:40 -04:00
|
|
|
<constant namespace="default" line="43" package="Default">
|
|
|
|
<name>MM_MOD_PATH</name>
|
|
|
|
<value><![CDATA[MM_APP_PATH.'modules/']]></value>
|
|
|
|
</constant>
|
2012-04-26 16:26:50 -04:00
|
|
|
</file>
|
|
|
|
<package name="" full_name=""/>
|
|
|
|
<package name="Default" full_name="Default"/>
|
|
|
|
<package name="miniMVC" full_name="miniMVC">
|
|
|
|
<package name="App" full_name="miniMVC\App"/>
|
2012-05-03 13:26:09 -04:00
|
|
|
<package name="Libraries" full_name="miniMVC\Libraries"/>
|
2012-04-26 16:26:50 -04:00
|
|
|
<package name="System" full_name="miniMVC\System"/>
|
|
|
|
</package>
|
|
|
|
<namespace name="default" full_name="default"/>
|
2012-05-15 12:40:32 -04:00
|
|
|
<marker count="0">todo</marker>
|
2012-04-26 16:26:50 -04:00
|
|
|
<marker count="0">fixme</marker>
|
|
|
|
<deprecated count="0"/>
|
|
|
|
</project>
|