Welcome Guest, Not a member yet? Register   Sign In
Catch Validation_Errors() into an array() ?
#8

[eluser]stormbytes[/eluser]
[quote author="mawi27" date="1288194601"]
It's the fact that i found in nearly all of your posts you try to find ways of doing things different from the examples in the user_guide. Examples:[/quote]
[quote author="mawi27" date="1288194601"]
- It shows how to extend a base class by using name MY_Baseclass, you try to do it by foo or MY_common. Then you ask "Is there an issue with loading libs?"[/quote]

Remarkable. Actually I spent the better part of 10 hours on that issue. It was never my intention to 'extend core classes'. In fact, I was reading about loading custom classes (application/libraries) which, if anything, aims to achieve a very different goal. As for experimenting with MY_common, well that's simply a name I decided to use to describe the class I wanted to write. I saw 'MY_' as a CI conventional prefix and so I prepended my class name. You seem to have altogether misunderstood my intentions and seemingly, feel that I went about things 'differently'.

[quote author="mawi27" date="1288194601"]
- It says there, helpers contain functions w/o dependence to other functions, you try to access config->vars globally in your helper.
[/quote]

I invite you to re-read the post, perhaps a bit more thoroughly then merely skimming some quotes, so that you might better understand the substance and context of the questions I asked. In this instance specifically, I was fairly elaborate (in a subsequent respose) about what my aims were, and how/why these parted from the conventional $this->load->config() approach.

[quote author="mawi27" date="1288194601"]
- It is explained how to access the variables in config files, you are constructing an own class.
[/quote]

See above -

[quote author="mawi27" date="1288194601"]
- You ask a question regarding the very basic PHP boolean operator 'OR' where you simply have not understood how this works
- In another Post you ask a bunch of questions just to learn that PHP variables are case sensitive
and so on.

These make me think you didn't read neither the PHP nor the CI user guide thoroughly enough and/or your project is a bit ambitious for your PHP knowledge. Of course this is only an assumption on my side, as i don't know you as a person really.

No offense meant, only cause you asked.
Marco[/quote]

What can I say, Marco? Its obvious you are simply beyond 'stupid questions' and silly oversights. Some of us aren't nearly as gifted and dare not hold ourselves to such lofty standards, despite incessant effort and hard work. I understand it can be hard to empathize for someone who is clearly accomplished. I thank you for sharing your sentiments on my 'issues' and for your words of encouragement.

On a personal note, I don't take offense and I certainly appreciate your input, wherever/whenever you choose to provide it. It's very helpful and ultimately that is the point of learning and sharing. If I may offer my own word of advice, I'd encourage you to continue posting helpful tips and solutions, as you seem far more gifted in the realms of CI & PHP then in more qualitative matters.

Cheers!


Messages In This Thread
Catch Validation_Errors() into an array() ? - by El Forum - 10-27-2010, 01:55 AM
Catch Validation_Errors() into an array() ? - by El Forum - 10-27-2010, 01:57 AM
Catch Validation_Errors() into an array() ? - by El Forum - 10-27-2010, 01:58 AM
Catch Validation_Errors() into an array() ? - by El Forum - 10-27-2010, 02:03 AM
Catch Validation_Errors() into an array() ? - by El Forum - 10-27-2010, 02:38 AM
Catch Validation_Errors() into an array() ? - by El Forum - 10-27-2010, 04:17 AM
Catch Validation_Errors() into an array() ? - by El Forum - 10-27-2010, 04:50 AM
Catch Validation_Errors() into an array() ? - by El Forum - 10-27-2010, 05:27 AM



Theme © iAndrew 2016 - Forum software by © MyBB