CodeCharge Studio
search Register Login  

Web Reporting

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> Wishes

 List of all new functions in CCS3

Print topic Send  topic

Author Message
Nitedula


Posts: 22
Posted: 07/12/2006, 1:55 PM

Hi!

I've been away from coding with CCS for a while and as I now look through the Common.php - as I always do on new CCS versions - I came accross lots of new functions that I couldn't find in the manual and the "what's new" section of the Manual.

to name only some:
//CCGetOriginalFileName @0-16048768  
function CCGetOriginalFileName($value)  
{  
 return preg_match("/^\d{14,}\./", $value) ? substr($value, strpos($value, ".") + 1) : $value;  
}  
//End CCGetOriginalFileName  
  
//ComposeStrings @0-B7BE7781  
function ComposeStrings($str1, $str2, $delimiter = "<br>")  
{  
 return $str1 . (strlen($str1) && strlen($str2) ? $delimiter : "") . $str2;  
}  
//End ComposeStrings  
  
//CCStrLen @0-3660E806  
function CCStrLen($str, $encoding = false) {  
 return strlen($str);  
}  
//End CCStrLen  
  
//CCSubStr @0-552E6589  
function CCSubStr($str, $offset, $length = null, $encoding = false) {  
 return is_null($length) ? substr($str, $offset) : substr($str, $offset, $length);  
}  
//End CCSubStr  
  
//CCStrPos @0-BA504839  
function CCStrPos($haystack, $needle, $offset = "", $encoding = false) {  
 return strpos($haystack, $needle, $offset);  
}  
//End CCStrPos

#1 why all the fuss and recode php functions (eg strlen())
#2 is there a list of all new added functions or maybe ALL functions in CCS3

TIA
View profile  Send private message
Claudio Morinico
Posted: 07/12/2006, 2:18 PM

#1 - Remember that PHP supports many programming languages, so maybe it
needed a common implementation for such functions

#2 - Online Help? This functions are for internal CCS use, and maybe
they forgot to update the help files.

Best Regards,

--
Claudio Morinico,
Montevideo - Uruguay
Nitedula


Posts: 22
Posted: 07/12/2006, 5:05 PM

Quote Claudio Morinico:
...Remember that CCS supports many programming languages, so maybe it needed a common implementation for such functions...This functions are for internal CCS use, and maybe they forgot to update the help files.

but when they are for the different programming languages, why shouldn't I also use them in my custom code?
would save me some "translation" work when I switch to another language ...
View profile  Send private message
mamboBROWN


Posts: 1713
Posted: 07/12/2006, 6:33 PM

Nitedula
If you really want to know why not just put a question to the support staff. If anyone could answer your question it would definitely be them ( http://support.yessoftware.com ).
View profile  Send private message
Nitedula


Posts: 22
Posted: 07/13/2006, 12:40 AM

Quote mamboBROWN:
Nitedula
If you really want to know why not just put a question to the support staff. If anyone could answer your question it would definitely be them ( http://support.yessoftware.com ).

#1 because I've been using CCS for 5 years now and never again bought support tickets

#2 there are always USERS who share their knowledge like Joachim Uersfeld does

DevData Forum (all german): http://www.devdata.de/cc/ccsforthema.php?MsgID=4466
direkt Link to events in CCS3 (pdf): http://217.160.82.35/dd2006/ccd/Ereignisablauf_in_CCS3.pdf

or have you ever seen such a flow chart before ??
View profile  Send private message
mamboBROWN


Posts: 1713
Posted: 07/13/2006, 4:05 PM

Nitedula
You don't have to have support tickets to ask support questions about errors or documentation. I too have been using CCS for quite some time and I have not bought support tickets either but they have always answered my questions/request. You won't know unless you ask??? It is at least worth a try. And if it really bothers you why not put a request in the wishes forum for better documentation of internal CCS functions.
View profile  Send private message
guest
Posted: 07/14/2006, 1:16 AM

Quote Nitedula:

DevData Forum (all german): http://www.devdata.de/cc/ccsforthema.php?MsgID=4466
direkt Link to events in CCS3 (pdf): http://217.160.82.35/dd2006/ccd/Ereignisablauf_in_CCS3.pdf

or have you ever seen such a flow chart before ??

Damn useful, even if it is in German!!

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

Web Database

Join thousands of Web developers who build Web applications with minimal coding.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.