Welcome Guest, Not a member yet? Register   Sign In
Small typo in Creating Core System Classes documentation
#1

[eluser]janogarcia[/eluser]
In the following example of the Creating Core System Classes documentation the constructor should read MY_Input instead

Code:
class MY_Input extends CI_Input {

    function My_Input()
    {
        parent::CI_Input();
    }
}
#2

[eluser]sophistry[/eluser]
@jano - put manual typos directly in the bug tracker, that will make sure that they get fixed. there is a category just for typos.

cheers.
#3

[eluser]Colin Williams[/eluser]
Bad style but will cause no functional problems. PHP is case-insensitive
#4

[eluser]sophistry[/eluser]
PHP itself may be case-insensitive, but the *nix filesystem is case-sensitive... and that extension of the input class given in the example maps directly to a file named MY_Input.php. It's just less confusing if everything maintains that convention.

"The CI manual, 10 times less confusing than competing brands." Wink
#5

[eluser]Colin Williams[/eluser]
You have to throw a wrench in the gears sometimes to keep in interesting. I say leave it Smile
#6

[eluser]sophistry[/eluser]
[quote author="Colin Williams" date="1244611091"]You have to through (sic) a wrench in the gears sometimes to keep in interesting. I say leave it Smile[/quote]

ha ha! agreed. no point making it too easy for the sweltering masses. it reminds me of this funny story about the 500 mile email:

http://www.ibiblio.org/harris/500milemail.html
#7

[eluser]janogarcia[/eluser]
OK, I'll move it to the Bug tracker (sorry Colin... Smile )
#8

[eluser]Colin Williams[/eluser]
I'll just find something else to hold on to...




Theme © iAndrew 2016 - Forum software by © MyBB