repo stringlengths 7 63 | file_url stringlengths 81 284 | file_path stringlengths 5 200 | content stringlengths 0 32.8k | language stringclasses 1
value | license stringclasses 7
values | commit_sha stringlengths 40 40 | retrieved_at stringdate 2026-01-04 15:02:33 2026-01-05 05:24:06 | truncated bool 2
classes |
|---|---|---|---|---|---|---|---|---|
bigprof-software/online-rental-property-manager | https://github.com/bigprof-software/online-rental-property-manager/blob/fbb479026f21935654d1d4b95357bf445dd8085e/app/admin/pageSQL.php | app/admin/pageSQL.php | <?php
require(__DIR__ . '/incCommon.php');
require(__DIR__ . '/incHeader.php');
// insertable items in SQL query
$items = array_merge(
array_keys(getTableList()),
array_map(function($mf) {
return preg_replace('/^update_/i', '', $mf);
}, membership_table_functions())
);
$insertListItems = implode('', ar... | php | MIT | fbb479026f21935654d1d4b95357bf445dd8085e | 2026-01-05T03:49:09.282292Z | false |
bigprof-software/online-rental-property-manager | https://github.com/bigprof-software/online-rental-property-manager/blob/fbb479026f21935654d1d4b95357bf445dd8085e/app/admin/pageDeleteGroup.php | app/admin/pageDeleteGroup.php | <?php
require(__DIR__ . '/incCommon.php');
// validate input
$groupID = intval(Request::val('groupID'));
if(!csrf_token(true)) die($Translation['csrf token expired or invalid']);
// make sure group has no members
if(sqlValue("select count(1) from membership_users where groupID='{$groupID}'")) {
errorMsg($Tra... | php | MIT | fbb479026f21935654d1d4b95357bf445dd8085e | 2026-01-05T03:49:09.282292Z | false |
bigprof-software/online-rental-property-manager | https://github.com/bigprof-software/online-rental-property-manager/blob/fbb479026f21935654d1d4b95357bf445dd8085e/app/admin/pageQueryLogs.php | app/admin/pageQueryLogs.php | <?php
require(__DIR__ . '/incCommon.php');
// Retrieve request (type, page)
$queryTypes = [
'slow' => 'COALESCE(`duration`, 0) > 0',
'error' => "CHAR_LENGTH(COALESCE(`error`, '')) > 0",
];
$type = Request::oneOf('type', array_keys($queryTypes), 'slow');
$clear = Request::oneOf('clear', array_keys($que... | php | MIT | fbb479026f21935654d1d4b95357bf445dd8085e | 2026-01-05T03:49:09.282292Z | false |
bigprof-software/online-rental-property-manager | https://github.com/bigprof-software/online-rental-property-manager/blob/fbb479026f21935654d1d4b95357bf445dd8085e/app/admin/pageChangeMemberStatus.php | app/admin/pageChangeMemberStatus.php | <?php
require(__DIR__ . '/incCommon.php');
if(!csrf_token(true)) die($Translation['csrf token expired or invalid']);
// validate input
$memberID = makeSafe(strtolower(Request::val('memberID')));
$unban = (Request::val('unban') == 1 ? 1 : 0);
$approve = (Request::val('approve') == 1 ? 1 : 0);
$ban = (Request::v... | php | MIT | fbb479026f21935654d1d4b95357bf445dd8085e | 2026-01-05T03:49:09.282292Z | false |
bigprof-software/online-rental-property-manager | https://github.com/bigprof-software/online-rental-property-manager/blob/fbb479026f21935654d1d4b95357bf445dd8085e/app/admin/pageDeleteMember.php | app/admin/pageDeleteMember.php | <?php
require(__DIR__ . '/incCommon.php');
// validate input
$memberID = makeSafe(strtolower(Request::val('memberID')));
if(!csrf_token(true)) die($Translation['csrf token expired or invalid']);
$eo = ['silentErrors' => true];
sql("DELETE FROM `membership_users` WHERE LCASE(`memberID`)='$memberID'", $eo);
sql... | php | MIT | fbb479026f21935654d1d4b95357bf445dd8085e | 2026-01-05T03:49:09.282292Z | false |
bigprof-software/online-rental-property-manager | https://github.com/bigprof-software/online-rental-property-manager/blob/fbb479026f21935654d1d4b95357bf445dd8085e/app/admin/incHeader.php | app/admin/incHeader.php | <?php
if(function_exists('set_headers')) { set_headers(); }
if(!defined('PREPEND_PATH')) define('PREPEND_PATH', '../');
$adminConfig = config('adminConfig');
$theme = getUserTheme();
$bootstrap3d = '';
if($theme == 'bootstrap' && BOOTSTRAP_3D_EFFECTS) {
$bootstrap3d = '<link rel="stylesheet" href="' . PREPEND_... | php | MIT | fbb479026f21935654d1d4b95357bf445dd8085e | 2026-01-05T03:49:09.282292Z | false |
bigprof-software/online-rental-property-manager | https://github.com/bigprof-software/online-rental-property-manager/blob/fbb479026f21935654d1d4b95357bf445dd8085e/app/admin/pageUploadCSV.php | app/admin/pageUploadCSV.php | <?php
require(__DIR__ . '/incCommon.php');
$GLOBALS['DEBUG_MODE'] = false;
$csv = new CSV($_REQUEST);
class CSV{
private $curr_dir,
$curr_page,
$lang, /* translation text */
$request, /* assoc array that stores $_REQUEST */
$error_back_link,
$max_batch_size, /* max # of non-empty lines to in... | php | MIT | fbb479026f21935654d1d4b95357bf445dd8085e | 2026-01-05T03:49:09.282292Z | true |
bigprof-software/online-rental-property-manager | https://github.com/bigprof-software/online-rental-property-manager/blob/fbb479026f21935654d1d4b95357bf445dd8085e/app/admin/pageFixRecordOwners.php | app/admin/pageFixRecordOwners.php | <?php
require(__DIR__ . '/incCommon.php');
define('TIME_LIMIT', 1.0); // seconds
define('BATCH_READ_SIZE', 500); // number of records to read in each batch
// GET request: show app page
if($_SERVER['REQUEST_METHOD'] == 'GET') showAppPage();
// POST request containing `tn`: continue (or begin) batch process of f... | php | MIT | fbb479026f21935654d1d4b95357bf445dd8085e | 2026-01-05T03:49:09.282292Z | false |
bigprof-software/online-rental-property-manager | https://github.com/bigprof-software/online-rental-property-manager/blob/fbb479026f21935654d1d4b95357bf445dd8085e/app/admin/pageViewGroups.php | app/admin/pageViewGroups.php | <?php
require(__DIR__ . '/incCommon.php');
$GLOBALS['page_title'] = $Translation['groups'];
include(__DIR__ . '/incHeader.php');
if(Request::val('searchGroups')) {
$searchSQL = makeSafe(Request::val('searchGroups'));
$searchHTML = html_attr(Request::val('searchGroups'));
$where = "where name like '%{$searchS... | php | MIT | fbb479026f21935654d1d4b95357bf445dd8085e | 2026-01-05T03:49:09.282292Z | false |
bigprof-software/online-rental-property-manager | https://github.com/bigprof-software/online-rental-property-manager/blob/fbb479026f21935654d1d4b95357bf445dd8085e/app/admin/pageRebuildThumbnails.php | app/admin/pageRebuildThumbnails.php | <?php
require(__DIR__ . '/incCommon.php');
$GLOBALS['page_title'] = $Translation['rebuild thumbnails'];
include(__DIR__ . '/incHeader.php');
// image paths
$p = [
'properties' => [
'photo' => '../' . getUploadDir(''),
],
'property_photos' => [
'photo' => '../' . getUploadDir(''),
],
'units' => [
... | php | MIT | fbb479026f21935654d1d4b95357bf445dd8085e | 2026-01-05T03:49:09.282292Z | false |
bigprof-software/online-rental-property-manager | https://github.com/bigprof-software/online-rental-property-manager/blob/fbb479026f21935654d1d4b95357bf445dd8085e/app/admin/pageTransferOwnership.php | app/admin/pageTransferOwnership.php | <?php
require(__DIR__ . '/incCommon.php');
$GLOBALS['page_title'] = $Translation['ownership batch transfer'];
include(__DIR__ . '/incHeader.php');
/* we need the following variables:
$sourceGroupID
$sourceMemberID (-1 means "all")
$destinationGroupID
$destinationMemberID
if $sourceGroupID!=$destinationG... | php | MIT | fbb479026f21935654d1d4b95357bf445dd8085e | 2026-01-05T03:49:09.282292Z | false |
bigprof-software/online-rental-property-manager | https://github.com/bigprof-software/online-rental-property-manager/blob/fbb479026f21935654d1d4b95357bf445dd8085e/app/admin/pageEditOwnership.php | app/admin/pageEditOwnership.php | <?php
require(__DIR__ . '/incCommon.php');
$recID = $tableName = $pkValue = null;
// request to save changes?
if(Request::val('saveChanges')) {
// csrf check
if(!csrf_token(true)) die($Translation['invalid security token']);
// validate data
$recID = intval(Request::val('recID'));
$memberID = makeSafe(... | php | MIT | fbb479026f21935654d1d4b95357bf445dd8085e | 2026-01-05T03:49:09.282292Z | false |
bigprof-software/online-rental-property-manager | https://github.com/bigprof-software/online-rental-property-manager/blob/fbb479026f21935654d1d4b95357bf445dd8085e/app/admin/incFooter.php | app/admin/incFooter.php |
</div><!-- /div class="container" -->
</body>
</html>
<?php exit; ?> | php | MIT | fbb479026f21935654d1d4b95357bf445dd8085e | 2026-01-05T03:49:09.282292Z | false |
bigprof-software/online-rental-property-manager | https://github.com/bigprof-software/online-rental-property-manager/blob/fbb479026f21935654d1d4b95357bf445dd8085e/app/admin/pageEditGroup.php | app/admin/pageEditGroup.php | <?php
require(__DIR__ . '/incCommon.php');
// get groupID of anonymous group
$groupID = $name = $description = $allowCSVImport = $visitorSignup = null;
$anon_safe = makeSafe($adminConfig['anonymousGroup'], false);
$anonGroupID = sqlValue("SELECT `groupID` FROM `membership_groups` WHERE `name`='{$anon_safe}'");
// get... | php | MIT | fbb479026f21935654d1d4b95357bf445dd8085e | 2026-01-05T03:49:09.282292Z | false |
bigprof-software/online-rental-property-manager | https://github.com/bigprof-software/online-rental-property-manager/blob/fbb479026f21935654d1d4b95357bf445dd8085e/app/admin/pageSettings.php | app/admin/pageSettings.php | <?php
require(__DIR__ . '/incCommon.php');
// only super admin can access this page!
if(!Authentication::getSuperAdmin()) redirect('admin');
$GLOBALS['page_title'] = $Translation['admin settings'];
include(__DIR__ . '/incHeader.php');
if(Request::has('saveChanges')) {
// csrf check
if(!csrf_token(true)) {
... | php | MIT | fbb479026f21935654d1d4b95357bf445dd8085e | 2026-01-05T03:49:09.282292Z | false |
bigprof-software/online-rental-property-manager | https://github.com/bigprof-software/online-rental-property-manager/blob/fbb479026f21935654d1d4b95357bf445dd8085e/app/templates/children-rental_owners.php | app/templates/children-rental_owners.php | <?php
if(!isset($Translation)) die('No direct access allowed.');
$current_table = 'rental_owners';
$cleaner = new CI_Input(datalist_db_encoding);
$firstRecord = null;
?>
<script>
// show child records count in badge in tab title
$j(() => { $j('.child-count-<?php echo $parameters['ChildTable']; ?>-<?php echo $para... | php | MIT | fbb479026f21935654d1d4b95357bf445dd8085e | 2026-01-05T03:49:09.282292Z | false |
bigprof-software/online-rental-property-manager | https://github.com/bigprof-software/online-rental-property-manager/blob/fbb479026f21935654d1d4b95357bf445dd8085e/app/templates/children-applications_leases.php | app/templates/children-applications_leases.php | <?php
if(!isset($Translation)) die('No direct access allowed.');
$current_table = 'applications_leases';
$cleaner = new CI_Input(datalist_db_encoding);
$firstRecord = null;
?>
<script>
// show child records count in badge in tab title
$j(() => { $j('.child-count-<?php echo $parameters['ChildTable']; ?>-<?php echo... | php | MIT | fbb479026f21935654d1d4b95357bf445dd8085e | 2026-01-05T03:49:09.282292Z | false |
bigprof-software/online-rental-property-manager | https://github.com/bigprof-software/online-rental-property-manager/blob/fbb479026f21935654d1d4b95357bf445dd8085e/app/templates/children-employment_and_income_history-printable.php | app/templates/children-employment_and_income_history-printable.php | <?php
if(!isset($Translation)) die('No direct access allowed.');
$current_table = 'employment_and_income_history';
$cleaner = new CI_Input(datalist_db_encoding);
$firstRecord = null;
?>
<script>
// show child records count in badge in tab title
$j(() => { $j('.child-count-<?php echo $parameters['ChildTable']; ?>-... | php | MIT | fbb479026f21935654d1d4b95357bf445dd8085e | 2026-01-05T03:49:09.282292Z | false |
bigprof-software/online-rental-property-manager | https://github.com/bigprof-software/online-rental-property-manager/blob/fbb479026f21935654d1d4b95357bf445dd8085e/app/templates/children-property_photos-printable.php | app/templates/children-property_photos-printable.php | <?php
if(!isset($Translation)) die('No direct access allowed.');
$current_table = 'property_photos';
$cleaner = new CI_Input(datalist_db_encoding);
$firstRecord = null;
?>
<script>
// show child records count in badge in tab title
$j(() => { $j('.child-count-<?php echo $parameters['ChildTable']; ?>-<?php echo $pa... | php | MIT | fbb479026f21935654d1d4b95357bf445dd8085e | 2026-01-05T03:49:09.282292Z | false |
bigprof-software/online-rental-property-manager | https://github.com/bigprof-software/online-rental-property-manager/blob/fbb479026f21935654d1d4b95357bf445dd8085e/app/templates/unit_photos-ajax-cache.php | app/templates/unit_photos-ajax-cache.php | <?php
$rdata = array_map('to_utf8', array_map('safe_html', array_map('html_attr_tags_ok', $rdata)));
$jdata = array_map('to_utf8', array_map('safe_html', array_map('html_attr_tags_ok', $jdata)));
?>
<script>
$j(function() {
var tn = 'unit_photos';
/* data for selected record, or defaults if none is selected */
... | php | MIT | fbb479026f21935654d1d4b95357bf445dd8085e | 2026-01-05T03:49:09.282292Z | false |
bigprof-software/online-rental-property-manager | https://github.com/bigprof-software/online-rental-property-manager/blob/fbb479026f21935654d1d4b95357bf445dd8085e/app/templates/applicants_and_tenants-ajax-cache.php | app/templates/applicants_and_tenants-ajax-cache.php | <?php
$rdata = array_map('to_utf8', array_map('safe_html', array_map('html_attr_tags_ok', $rdata)));
$jdata = array_map('to_utf8', array_map('safe_html', array_map('html_attr_tags_ok', $jdata)));
?>
<script>
$j(function() {
var tn = 'applicants_and_tenants';
/* data for selected record, or defaults if none is s... | php | MIT | fbb479026f21935654d1d4b95357bf445dd8085e | 2026-01-05T03:49:09.282292Z | false |
bigprof-software/online-rental-property-manager | https://github.com/bigprof-software/online-rental-property-manager/blob/fbb479026f21935654d1d4b95357bf445dd8085e/app/templates/children-residence_and_rental_history-printable.php | app/templates/children-residence_and_rental_history-printable.php | <?php
if(!isset($Translation)) die('No direct access allowed.');
$current_table = 'residence_and_rental_history';
$cleaner = new CI_Input(datalist_db_encoding);
$firstRecord = null;
?>
<script>
// show child records count in badge in tab title
$j(() => { $j('.child-count-<?php echo $parameters['ChildTable']; ?>-<... | php | MIT | fbb479026f21935654d1d4b95357bf445dd8085e | 2026-01-05T03:49:09.282292Z | false |
bigprof-software/online-rental-property-manager | https://github.com/bigprof-software/online-rental-property-manager/blob/fbb479026f21935654d1d4b95357bf445dd8085e/app/templates/units-ajax-cache.php | app/templates/units-ajax-cache.php | <?php
$rdata = array_map('to_utf8', array_map('safe_html', array_map('html_attr_tags_ok', $rdata)));
$jdata = array_map('to_utf8', array_map('safe_html', array_map('html_attr_tags_ok', $jdata)));
?>
<script>
$j(function() {
var tn = 'units';
/* data for selected record, or defaults if none is selected */
var ... | php | MIT | fbb479026f21935654d1d4b95357bf445dd8085e | 2026-01-05T03:49:09.282292Z | false |
bigprof-software/online-rental-property-manager | https://github.com/bigprof-software/online-rental-property-manager/blob/fbb479026f21935654d1d4b95357bf445dd8085e/app/templates/employment_and_income_history-ajax-cache.php | app/templates/employment_and_income_history-ajax-cache.php | <?php
$rdata = array_map('to_utf8', array_map('safe_html', array_map('html_attr_tags_ok', $rdata)));
$jdata = array_map('to_utf8', array_map('safe_html', array_map('html_attr_tags_ok', $jdata)));
?>
<script>
$j(function() {
var tn = 'employment_and_income_history';
/* data for selected record, or defaults if no... | php | MIT | fbb479026f21935654d1d4b95357bf445dd8085e | 2026-01-05T03:49:09.282292Z | false |
bigprof-software/online-rental-property-manager | https://github.com/bigprof-software/online-rental-property-manager/blob/fbb479026f21935654d1d4b95357bf445dd8085e/app/templates/children-employment_and_income_history.php | app/templates/children-employment_and_income_history.php | <?php
if(!isset($Translation)) die('No direct access allowed.');
$current_table = 'employment_and_income_history';
$cleaner = new CI_Input(datalist_db_encoding);
$firstRecord = null;
?>
<script>
// show child records count in badge in tab title
$j(() => { $j('.child-count-<?php echo $parameters['ChildTable']; ?>-... | php | MIT | fbb479026f21935654d1d4b95357bf445dd8085e | 2026-01-05T03:49:09.282292Z | false |
bigprof-software/online-rental-property-manager | https://github.com/bigprof-software/online-rental-property-manager/blob/fbb479026f21935654d1d4b95357bf445dd8085e/app/templates/children-rental_owners-printable.php | app/templates/children-rental_owners-printable.php | <?php
if(!isset($Translation)) die('No direct access allowed.');
$current_table = 'rental_owners';
$cleaner = new CI_Input(datalist_db_encoding);
$firstRecord = null;
?>
<script>
// show child records count in badge in tab title
$j(() => { $j('.child-count-<?php echo $parameters['ChildTable']; ?>-<?php echo $para... | php | MIT | fbb479026f21935654d1d4b95357bf445dd8085e | 2026-01-05T03:49:09.282292Z | false |
bigprof-software/online-rental-property-manager | https://github.com/bigprof-software/online-rental-property-manager/blob/fbb479026f21935654d1d4b95357bf445dd8085e/app/templates/children-units.php | app/templates/children-units.php | <?php
if(!isset($Translation)) die('No direct access allowed.');
$current_table = 'units';
$cleaner = new CI_Input(datalist_db_encoding);
$firstRecord = null;
?>
<script>
// show child records count in badge in tab title
$j(() => { $j('.child-count-<?php echo $parameters['ChildTable']; ?>-<?php echo $parameters['... | php | MIT | fbb479026f21935654d1d4b95357bf445dd8085e | 2026-01-05T03:49:09.282292Z | false |
bigprof-software/online-rental-property-manager | https://github.com/bigprof-software/online-rental-property-manager/blob/fbb479026f21935654d1d4b95357bf445dd8085e/app/templates/children-references-printable.php | app/templates/children-references-printable.php | <?php
if(!isset($Translation)) die('No direct access allowed.');
$current_table = 'references';
$cleaner = new CI_Input(datalist_db_encoding);
$firstRecord = null;
?>
<script>
// show child records count in badge in tab title
$j(() => { $j('.child-count-<?php echo $parameters['ChildTable']; ?>-<?php echo $paramet... | php | MIT | fbb479026f21935654d1d4b95357bf445dd8085e | 2026-01-05T03:49:09.282292Z | false |
bigprof-software/online-rental-property-manager | https://github.com/bigprof-software/online-rental-property-manager/blob/fbb479026f21935654d1d4b95357bf445dd8085e/app/templates/residence_and_rental_history-ajax-cache.php | app/templates/residence_and_rental_history-ajax-cache.php | <?php
$rdata = array_map('to_utf8', array_map('safe_html', array_map('html_attr_tags_ok', $rdata)));
$jdata = array_map('to_utf8', array_map('safe_html', array_map('html_attr_tags_ok', $jdata)));
?>
<script>
$j(function() {
var tn = 'residence_and_rental_history';
/* data for selected record, or defaults if non... | php | MIT | fbb479026f21935654d1d4b95357bf445dd8085e | 2026-01-05T03:49:09.282292Z | false |
bigprof-software/online-rental-property-manager | https://github.com/bigprof-software/online-rental-property-manager/blob/fbb479026f21935654d1d4b95357bf445dd8085e/app/templates/children-properties.php | app/templates/children-properties.php | <?php
if(!isset($Translation)) die('No direct access allowed.');
$current_table = 'properties';
$cleaner = new CI_Input(datalist_db_encoding);
$firstRecord = null;
?>
<script>
// show child records count in badge in tab title
$j(() => { $j('.child-count-<?php echo $parameters['ChildTable']; ?>-<?php echo $paramet... | php | MIT | fbb479026f21935654d1d4b95357bf445dd8085e | 2026-01-05T03:49:09.282292Z | false |
bigprof-software/online-rental-property-manager | https://github.com/bigprof-software/online-rental-property-manager/blob/fbb479026f21935654d1d4b95357bf445dd8085e/app/templates/references-ajax-cache.php | app/templates/references-ajax-cache.php | <?php
$rdata = array_map('to_utf8', array_map('safe_html', array_map('html_attr_tags_ok', $rdata)));
$jdata = array_map('to_utf8', array_map('safe_html', array_map('html_attr_tags_ok', $jdata)));
?>
<script>
$j(function() {
var tn = 'references';
/* data for selected record, or defaults if none is selected */
... | php | MIT | fbb479026f21935654d1d4b95357bf445dd8085e | 2026-01-05T03:49:09.282292Z | false |
bigprof-software/online-rental-property-manager | https://github.com/bigprof-software/online-rental-property-manager/blob/fbb479026f21935654d1d4b95357bf445dd8085e/app/templates/children-properties-printable.php | app/templates/children-properties-printable.php | <?php
if(!isset($Translation)) die('No direct access allowed.');
$current_table = 'properties';
$cleaner = new CI_Input(datalist_db_encoding);
$firstRecord = null;
?>
<script>
// show child records count in badge in tab title
$j(() => { $j('.child-count-<?php echo $parameters['ChildTable']; ?>-<?php echo $paramet... | php | MIT | fbb479026f21935654d1d4b95357bf445dd8085e | 2026-01-05T03:49:09.282292Z | false |
bigprof-software/online-rental-property-manager | https://github.com/bigprof-software/online-rental-property-manager/blob/fbb479026f21935654d1d4b95357bf445dd8085e/app/templates/children-unit_photos.php | app/templates/children-unit_photos.php | <?php
if(!isset($Translation)) die('No direct access allowed.');
$current_table = 'unit_photos';
$cleaner = new CI_Input(datalist_db_encoding);
$firstRecord = null;
?>
<script>
// show child records count in badge in tab title
$j(() => { $j('.child-count-<?php echo $parameters['ChildTable']; ?>-<?php echo $parame... | php | MIT | fbb479026f21935654d1d4b95357bf445dd8085e | 2026-01-05T03:49:09.282292Z | false |
bigprof-software/online-rental-property-manager | https://github.com/bigprof-software/online-rental-property-manager/blob/fbb479026f21935654d1d4b95357bf445dd8085e/app/templates/children-references.php | app/templates/children-references.php | <?php
if(!isset($Translation)) die('No direct access allowed.');
$current_table = 'references';
$cleaner = new CI_Input(datalist_db_encoding);
$firstRecord = null;
?>
<script>
// show child records count in badge in tab title
$j(() => { $j('.child-count-<?php echo $parameters['ChildTable']; ?>-<?php echo $paramet... | php | MIT | fbb479026f21935654d1d4b95357bf445dd8085e | 2026-01-05T03:49:09.282292Z | false |
bigprof-software/online-rental-property-manager | https://github.com/bigprof-software/online-rental-property-manager/blob/fbb479026f21935654d1d4b95357bf445dd8085e/app/templates/properties-ajax-cache.php | app/templates/properties-ajax-cache.php | <?php
$rdata = array_map('to_utf8', array_map('safe_html', array_map('html_attr_tags_ok', $rdata)));
$jdata = array_map('to_utf8', array_map('safe_html', array_map('html_attr_tags_ok', $jdata)));
?>
<script>
$j(function() {
var tn = 'properties';
/* data for selected record, or defaults if none is selected */
... | php | MIT | fbb479026f21935654d1d4b95357bf445dd8085e | 2026-01-05T03:49:09.282292Z | false |
bigprof-software/online-rental-property-manager | https://github.com/bigprof-software/online-rental-property-manager/blob/fbb479026f21935654d1d4b95357bf445dd8085e/app/templates/children-applications_leases-printable.php | app/templates/children-applications_leases-printable.php | <?php
if(!isset($Translation)) die('No direct access allowed.');
$current_table = 'applications_leases';
$cleaner = new CI_Input(datalist_db_encoding);
$firstRecord = null;
?>
<script>
// show child records count in badge in tab title
$j(() => { $j('.child-count-<?php echo $parameters['ChildTable']; ?>-<?php echo... | php | MIT | fbb479026f21935654d1d4b95357bf445dd8085e | 2026-01-05T03:49:09.282292Z | false |
bigprof-software/online-rental-property-manager | https://github.com/bigprof-software/online-rental-property-manager/blob/fbb479026f21935654d1d4b95357bf445dd8085e/app/templates/children-residence_and_rental_history.php | app/templates/children-residence_and_rental_history.php | <?php
if(!isset($Translation)) die('No direct access allowed.');
$current_table = 'residence_and_rental_history';
$cleaner = new CI_Input(datalist_db_encoding);
$firstRecord = null;
?>
<script>
// show child records count in badge in tab title
$j(() => { $j('.child-count-<?php echo $parameters['ChildTable']; ?>-<... | php | MIT | fbb479026f21935654d1d4b95357bf445dd8085e | 2026-01-05T03:49:09.282292Z | false |
bigprof-software/online-rental-property-manager | https://github.com/bigprof-software/online-rental-property-manager/blob/fbb479026f21935654d1d4b95357bf445dd8085e/app/templates/children-applicants_and_tenants.php | app/templates/children-applicants_and_tenants.php | <?php
if(!isset($Translation)) die('No direct access allowed.');
$current_table = 'applicants_and_tenants';
$cleaner = new CI_Input(datalist_db_encoding);
$firstRecord = null;
?>
<script>
// show child records count in badge in tab title
$j(() => { $j('.child-count-<?php echo $parameters['ChildTable']; ?>-<?php e... | php | MIT | fbb479026f21935654d1d4b95357bf445dd8085e | 2026-01-05T03:49:09.282292Z | false |
bigprof-software/online-rental-property-manager | https://github.com/bigprof-software/online-rental-property-manager/blob/fbb479026f21935654d1d4b95357bf445dd8085e/app/templates/children-applicants_and_tenants-printable.php | app/templates/children-applicants_and_tenants-printable.php | <?php
if(!isset($Translation)) die('No direct access allowed.');
$current_table = 'applicants_and_tenants';
$cleaner = new CI_Input(datalist_db_encoding);
$firstRecord = null;
?>
<script>
// show child records count in badge in tab title
$j(() => { $j('.child-count-<?php echo $parameters['ChildTable']; ?>-<?php e... | php | MIT | fbb479026f21935654d1d4b95357bf445dd8085e | 2026-01-05T03:49:09.282292Z | false |
bigprof-software/online-rental-property-manager | https://github.com/bigprof-software/online-rental-property-manager/blob/fbb479026f21935654d1d4b95357bf445dd8085e/app/templates/property_photos-ajax-cache.php | app/templates/property_photos-ajax-cache.php | <?php
$rdata = array_map('to_utf8', array_map('safe_html', array_map('html_attr_tags_ok', $rdata)));
$jdata = array_map('to_utf8', array_map('safe_html', array_map('html_attr_tags_ok', $jdata)));
?>
<script>
$j(function() {
var tn = 'property_photos';
/* data for selected record, or defaults if none is selected... | php | MIT | fbb479026f21935654d1d4b95357bf445dd8085e | 2026-01-05T03:49:09.282292Z | false |
bigprof-software/online-rental-property-manager | https://github.com/bigprof-software/online-rental-property-manager/blob/fbb479026f21935654d1d4b95357bf445dd8085e/app/templates/applications_leases-ajax-cache.php | app/templates/applications_leases-ajax-cache.php | <?php
$rdata = array_map('to_utf8', array_map('safe_html', array_map('html_attr_tags_ok', $rdata)));
$jdata = array_map('to_utf8', array_map('safe_html', array_map('html_attr_tags_ok', $jdata)));
?>
<script>
$j(function() {
var tn = 'applications_leases';
/* data for selected record, or defaults if none is sele... | php | MIT | fbb479026f21935654d1d4b95357bf445dd8085e | 2026-01-05T03:49:09.282292Z | false |
bigprof-software/online-rental-property-manager | https://github.com/bigprof-software/online-rental-property-manager/blob/fbb479026f21935654d1d4b95357bf445dd8085e/app/templates/children-unit_photos-printable.php | app/templates/children-unit_photos-printable.php | <?php
if(!isset($Translation)) die('No direct access allowed.');
$current_table = 'unit_photos';
$cleaner = new CI_Input(datalist_db_encoding);
$firstRecord = null;
?>
<script>
// show child records count in badge in tab title
$j(() => { $j('.child-count-<?php echo $parameters['ChildTable']; ?>-<?php echo $parame... | php | MIT | fbb479026f21935654d1d4b95357bf445dd8085e | 2026-01-05T03:49:09.282292Z | false |
bigprof-software/online-rental-property-manager | https://github.com/bigprof-software/online-rental-property-manager/blob/fbb479026f21935654d1d4b95357bf445dd8085e/app/templates/rental_owners-ajax-cache.php | app/templates/rental_owners-ajax-cache.php | <?php
$rdata = array_map('to_utf8', array_map('safe_html', array_map('html_attr_tags_ok', $rdata)));
$jdata = array_map('to_utf8', array_map('safe_html', array_map('html_attr_tags_ok', $jdata)));
?>
<script>
$j(function() {
var tn = 'rental_owners';
/* data for selected record, or defaults if none is selected *... | php | MIT | fbb479026f21935654d1d4b95357bf445dd8085e | 2026-01-05T03:49:09.282292Z | false |
bigprof-software/online-rental-property-manager | https://github.com/bigprof-software/online-rental-property-manager/blob/fbb479026f21935654d1d4b95357bf445dd8085e/app/templates/children-property_photos.php | app/templates/children-property_photos.php | <?php
if(!isset($Translation)) die('No direct access allowed.');
$current_table = 'property_photos';
$cleaner = new CI_Input(datalist_db_encoding);
$firstRecord = null;
?>
<script>
// show child records count in badge in tab title
$j(() => { $j('.child-count-<?php echo $parameters['ChildTable']; ?>-<?php echo $pa... | php | MIT | fbb479026f21935654d1d4b95357bf445dd8085e | 2026-01-05T03:49:09.282292Z | false |
bigprof-software/online-rental-property-manager | https://github.com/bigprof-software/online-rental-property-manager/blob/fbb479026f21935654d1d4b95357bf445dd8085e/app/templates/children-units-printable.php | app/templates/children-units-printable.php | <?php
if(!isset($Translation)) die('No direct access allowed.');
$current_table = 'units';
$cleaner = new CI_Input(datalist_db_encoding);
$firstRecord = null;
?>
<script>
// show child records count in badge in tab title
$j(() => { $j('.child-count-<?php echo $parameters['ChildTable']; ?>-<?php echo $parameters['... | php | MIT | fbb479026f21935654d1d4b95357bf445dd8085e | 2026-01-05T03:49:09.282292Z | false |
bigprof-software/online-rental-property-manager | https://github.com/bigprof-software/online-rental-property-manager/blob/fbb479026f21935654d1d4b95357bf445dd8085e/app/resources/PHPMailer/class.phpmailer.php | app/resources/PHPMailer/class.phpmailer.php | <?php
/**
* PHPMailer - PHP email creation and transport class.
* PHP Version 5
* @package PHPMailer
* @link https://github.com/PHPMailer/PHPMailer/ The PHPMailer GitHub project
* @author Marcus Bointon (Synchro/coolbru) <phpmailer@synchromedia.co.uk>
* @author Jim Jagielski (jimjag) <jimjag@gmail.com>
* @author... | php | MIT | fbb479026f21935654d1d4b95357bf445dd8085e | 2026-01-05T03:49:09.282292Z | true |
bigprof-software/online-rental-property-manager | https://github.com/bigprof-software/online-rental-property-manager/blob/fbb479026f21935654d1d4b95357bf445dd8085e/app/resources/PHPMailer/class.smtp.php | app/resources/PHPMailer/class.smtp.php | <?php
/**
* PHPMailer RFC821 SMTP email transport class.
* PHP Version 5
* @package PHPMailer
* @link https://github.com/PHPMailer/PHPMailer/ The PHPMailer GitHub project
* @author Marcus Bointon (Synchro/coolbru) <phpmailer@synchromedia.co.uk>
* @author Jim Jagielski (jimjag) <jimjag@gmail.com>
* @author Andy P... | php | MIT | fbb479026f21935654d1d4b95357bf445dd8085e | 2026-01-05T03:49:09.282292Z | true |
bigprof-software/online-rental-property-manager | https://github.com/bigprof-software/online-rental-property-manager/blob/fbb479026f21935654d1d4b95357bf445dd8085e/app/resources/chartist/chartist-themes.css.php | app/resources/chartist/chartist-themes.css.php | <?php
/* generates color themes for charts */
$theme_hues = array(
'reds' => 2,
'oranges' => 30,
'yellows' => 60,
'greens' => 100,
'blues' => 213,
'violets' => 290,
'grays' => 0
);
$series_sats_brights = array(
'o' => array(60, 48),
'n' => array(60, 53),
'm' => array(59, 57),
'l' => arr... | php | MIT | fbb479026f21935654d1d4b95357bf445dd8085e | 2026-01-05T03:49:09.282292Z | false |
bigprof-software/online-rental-property-manager | https://github.com/bigprof-software/online-rental-property-manager/blob/fbb479026f21935654d1d4b95357bf445dd8085e/app/resources/lib/Thumbnail.php | app/resources/lib/Thumbnail.php | <?php
class Thumbnail {
/**
* Create a thumbnail of an image. The thumbnail is saved in the same directory as the original image, with the same name, suffixed with `$specs['identifier']`
* @param string $img - path to image file
* @param array $specs - array with thumbnail specs as returned by getThumbnailSpecs... | php | MIT | fbb479026f21935654d1d4b95357bf445dd8085e | 2026-01-05T03:49:09.282292Z | false |
bigprof-software/online-rental-property-manager | https://github.com/bigprof-software/online-rental-property-manager/blob/fbb479026f21935654d1d4b95357bf445dd8085e/app/resources/lib/CI_Input.php | app/resources/lib/CI_Input.php | <?php
/**
* CodeIgniter
*
* An open source application development framework for PHP 4.3.2 or newer
*
* @package CodeIgniter
* @author ExpressionEngine Dev Team
* @copyright Copyright (c) 2008 - 2009, EllisLab, Inc.
* @license http://codeigniter.com/user_guide/license.html
* @link http://codeigniter.com
*... | php | MIT | fbb479026f21935654d1d4b95357bf445dd8085e | 2026-01-05T03:49:09.282292Z | false |
bigprof-software/online-rental-property-manager | https://github.com/bigprof-software/online-rental-property-manager/blob/fbb479026f21935654d1d4b95357bf445dd8085e/app/resources/lib/Combo.php | app/resources/lib/Combo.php | <?php
class Combo {
// The Combo class renders a drop down combo
// filled with elements in an array ListItem[]
// and associates each element with data from
// an array ListData[], and optionally selects
// one of the items.
var $ListItem, // array of items in the combo
$ListData, // array of items data val... | php | MIT | fbb479026f21935654d1d4b95357bf445dd8085e | 2026-01-05T03:49:09.282292Z | false |
bigprof-software/online-rental-property-manager | https://github.com/bigprof-software/online-rental-property-manager/blob/fbb479026f21935654d1d4b95357bf445dd8085e/app/resources/lib/DateCombo.php | app/resources/lib/DateCombo.php | <?php
class DateCombo {
// renders a date combo with a pre-selected date
var $DateFormat, // any combination of y,m,d
$DefaultDate, // format: yyyy-mm-dd
$MinYear,
$MaxYear,
$MonthNames,
$Comment,
$NamePrefix, // will be used in the HTML name prop as a prefix to "Year", "Month"... | php | MIT | fbb479026f21935654d1d4b95357bf445dd8085e | 2026-01-05T03:49:09.282292Z | false |
bigprof-software/online-rental-property-manager | https://github.com/bigprof-software/online-rental-property-manager/blob/fbb479026f21935654d1d4b95357bf445dd8085e/app/resources/lib/Captcha.php | app/resources/lib/Captcha.php | <?php
/*
# Captcha class
This class provides methods to provide a captcha challenge to users. It can be used to prevent automated form submissions.
## Image captchas
Image captchas require the GD extension to be installed. The following code can be used to check this:
```php
if(!Captcha::available('image')) {... | php | MIT | fbb479026f21935654d1d4b95357bf445dd8085e | 2026-01-05T03:49:09.282292Z | false |
bigprof-software/online-rental-property-manager | https://github.com/bigprof-software/online-rental-property-manager/blob/fbb479026f21935654d1d4b95357bf445dd8085e/app/resources/lib/Request.php | app/resources/lib/Request.php | <?php
/*
Request($var) -- class for providing sanitized values of given request variable (->sql, ->attr, ->html, ->url, and ->raw)
*/
class Request {
public $sql, $url, $attr, $html, $raw;
public function __construct($var, $filter = false) {
$unsafe = (isset($_REQUEST[$var]) ? $_REQUEST[$var] : '');
if($filt... | php | MIT | fbb479026f21935654d1d4b95357bf445dd8085e | 2026-01-05T03:49:09.282292Z | false |
bigprof-software/online-rental-property-manager | https://github.com/bigprof-software/online-rental-property-manager/blob/fbb479026f21935654d1d4b95357bf445dd8085e/app/resources/lib/UserFlags.php | app/resources/lib/UserFlags.php | <?php
/*
UserFlags are messages to a specific user that should be displayed as alerts when the user signs in.
*/
class UserFlags {
private $username, $safe_username;
public function __construct($username = null) {
/* if no username provided, set to currently logged user */
if($username === null) {
$... | php | MIT | fbb479026f21935654d1d4b95357bf445dd8085e | 2026-01-05T03:49:09.282292Z | false |
bigprof-software/online-rental-property-manager | https://github.com/bigprof-software/online-rental-property-manager/blob/fbb479026f21935654d1d4b95357bf445dd8085e/app/resources/lib/RSS.php | app/resources/lib/RSS.php | <?php
class RSS {
/**
* Reads an RSS feed from the specified URL and returns an array of entries.
*
* @param string $url The URL of the RSS feed.
* @return array An array of entries, where each entry is an associative array
* containing 'title', 'description', and 'url' keys.
* ... | php | MIT | fbb479026f21935654d1d4b95357bf445dd8085e | 2026-01-05T03:49:09.282292Z | false |
bigprof-software/online-rental-property-manager | https://github.com/bigprof-software/online-rental-property-manager/blob/fbb479026f21935654d1d4b95357bf445dd8085e/app/resources/lib/WindowMessages.php | app/resources/lib/WindowMessages.php | <?php
/**
* WindowMessages
*
* A class for displaying messages to the user on the next page load.
*
* Usage:
*
* 1. To inject the window id into the output HTML, use output buffering, setting the callback to `WindowMessages::injectWindowId`:
*
* ```php
* ob_start('WindowMessages::injectWindowId');
... | php | MIT | fbb479026f21935654d1d4b95357bf445dd8085e | 2026-01-05T03:49:09.282292Z | false |
bigprof-software/online-rental-property-manager | https://github.com/bigprof-software/online-rental-property-manager/blob/fbb479026f21935654d1d4b95357bf445dd8085e/app/resources/lib/Authentication.php | app/resources/lib/Authentication.php | <?php
class Authentication {
const DEFAULT_POST_LOGIN_URL = 'index.php',
FAILED_LOGIN_URL = 'index.php?loginFailed=1',
// TODO: implement this (during login, if url=... is provided, redirect to it on successful login)
ACCEPT_REDIR_URL = true;
/**
* Retrieves currently logged user's in... | php | MIT | fbb479026f21935654d1d4b95357bf445dd8085e | 2026-01-05T03:49:09.282292Z | false |
bigprof-software/online-rental-property-manager | https://github.com/bigprof-software/online-rental-property-manager/blob/fbb479026f21935654d1d4b95357bf445dd8085e/app/resources/lib/DataCombo.php | app/resources/lib/DataCombo.php | <?php
class DataCombo{
var $Query, // Only the first two fields of the query are used.
// The first field is treated as the primary key (data values),
// and the second field is the displayed data items.
$Class,
$Style,
$SelectName,
$FirstItem, // if not empty, the first item in the combo with val... | php | MIT | fbb479026f21935654d1d4b95357bf445dd8085e | 2026-01-05T03:49:09.282292Z | false |
bigprof-software/online-rental-property-manager | https://github.com/bigprof-software/online-rental-property-manager/blob/fbb479026f21935654d1d4b95357bf445dd8085e/app/resources/lib/JWT.php | app/resources/lib/JWT.php | <?php
/**
* JSON Web Token implementation
*
* Minimum implementation used by Realtime auth, based on this spec:
* http://self-issued.info/docs/draft-jones-json-web-token-01.html.
*
* @author Neuman Vong <neuman@twilio.com>
*/
class JWT {
/**
* @param string $jwt The JWT
* @param string $key The secret key
... | php | MIT | fbb479026f21935654d1d4b95357bf445dd8085e | 2026-01-05T03:49:09.282292Z | false |
bigprof-software/online-rental-property-manager | https://github.com/bigprof-software/online-rental-property-manager/blob/fbb479026f21935654d1d4b95357bf445dd8085e/app/resources/lib/RememberMe.php | app/resources/lib/RememberMe.php | <?php
class RememberMe {
/**
* Separator string used in 'rememberme' cookie
*/
private static $_separator = ';;';
/**
* Number of seconds for 'rememberme' session expiry
*/
private static $_expiry = 2592000; // 30 days * 86400 seconds per day
/**
* Number of seconds for token to be consid... | php | MIT | fbb479026f21935654d1d4b95357bf445dd8085e | 2026-01-05T03:49:09.282292Z | false |
bigprof-software/online-rental-property-manager | https://github.com/bigprof-software/online-rental-property-manager/blob/fbb479026f21935654d1d4b95357bf445dd8085e/app/resources/lib/CSVImportUI.php | app/resources/lib/CSVImportUI.php | <?php
/*
* UI for CSVImport class
*
* Usage:
* $ui = new CSVImportUI($transformFunctions, $filterFunctions, $uri, $reuest); // use $_REQUEST by default if no $request passed
*
* after uploading a CSV file, user can select a table to import to
* only tables that the user has insert/edit permission fo... | php | MIT | fbb479026f21935654d1d4b95357bf445dd8085e | 2026-01-05T03:49:09.282292Z | true |
bigprof-software/online-rental-property-manager | https://github.com/bigprof-software/online-rental-property-manager/blob/fbb479026f21935654d1d4b95357bf445dd8085e/app/resources/lib/LDAP.php | app/resources/lib/LDAP.php | <?php
// To allow LDAP login, the following keys and their values are expected in config.php under [adminConfig]:
// 'loginMethod' => 'ldap',
// 'ldapServer' => 'ldap.example.com', // or 'ldaps://ldap.example.com' for SSL
// to include port: 'ldap.example.com:389' or 'ldaps://ldap.example.com:636'
// 'lda... | php | MIT | fbb479026f21935654d1d4b95357bf445dd8085e | 2026-01-05T03:49:09.282292Z | false |
bigprof-software/online-rental-property-manager | https://github.com/bigprof-software/online-rental-property-manager/blob/fbb479026f21935654d1d4b95357bf445dd8085e/app/resources/lib/CSVImport.php | app/resources/lib/CSVImport.php | <?php
/*
TODO:
* hook transform function? overrides or compliments default transform function?
* along with csvMap, pass a conversion function (function name) for changing date, time, datetime, and number formats --
this would be applied before passing the row to the transform function(s)
*/
class C... | php | MIT | fbb479026f21935654d1d4b95357bf445dd8085e | 2026-01-05T03:49:09.282292Z | true |
bigprof-software/online-rental-property-manager | https://github.com/bigprof-software/online-rental-property-manager/blob/fbb479026f21935654d1d4b95357bf445dd8085e/app/resources/lib/PHPMailer/PHPMailer/PHPMailer.php | app/resources/lib/PHPMailer/PHPMailer/PHPMailer.php | <?php
/**
* PHPMailer - PHP email creation and transport class.
* PHP Version 5.5.
*
* @see https://github.com/PHPMailer/PHPMailer/ The PHPMailer GitHub project
*
* @author Marcus Bointon (Synchro/coolbru) <phpmailer@synchromedia.co.uk>
* @author Jim Jagielski (jimjag) <jimjag@gmail.com>
* @author And... | php | MIT | fbb479026f21935654d1d4b95357bf445dd8085e | 2026-01-05T03:49:09.282292Z | true |
bigprof-software/online-rental-property-manager | https://github.com/bigprof-software/online-rental-property-manager/blob/fbb479026f21935654d1d4b95357bf445dd8085e/app/resources/lib/PHPMailer/PHPMailer/Exception.php | app/resources/lib/PHPMailer/PHPMailer/Exception.php | <?php
/**
* PHPMailer Exception class.
* PHP Version 5.5.
*
* @see https://github.com/PHPMailer/PHPMailer/ The PHPMailer GitHub project
*
* @author Marcus Bointon (Synchro/coolbru) <phpmailer@synchromedia.co.uk>
* @author Jim Jagielski (jimjag) <jimjag@gmail.com>
* @author Andy Prevost (codeworx... | php | MIT | fbb479026f21935654d1d4b95357bf445dd8085e | 2026-01-05T03:49:09.282292Z | false |
bigprof-software/online-rental-property-manager | https://github.com/bigprof-software/online-rental-property-manager/blob/fbb479026f21935654d1d4b95357bf445dd8085e/app/resources/lib/PHPMailer/PHPMailer/SMTP.php | app/resources/lib/PHPMailer/PHPMailer/SMTP.php | <?php
/**
* PHPMailer RFC821 SMTP email transport class.
* PHP Version 5.5.
*
* @see https://github.com/PHPMailer/PHPMailer/ The PHPMailer GitHub project
*
* @author Marcus Bointon (Synchro/coolbru) <phpmailer@synchromedia.co.uk>
* @author Jim Jagielski (jimjag) <jimjag@gmail.com>
* @author Andy... | php | MIT | fbb479026f21935654d1d4b95357bf445dd8085e | 2026-01-05T03:49:09.282292Z | true |
bigprof-software/online-rental-property-manager | https://github.com/bigprof-software/online-rental-property-manager/blob/fbb479026f21935654d1d4b95357bf445dd8085e/app/resources/plugin-calendar/language/index.php | app/resources/plugin-calendar/language/index.php | <?php
// return a list of available languages as a json array
$base_lang_dir = dirname(__FILE__);
$languages = array();
$d = dir($base_lang_dir);
while(false !== ($entry = $d->read())) {
$m = array();
if(!preg_match('/^([a-z]{2})\.js$/', $entry, $m)) continue;
$languages[] = $m[1];
}
$d->close();
@heade... | php | MIT | fbb479026f21935654d1d4b95357bf445dd8085e | 2026-01-05T03:49:09.282292Z | false |
raoul2000/yii2-workflow | https://github.com/raoul2000/yii2-workflow/blob/1e21516d0f2e102664cf194c33f2d74937eb7fd4/src/validation/WorkflowValidator.php | src/validation/WorkflowValidator.php | <?php
namespace raoul2000\workflow\validation;
use Yii;
use yii\validators\Validator;
use raoul2000\workflow\base\SimpleWorkflowBehavior;
use raoul2000\workflow\base\WorkflowException;
/**
* WorkflowValidator run validation for the current workflow event.
* This validator execute validation for all attributes belon... | php | BSD-3-Clause | 1e21516d0f2e102664cf194c33f2d74937eb7fd4 | 2026-01-05T03:49:18.748945Z | false |
raoul2000/yii2-workflow | https://github.com/raoul2000/yii2-workflow/blob/1e21516d0f2e102664cf194c33f2d74937eb7fd4/src/validation/WorkflowScenario.php | src/validation/WorkflowScenario.php | <?php
namespace raoul2000\workflow\validation;
use raoul2000\workflow\base\WorkflowException;
/**
* Helper class to create workflow scenario names.
*
*/
class WorkflowScenario
{
const ANY_STATUS = '*';
const ANY_WORKFLOW = '*';
/**
* Returns the scenario name for a change status action.
*
* @param string... | php | BSD-3-Clause | 1e21516d0f2e102664cf194c33f2d74937eb7fd4 | 2026-01-05T03:49:18.748945Z | false |
raoul2000/yii2-workflow | https://github.com/raoul2000/yii2-workflow/blob/1e21516d0f2e102664cf194c33f2d74937eb7fd4/src/base/StatusIdConverter.php | src/base/StatusIdConverter.php | <?php
namespace raoul2000\workflow\base;
use Yii;
use yii\base\BaseObject;
use yii\base\InvalidConfigException;
use yii\base\Exception;
use yii\base\InvalidCallException;
/**
* This class implements a status Id converter.
*
* The conversion is based on an array where key are valid status ID from the simpleWorkflo... | php | BSD-3-Clause | 1e21516d0f2e102664cf194c33f2d74937eb7fd4 | 2026-01-05T03:49:18.748945Z | false |
raoul2000/yii2-workflow | https://github.com/raoul2000/yii2-workflow/blob/1e21516d0f2e102664cf194c33f2d74937eb7fd4/src/base/WorkflowException.php | src/base/WorkflowException.php | <?php
namespace raoul2000\workflow\base;
use Yii;
use yii\base\Exception;
/**
* WorkflowException represents a generic workflow exception for various purposes.
*/
class WorkflowException extends Exception
{
/**
* get the name of this exception
* @return string the user-friendly name of this exception
*/
pub... | php | BSD-3-Clause | 1e21516d0f2e102664cf194c33f2d74937eb7fd4 | 2026-01-05T03:49:18.748945Z | false |
raoul2000/yii2-workflow | https://github.com/raoul2000/yii2-workflow/blob/1e21516d0f2e102664cf194c33f2d74937eb7fd4/src/base/Transition.php | src/base/Transition.php | <?php
namespace raoul2000\workflow\base;
use yii\base\InvalidConfigException;
/**
* Transition object is an oriented link between a start and an end status.
*/
class Transition extends WorkflowBaseObject implements TransitionInterface
{
/**
* @var Status the status this transition is starting from
*/
private ... | php | BSD-3-Clause | 1e21516d0f2e102664cf194c33f2d74937eb7fd4 | 2026-01-05T03:49:18.748945Z | false |
raoul2000/yii2-workflow | https://github.com/raoul2000/yii2-workflow/blob/1e21516d0f2e102664cf194c33f2d74937eb7fd4/src/base/TransitionInterface.php | src/base/TransitionInterface.php | <?php
namespace raoul2000\workflow\base;
/**
* A transition is a link between a start and an end status.
*
* If status "A" has a transition to status "B", then it only means that it is possible to go from
* status "A" to status "B".
*/
interface TransitionInterface
{
/**
* @return string the transition id
*/... | php | BSD-3-Clause | 1e21516d0f2e102664cf194c33f2d74937eb7fd4 | 2026-01-05T03:49:18.748945Z | false |
raoul2000/yii2-workflow | https://github.com/raoul2000/yii2-workflow/blob/1e21516d0f2e102664cf194c33f2d74937eb7fd4/src/base/StatusInterface.php | src/base/StatusInterface.php | <?php
namespace raoul2000\workflow\base;
/**
* This interface must be implemented by Status objects.
*/
interface StatusInterface
{
/**
* Returns the id of this status.
*
* @return string the id for this status
*/
public function getId();
/**
* Returns the label for this status.
*
* @return string ... | php | BSD-3-Clause | 1e21516d0f2e102664cf194c33f2d74937eb7fd4 | 2026-01-05T03:49:18.748945Z | false |
raoul2000/yii2-workflow | https://github.com/raoul2000/yii2-workflow/blob/1e21516d0f2e102664cf194c33f2d74937eb7fd4/src/base/IStatusAccessor.php | src/base/IStatusAccessor.php | <?php
namespace raoul2000\workflow\base;
use raoul2000\workflow\base\Status;
use yii\db\BaseActiveRecord;
/**
* Interface for status accessor component.
*/
interface IStatusAccessor
{
/**
* This method is invoked each time a status value must be read.
*
* @param BaseActiveRecord $model
* @return string the... | php | BSD-3-Clause | 1e21516d0f2e102664cf194c33f2d74937eb7fd4 | 2026-01-05T03:49:18.748945Z | false |
raoul2000/yii2-workflow | https://github.com/raoul2000/yii2-workflow/blob/1e21516d0f2e102664cf194c33f2d74937eb7fd4/src/base/SimpleWorkflowBehavior.php | src/base/SimpleWorkflowBehavior.php | <?php
namespace raoul2000\workflow\base;
use Yii;
use yii\base\Behavior;
use yii\db\ActiveRecord;
use yii\db\BaseActiveRecord;
use yii\base\Event;
use yii\base\InvalidConfigException;
use yii\base\Exception;
use raoul2000\workflow\events\IEventSequence;
use raoul2000\workflow\validation\WorkflowScenario;
use raoul200... | php | BSD-3-Clause | 1e21516d0f2e102664cf194c33f2d74937eb7fd4 | 2026-01-05T03:49:18.748945Z | true |
raoul2000/yii2-workflow | https://github.com/raoul2000/yii2-workflow/blob/1e21516d0f2e102664cf194c33f2d74937eb7fd4/src/base/WorkflowInterface.php | src/base/WorkflowInterface.php | <?php
namespace raoul2000\workflow\base;
/**
* Interface implemented by Workflow objects.
*/
interface WorkflowInterface
{
/**
* Returns the id of this workflow
*
* @return string the workflow id
*/
public function getId();
/**
* Returns the id of the initial status for this workflow.
*
* @return s... | php | BSD-3-Clause | 1e21516d0f2e102664cf194c33f2d74937eb7fd4 | 2026-01-05T03:49:18.748945Z | false |
raoul2000/yii2-workflow | https://github.com/raoul2000/yii2-workflow/blob/1e21516d0f2e102664cf194c33f2d74937eb7fd4/src/base/Status.php | src/base/Status.php | <?php
namespace raoul2000\workflow\base;
use Yii;
use yii\base\InvalidConfigException;
/**
* A Status object is a component of a workflow.
*
* @author Raoul
*/
class Status extends WorkflowBaseObject implements StatusInterface
{
/**
* @var string the status Id
*/
private $_id;
/**
* @var string the statu... | php | BSD-3-Clause | 1e21516d0f2e102664cf194c33f2d74937eb7fd4 | 2026-01-05T03:49:18.748945Z | false |
raoul2000/yii2-workflow | https://github.com/raoul2000/yii2-workflow/blob/1e21516d0f2e102664cf194c33f2d74937eb7fd4/src/base/WorkflowValidationException.php | src/base/WorkflowValidationException.php | <?php
namespace raoul2000\workflow\base;
use Yii;
use yii\base\Exception;
/**
* WorkflowValidationException represents an exception related to workflow validation performed
* by Workflow Source component and related PHP array Parsers.
*
* @see \raoul2000\workflow\source\file\WorkflowFileSource
*
*/
class Workf... | php | BSD-3-Clause | 1e21516d0f2e102664cf194c33f2d74937eb7fd4 | 2026-01-05T03:49:18.748945Z | false |
raoul2000/yii2-workflow | https://github.com/raoul2000/yii2-workflow/blob/1e21516d0f2e102664cf194c33f2d74937eb7fd4/src/base/WorkflowBaseObject.php | src/base/WorkflowBaseObject.php | <?php
namespace raoul2000\workflow\base;
use yii\base\BaseObject;
use yii\base\InvalidConfigException;
use raoul2000\workflow\source\IWorkflowSource;
/**
* This class is the base class for Workflow, Transition and Status objects.
*
* It mainly provides a way to store additional properties without the need to
* d... | php | BSD-3-Clause | 1e21516d0f2e102664cf194c33f2d74937eb7fd4 | 2026-01-05T03:49:18.748945Z | false |
raoul2000/yii2-workflow | https://github.com/raoul2000/yii2-workflow/blob/1e21516d0f2e102664cf194c33f2d74937eb7fd4/src/base/Workflow.php | src/base/Workflow.php | <?php
namespace raoul2000\workflow\base;
use yii\base\InvalidConfigException;
/**
* Implements the Workflow as an object having an `$id` and an `initialStatus`.
* The Workflow class inherits from **WorkflowBaseObject** that provides support for **metadata** attributes and workflow
* source access.
*
* @see \raoul... | php | BSD-3-Clause | 1e21516d0f2e102664cf194c33f2d74937eb7fd4 | 2026-01-05T03:49:18.748945Z | false |
raoul2000/yii2-workflow | https://github.com/raoul2000/yii2-workflow/blob/1e21516d0f2e102664cf194c33f2d74937eb7fd4/src/base/IStatusIdConverter.php | src/base/IStatusIdConverter.php | <?php
namespace raoul2000\workflow\base;
/**
* The interface for status ID converters.
*
* A status ID converter is dedicated to provide a conversion between status ID which are valid
* for the SimpleWorkflow behavior, and status ID that can be stored in the configured status column
* in the underlying table.
*
... | php | BSD-3-Clause | 1e21516d0f2e102664cf194c33f2d74937eb7fd4 | 2026-01-05T03:49:18.748945Z | false |
raoul2000/yii2-workflow | https://github.com/raoul2000/yii2-workflow/blob/1e21516d0f2e102664cf194c33f2d74937eb7fd4/src/helpers/WorkflowHelper.php | src/helpers/WorkflowHelper.php | <?php
namespace raoul2000\workflow\helpers;
use yii\db\BaseActiveRecord;
use raoul2000\workflow\base\SimpleWorkflowBehavior;
use raoul2000\workflow\base\WorkflowException;
/**
* Helper class for yii2-workflow.
*/
class WorkflowHelper
{
/**
* Returns an associative array containing all statuses that can be reache... | php | BSD-3-Clause | 1e21516d0f2e102664cf194c33f2d74937eb7fd4 | 2026-01-05T03:49:18.748945Z | false |
raoul2000/yii2-workflow | https://github.com/raoul2000/yii2-workflow/blob/1e21516d0f2e102664cf194c33f2d74937eb7fd4/src/source/IWorkflowSource.php | src/source/IWorkflowSource.php | <?php
namespace raoul2000\workflow\source;
/**
* Interface for WorkflowSource components.
*
* This interface defines basic methods aimed to provide status, workflow and transitions
* to the SimpleStatusBehavior.
*/
interface IWorkflowSource
{
/**
* Returns the Status instance for a given status id.
* In case... | php | BSD-3-Clause | 1e21516d0f2e102664cf194c33f2d74937eb7fd4 | 2026-01-05T03:49:18.748945Z | false |
raoul2000/yii2-workflow | https://github.com/raoul2000/yii2-workflow/blob/1e21516d0f2e102664cf194c33f2d74937eb7fd4/src/source/file/WorkflowArrayParser.php | src/source/file/WorkflowArrayParser.php | <?php
namespace raoul2000\workflow\source\file;
use yii\base\BaseObject;
use yii\helpers\VarDumper;
use raoul2000\workflow\base\WorkflowValidationException;
/**
* A **WorkflowArrayParser** object converts a workflow definition PHP array, into its normalized form
* as expected by the **WorkflowFileSource** class.
*... | php | BSD-3-Clause | 1e21516d0f2e102664cf194c33f2d74937eb7fd4 | 2026-01-05T03:49:18.748945Z | false |
raoul2000/yii2-workflow | https://github.com/raoul2000/yii2-workflow/blob/1e21516d0f2e102664cf194c33f2d74937eb7fd4/src/source/file/WorkflowDefinitionLoader.php | src/source/file/WorkflowDefinitionLoader.php | <?php
namespace raoul2000\workflow\source\file;
use Yii;
use yii\base\BaseObject;
use yii\base\InvalidConfigException;
/**
* The WorkflowDefinitionLoader is the base class for all implementations of workflow definition
* loaders.
*/
abstract class WorkflowDefinitionLoader extends BaseObject
{
/**
* The parser co... | php | BSD-3-Clause | 1e21516d0f2e102664cf194c33f2d74937eb7fd4 | 2026-01-05T03:49:18.748945Z | false |
raoul2000/yii2-workflow | https://github.com/raoul2000/yii2-workflow/blob/1e21516d0f2e102664cf194c33f2d74937eb7fd4/src/source/file/PhpClassLoader.php | src/source/file/PhpClassLoader.php | <?php
namespace raoul2000\workflow\source\file;
use Yii;
use raoul2000\workflow\base\WorkflowException;
/**
* This class is responsible for locating and loading a workflow definition stored as a PHP class.
* The PHP class is expected to implement the **IWorkflowDefinitionProvider** interface.
*
*/
class PhpClass... | php | BSD-3-Clause | 1e21516d0f2e102664cf194c33f2d74937eb7fd4 | 2026-01-05T03:49:18.748945Z | false |
raoul2000/yii2-workflow | https://github.com/raoul2000/yii2-workflow/blob/1e21516d0f2e102664cf194c33f2d74937eb7fd4/src/source/file/IWorkflowDefinitionProvider.php | src/source/file/IWorkflowDefinitionProvider.php | <?php
namespace raoul2000\workflow\source\file;
/**
* This interface must be implemented by any PHP class that
* is able to provide a workflow definition.
*/
interface IWorkflowDefinitionProvider
{
/**
* Returns the workflow definition in the form of an array.
* @return array
*/
public function getDefiniti... | php | BSD-3-Clause | 1e21516d0f2e102664cf194c33f2d74937eb7fd4 | 2026-01-05T03:49:18.748945Z | false |
raoul2000/yii2-workflow | https://github.com/raoul2000/yii2-workflow/blob/1e21516d0f2e102664cf194c33f2d74937eb7fd4/src/source/file/GraphmlLoader.php | src/source/file/GraphmlLoader.php | <?php
namespace raoul2000\workflow\source\file;
use Yii;
use raoul2000\workflow\base\WorkflowException;
/**
* Parser for workflow definition stored as graphml file.
* *graphml* format is an XML language designed to describe an oriented graph structure. Before using
* this format to define a workflow, make sure you... | php | BSD-3-Clause | 1e21516d0f2e102664cf194c33f2d74937eb7fd4 | 2026-01-05T03:49:18.748945Z | false |
raoul2000/yii2-workflow | https://github.com/raoul2000/yii2-workflow/blob/1e21516d0f2e102664cf194c33f2d74937eb7fd4/src/source/file/WorkflowFileSource.php | src/source/file/WorkflowFileSource.php | <?php
namespace raoul2000\workflow\source\file;
use Yii;
use yii\base\BaseObject;
use yii\base\InvalidConfigException;
use yii\helpers\Inflector;
use yii\helpers\VarDumper;
use raoul2000\workflow\base\Status;
use raoul2000\workflow\base\Workflow;
use raoul2000\workflow\base\WorkflowException;
use raoul2000\workflow\so... | php | BSD-3-Clause | 1e21516d0f2e102664cf194c33f2d74937eb7fd4 | 2026-01-05T03:49:18.748945Z | false |
raoul2000/yii2-workflow | https://github.com/raoul2000/yii2-workflow/blob/1e21516d0f2e102664cf194c33f2d74937eb7fd4/src/source/file/PhpArrayLoader.php | src/source/file/PhpArrayLoader.php | <?php
namespace raoul2000\workflow\source\file;
use Yii;
/**
* Loads a workflow definition from a PHP file.
* The PHP filename is built by concatenating the $path and the $workflowId values,
* adding the '.php' extension.
*
* This file must return the workflow definition in the form of an associative array
* ... | php | BSD-3-Clause | 1e21516d0f2e102664cf194c33f2d74937eb7fd4 | 2026-01-05T03:49:18.748945Z | false |
raoul2000/yii2-workflow | https://github.com/raoul2000/yii2-workflow/blob/1e21516d0f2e102664cf194c33f2d74937eb7fd4/src/source/file/DefaultArrayParser.php | src/source/file/DefaultArrayParser.php | <?php
namespace raoul2000\workflow\source\file;
use yii\helpers\ArrayHelper;
use raoul2000\workflow\base\WorkflowValidationException;
use yii\helpers\VarDumper;
/**
* Implements a parser for default PHP array formatted workflow.
*
* Example :
* <pre>
* [
* 'initialStatusId' => 'draft',
* 'status' => [
* ... | php | BSD-3-Clause | 1e21516d0f2e102664cf194c33f2d74937eb7fd4 | 2026-01-05T03:49:18.748945Z | false |
raoul2000/yii2-workflow | https://github.com/raoul2000/yii2-workflow/blob/1e21516d0f2e102664cf194c33f2d74937eb7fd4/src/source/file/MinimalArrayParser.php | src/source/file/MinimalArrayParser.php | <?php
namespace raoul2000\workflow\source\file;
use yii\helpers\ArrayHelper;
use raoul2000\workflow\base\WorkflowValidationException;
/**
* Parse a workflow definition provided as a minimal PHP array.
*
* Following rules apply :
*
* - the array must be associative, each key being a status Id, and each value is a... | php | BSD-3-Clause | 1e21516d0f2e102664cf194c33f2d74937eb7fd4 | 2026-01-05T03:49:18.748945Z | false |
raoul2000/yii2-workflow | https://github.com/raoul2000/yii2-workflow/blob/1e21516d0f2e102664cf194c33f2d74937eb7fd4/src/actions/ChangeStatusAction.php | src/actions/ChangeStatusAction.php | <?php
namespace raoul2000\workflow\actions;
use yii;
use yii\base\Action;
use yii\base\Exception;
use yii\base\InvalidConfigException;
/**
* Action change status Workflow
*
* @author Angel (Faryshta) Guevara <aguevara@tecnocen.com>
* @author Carlos (neverabe) Llamosas <carlos@tecnocen.com>
* @author Alejandro (... | php | BSD-3-Clause | 1e21516d0f2e102664cf194c33f2d74937eb7fd4 | 2026-01-05T03:49:18.748945Z | false |
raoul2000/yii2-workflow | https://github.com/raoul2000/yii2-workflow/blob/1e21516d0f2e102664cf194c33f2d74937eb7fd4/src/events/BasicEventSequence.php | src/events/BasicEventSequence.php | <?php
namespace raoul2000\workflow\events;
use yii\base\BaseObject;
use raoul2000\workflow\events\IEventSequence;
/**
* The basic event sequence.
*
* @see IEventSequence
*/
class BasicEventSequence extends BaseObject implements IEventSequence
{
/**
* Produces the following sequence when a model enters a workfl... | php | BSD-3-Clause | 1e21516d0f2e102664cf194c33f2d74937eb7fd4 | 2026-01-05T03:49:18.748945Z | false |
raoul2000/yii2-workflow | https://github.com/raoul2000/yii2-workflow/blob/1e21516d0f2e102664cf194c33f2d74937eb7fd4/src/events/ExtendedEventSequence.php | src/events/ExtendedEventSequence.php | <?php
namespace raoul2000\workflow\events;
use yii\base\BaseObject;
use raoul2000\workflow\events\IEventSequence;
/**
* This event sequence provider include additional generic events to each sequence.
*
* For example, when entering into a workflow, the generic event **EnterWorkflow()** is
* added to the sequence ... | php | BSD-3-Clause | 1e21516d0f2e102664cf194c33f2d74937eb7fd4 | 2026-01-05T03:49:18.748945Z | false |
raoul2000/yii2-workflow | https://github.com/raoul2000/yii2-workflow/blob/1e21516d0f2e102664cf194c33f2d74937eb7fd4/src/events/ReducedEventSequence.php | src/events/ReducedEventSequence.php | <?php
namespace raoul2000\workflow\events;
use yii\base\BaseObject;
use raoul2000\workflow\events\IEventSequence;
/**
* The reduced event sequence.
*
* @see \raoul2000\workflow\events\IEventSequence
*
*/
class ReducedEventSequence extends BaseObject implements IEventSequence
{
/**
* Produces the following seq... | php | BSD-3-Clause | 1e21516d0f2e102664cf194c33f2d74937eb7fd4 | 2026-01-05T03:49:18.748945Z | false |
raoul2000/yii2-workflow | https://github.com/raoul2000/yii2-workflow/blob/1e21516d0f2e102664cf194c33f2d74937eb7fd4/src/events/WorkflowEvent.php | src/events/WorkflowEvent.php | <?php
namespace raoul2000\workflow\events;
use yii\base\ModelEvent;
use raoul2000\workflow\base\WorkflowException;
/**
* WorkflowEvent is the base class for all event fired within a workflow.
*/
class WorkflowEvent extends ModelEvent
{
const ANY_STATUS = '*';
const ANY_WORKFLOW = '*';
private $_start;
private... | php | BSD-3-Clause | 1e21516d0f2e102664cf194c33f2d74937eb7fd4 | 2026-01-05T03:49:18.748945Z | false |
raoul2000/yii2-workflow | https://github.com/raoul2000/yii2-workflow/blob/1e21516d0f2e102664cf194c33f2d74937eb7fd4/src/events/IEventSequence.php | src/events/IEventSequence.php | <?php
namespace raoul2000\workflow\events;
/**
*
* Defines the interface that must be implemented by all Event sequence.
* An <b>event sequence</b> is an array of workflow events that occurs on three occasions :
* <ul>
* <li><b>createEnterWorkflowSequence</b> : when a model enters into a workflow</li>
* <li><b>c... | php | BSD-3-Clause | 1e21516d0f2e102664cf194c33f2d74937eb7fd4 | 2026-01-05T03:49:18.748945Z | false |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.