Files
opensourcepos/docs/source-class-No_Access.html
FrancescoUK f9fb9e44b3 Added apigen to generate OSPOS code documentation (see docs)
Added grunt-composer and grunt-apigen and scripted all the steps in Grunt
2017-04-29 23:43:15 +01:00

239 lines
13 KiB
HTML

<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="robots" content="noindex">
<title>File controllers/No_access.php</title>
<link rel="stylesheet" href="resources/style.css?c2f33731c1948fbed7c333554678bfa68d4817da">
</head>
<body>
<div id="left">
<div id="menu">
<a href="index.html" title="Overview"><span>Overview</span></a>
<div id="groups">
<h3>Namespaces</h3>
<ul>
<li>
<a href="namespace-emberlabs.html">
emberlabs<span></span>
</a>
<ul>
<li>
<a href="namespace-emberlabs.Barcode.html">
Barcode </a>
</li>
</ul></li>
<li>
<a href="namespace-None.html">
None </a>
</li>
</ul>
</div>
<hr>
<div id="elements">
<h3>Classes</h3>
<ul>
<li><a href="class-Appconfig.html">Appconfig</a></li>
<li><a href="class-Barcode_lib.html">Barcode_lib</a></li>
<li><a href="class-Config.html">Config</a></li>
<li><a href="class-Customer.html">Customer</a></li>
<li><a href="class-Customer_rewards.html">Customer_rewards</a></li>
<li><a href="class-Customers.html">Customers</a></li>
<li><a href="class-Detailed_receivings.html">Detailed_receivings</a></li>
<li><a href="class-Detailed_sales.html">Detailed_sales</a></li>
<li><a href="class-Dinner_table.html">Dinner_table</a></li>
<li><a href="class-Email_lib.html">Email_lib</a></li>
<li><a href="class-emberlabs.Barcode.BarcodeBase.html">emberlabs\Barcode\BarcodeBase</a></li>
<li><a href="class-emberlabs.Barcode.Code128.html">emberlabs\Barcode\Code128</a></li>
<li><a href="class-emberlabs.Barcode.Code39.html">emberlabs\Barcode\Code39</a></li>
<li><a href="class-emberlabs.Barcode.Ean13.html">emberlabs\Barcode\Ean13</a></li>
<li><a href="class-emberlabs.Barcode.Ean8.html">emberlabs\Barcode\Ean8</a></li>
<li><a href="class-Employee.html">Employee</a></li>
<li><a href="class-Employees.html">Employees</a></li>
<li><a href="class-Giftcard.html">Giftcard</a></li>
<li><a href="class-Giftcards.html">Giftcards</a></li>
<li><a href="class-Home.html">Home</a></li>
<li><a href="class-Inventory.html">Inventory</a></li>
<li><a href="class-Inventory_low.html">Inventory_low</a></li>
<li><a href="class-Inventory_summary.html">Inventory_summary</a></li>
<li><a href="class-Item.html">Item</a></li>
<li><a href="class-Item_kit.html">Item_kit</a></li>
<li><a href="class-Item_kit_items.html">Item_kit_items</a></li>
<li><a href="class-Item_kits.html">Item_kits</a></li>
<li><a href="class-Item_lib.html">Item_lib</a></li>
<li><a href="class-Item_quantity.html">Item_quantity</a></li>
<li><a href="class-Item_taxes.html">Item_taxes</a></li>
<li><a href="class-Items.html">Items</a></li>
<li><a href="class-Login.html">Login</a></li>
<li><a href="class-Mailchimp_lib.html">Mailchimp_lib</a></li>
<li><a href="class-MailchimpConnector.html">MailchimpConnector</a></li>
<li><a href="class-Messages.html">Messages</a></li>
<li><a href="class-Module.html">Module</a></li>
<li><a href="class-MY_Lang.html">MY_Lang</a></li>
<li><a href="class-No_Access.html">No_Access</a></li>
<li><a href="class-Person.html">Person</a></li>
<li><a href="class-Persons.html">Persons</a></li>
<li><a href="class-Receiving.html">Receiving</a></li>
<li><a href="class-Receiving_lib.html">Receiving_lib</a></li>
<li><a href="class-Receivings.html">Receivings</a></li>
<li><a href="class-Report.html">Report</a></li>
<li><a href="class-Reports.html">Reports</a></li>
<li><a href="class-Rewards.html">Rewards</a></li>
<li><a href="class-Rounding_code.html">Rounding_code</a></li>
<li><a href="class-Sale.html">Sale</a></li>
<li><a href="class-Sale_lib.html">Sale_lib</a></li>
<li><a href="class-Sale_suspended.html">Sale_suspended</a></li>
<li><a href="class-Sales.html">Sales</a></li>
<li><a href="class-Secure_Controller.html">Secure_Controller</a></li>
<li><a href="class-Sms_lib.html">Sms_lib</a></li>
<li><a href="class-Specific_customer.html">Specific_customer</a></li>
<li><a href="class-Specific_discount.html">Specific_discount</a></li>
<li><a href="class-Specific_employee.html">Specific_employee</a></li>
<li><a href="class-Stock_location.html">Stock_location</a></li>
<li><a href="class-Summary_categories.html">Summary_categories</a></li>
<li><a href="class-Summary_customers.html">Summary_customers</a></li>
<li><a href="class-Summary_discounts.html">Summary_discounts</a></li>
<li><a href="class-Summary_employees.html">Summary_employees</a></li>
<li><a href="class-Summary_items.html">Summary_items</a></li>
<li><a href="class-Summary_payments.html">Summary_payments</a></li>
<li><a href="class-Summary_report.html">Summary_report</a></li>
<li><a href="class-Summary_sales.html">Summary_sales</a></li>
<li><a href="class-Summary_suppliers.html">Summary_suppliers</a></li>
<li><a href="class-Summary_taxes.html">Summary_taxes</a></li>
<li><a href="class-Supplier.html">Supplier</a></li>
<li><a href="class-Suppliers.html">Suppliers</a></li>
<li><a href="class-Tax.html">Tax</a></li>
<li><a href="class-Tax_lib.html">Tax_lib</a></li>
<li><a href="class-Taxes.html">Taxes</a></li>
<li><a href="class-Token.html">Token</a></li>
<li><a href="class-Token_customer.html">Token_customer</a></li>
<li><a href="class-Token_invoice_count.html">Token_invoice_count</a></li>
<li><a href="class-Token_invoice_sequence.html">Token_invoice_sequence</a></li>
<li><a href="class-Token_lib.html">Token_lib</a></li>
<li><a href="class-Token_quote_sequence.html">Token_quote_sequence</a></li>
<li><a href="class-Token_suspended_invoice_count.html">Token_suspended_invoice_count</a></li>
<li><a href="class-Token_year_invoice_count.html">Token_year_invoice_count</a></li>
<li><a href="class-Tracking_lib.html">Tracking_lib</a></li>
</ul>
<h3>Functions</h3>
<ul>
<li><a href="function-currency_side.html">currency_side</a></li>
<li><a href="function-current_language.html">current_language</a></li>
<li><a href="function-current_language_code.html">current_language_code</a></li>
<li><a href="function-dateformat_bootstrap.html">dateformat_bootstrap</a></li>
<li><a href="function-dateformat_momentjs.html">dateformat_momentjs</a></li>
<li><a href="function-db_log_queries.html">db_log_queries</a></li>
<li><a href="function-get_customer_data_row.html">get_customer_data_row</a></li>
<li><a href="function-get_customer_manage_table_headers.html">get_customer_manage_table_headers</a></li>
<li><a href="function-get_giftcard_data_row.html">get_giftcard_data_row</a></li>
<li><a href="function-get_giftcards_manage_table_headers.html">get_giftcards_manage_table_headers</a></li>
<li><a href="function-get_item_data_row.html">get_item_data_row</a></li>
<li><a href="function-get_item_kit_data_row.html">get_item_kit_data_row</a></li>
<li><a href="function-get_item_kits_manage_table_headers.html">get_item_kits_manage_table_headers</a></li>
<li><a href="function-get_items_manage_table_headers.html">get_items_manage_table_headers</a></li>
<li><a href="function-get_people_manage_table_headers.html">get_people_manage_table_headers</a></li>
<li><a href="function-get_person_data_row.html">get_person_data_row</a></li>
<li><a href="function-get_sale_data_last_row.html">get_sale_data_last_row</a></li>
<li><a href="function-get_sale_data_row.html">get_sale_data_row</a></li>
<li><a href="function-get_sales_manage_payments_summary.html">get_sales_manage_payments_summary</a></li>
<li><a href="function-get_sales_manage_table_headers.html">get_sales_manage_table_headers</a></li>
<li><a href="function-get_supplier_data_row.html">get_supplier_data_row</a></li>
<li><a href="function-get_suppliers_manage_table_headers.html">get_suppliers_manage_table_headers</a></li>
<li><a href="function-get_tax_data_row.html">get_tax_data_row</a></li>
<li><a href="function-get_taxes_manage_table_headers.html">get_taxes_manage_table_headers</a></li>
<li><a href="function-load_config.html">load_config</a></li>
<li><a href="function-load_language_files.html">load_language_files</a></li>
<li><a href="function-load_stats.html">load_stats</a></li>
<li><a href="function-parse_decimals.html">parse_decimals</a></li>
<li><a href="function-pdf_create.html">pdf_create</a></li>
<li><a href="function-quantity_decimals.html">quantity_decimals</a></li>
<li><a href="function-show_report.html">show_report</a></li>
<li><a href="function-show_report_if_allowed.html">show_report_if_allowed</a></li>
<li><a href="function-to_currency.html">to_currency</a></li>
<li><a href="function-to_currency_no_money.html">to_currency_no_money</a></li>
<li><a href="function-to_decimals.html">to_decimals</a></li>
<li><a href="function-to_quantity_decimals.html">to_quantity_decimals</a></li>
<li><a href="function-to_tax_decimals.html">to_tax_decimals</a></li>
<li><a href="function-totals_decimals.html">totals_decimals</a></li>
<li><a href="function-transform_headers.html">transform_headers</a></li>
<li><a href="function-transform_headers_readonly.html">transform_headers_readonly</a></li>
</ul>
</div>
</div>
</div>
<div id="splitter"></div>
<div id="right">
<div id="rightInner">
<form id="search">
<input type="hidden" name="cx" value="">
<input type="hidden" name="ie" value="UTF-8">
<input type="text" name="q" class="text" placeholder="Search">
</form>
<div id="navigation">
<ul>
<li>
<a href="index.html" title="Overview"><span>Overview</span></a>
</li>
<li>
<span>Namespace</span> </li>
<li>
<span>Class</span> </li>
</ul>
<ul>
</ul>
<ul>
</ul>
</div>
<pre class="numbers"><code><span class="l"><a href="#1"> 1: </a></span><span class="l"><a href="#2"> 2: </a></span><span class="l"><a href="#3"> 3: </a></span><span class="l"><a href="#4"> 4: </a></span><span class="l"><a href="#5"> 5: </a></span><span class="l"><a href="#6"> 6: </a></span><span class="l"><a href="#7"> 7: </a></span><span class="l"><a href="#8"> 8: </a></span><span class="l"><a href="#9"> 9: </a></span><span class="l"><a href="#10">10: </a></span><span class="l"><a href="#11">11: </a></span><span class="l"><a href="#12">12: </a></span><span class="l"><a href="#13">13: </a></span><span class="l"><a href="#14">14: </a></span><span class="l"><a href="#15">15: </a></span><span class="l"><a href="#16">16: </a></span><span class="l"><a href="#17">17: </a></span><span class="l"><a href="#18">18: </a></span><span class="l"><a href="#19">19: </a></span><span class="l"><a href="#20">20: </a></span></code></pre>
<pre class="code"><code><span id="1" class="l"><span class="xlang">&lt;?php</span> <span class="php-keyword1">if</span> ( ! <span class="php-keyword2">defined</span>(<span class="php-quote">'BASEPATH'</span>)) <span class="php-keyword1">exit</span>(<span class="php-quote">'No direct script access allowed'</span>);
</span><span id="2" class="l">
</span><span id="3" class="l"><span class="php-keyword1">class</span> No_Access <span class="php-keyword1">extends</span> CI_Controller
</span><span id="4" class="l">{
</span><span id="5" class="l"> <span class="php-keyword1">public</span> <span class="php-keyword1">function</span> __construct()
</span><span id="6" class="l"> {
</span><span id="7" class="l"> parent::__construct();
</span><span id="8" class="l"> }
</span><span id="9" class="l">
</span><span id="10" class="l"> <span class="php-keyword1">public</span> <span class="php-keyword1">function</span> index(<span class="php-var">$module_id</span> = <span class="php-quote">''</span>, <span class="php-var">$permission_id</span> = <span class="php-quote">''</span>)
</span><span id="11" class="l"> {
</span><span id="12" class="l"> <span class="php-var">$data</span>[<span class="php-quote">'module_name'</span>] = <span class="php-var">$this</span>-&gt;Module-&gt;get_module_name(<span class="php-var">$module_id</span>);
</span><span id="13" class="l"> <span class="php-var">$data</span>[<span class="php-quote">'permission_id'</span>] = <span class="php-var">$permission_id</span>;
</span><span id="14" class="l">
</span><span id="15" class="l"> <span class="php-var">$data</span> = <span class="php-var">$this</span>-&gt;security-&gt;xss_clean(<span class="php-var">$data</span>);
</span><span id="16" class="l">
</span><span id="17" class="l"> <span class="php-var">$this</span>-&gt;load-&gt;view(<span class="php-quote">'no_access'</span>, <span class="php-var">$data</span>);
</span><span id="18" class="l"> }
</span><span id="19" class="l">}
</span><span id="20" class="l"><span class="xlang">?&gt;</span></span></code></pre>
<div id="footer">
API documentation generated by <a href="http://apigen.org">ApiGen</a>
</div>
</div>
</div>
<script src="resources/combined.js?ab7ddfe54adb05998edf888264c90e8da7a06c89"></script>
<script src="elementlist.js?4cea969367a60459e538acabf8db5ac232c35138"></script>
</body>
</html>