0
0
Fork 0
mirror of https://github.com/salesagility/SuiteCRM.git synced 2025-03-16 06:13:34 +00:00

Fixed review comment: Function visiblility

This commit is contained in:
Dillon-Brown 2018-09-03 11:57:06 +01:00
parent 1379617138
commit 85668ffaf8
5 changed files with 5 additions and 5 deletions

View file

@ -48,7 +48,7 @@ if (!defined('sugarEntry') || !sugarEntry) {
class SugarWidgetSubPanelConcat extends SugarWidgetField
{
function displayList($layout_def)
public function displayList($layout_def)
{
$value='';
if (isset($layout_def['source']) and is_array($layout_def['source']) and isset($layout_def['fields']) and is_array($layout_def['fields'])) {

View file

@ -53,7 +53,7 @@ class SugarWidgetSubPanelEditRoleButton extends SugarWidgetField
return ' ';
}
function displayList($layout_def)
public function displayList($layout_def)
{
global $app_strings;
global $subpanel_item_count;

View file

@ -335,7 +335,7 @@ class Opportunity extends SugarBean
builds a generic search based on the query string using or
do not include any $this-> because this is called on without having the class instantiated
*/
function build_generic_where_clause ($the_query_string) {
public function build_generic_where_clause ($the_query_string) {
$where_clauses = Array();
$the_query_string = DBManagerFactory::getInstance()->quote($the_query_string);
array_push($where_clauses, "opportunities.name like '$the_query_string%'");

View file

@ -258,7 +258,7 @@ class ProjectTask extends SugarBean
/*
*
*/
function build_generic_where_clause ($the_query_string)
public function build_generic_where_clause ($the_query_string)
{
$where_clauses = array();
$the_query_string = DBManagerFactory::getInstance()->quote($the_query_string);

View file

@ -390,7 +390,7 @@ FROM prospect_lists_prospects plp
}
function get_list_view_data(){
public function get_list_view_data(){
$temp_array = $this->get_list_view_array();
$temp_array["ENTRY_COUNT"] = $this->get_entry_count();
return $temp_array;