Project

General

Profile

Bug #15627 ยป class.ux_sc_db_layout.php

Administrator Admin, 2006-02-15 12:49

 
<?php
class ux_SC_db_layout extends SC_db_layout {
/**
* Returns a SQL query for selecting sys_language records.
*
* @param integer Page id: If zero, the query will select all sys_language records from root level which
* are NOT hidden. If set to another value, the query will select all sys_language records
* that has a pages_language_overlay record on that page (and is not hidden, unless you are admin user)
* @return string Return query string.
*/
function exec_languageQuery($id){
if($id && $this->pageinfo['_ORIG_uid']) $id=$this->pageinfo['_ORIG_uid'];
return parent::exec_languageQuery($id);
}
}
?>
    (1-1/1)