Welcome Guest, Not a member yet? Register   Sign In
Search Results
    Thread: Controller Method Name Prefix
Post: RE: Controller Method Name Prefix

cartalot, Thanks for the additional information. I do understand that a underscore prefix previously denoted a private method to the reader but was NOT enforced by php. However, I believe the use o...
6,322 Views
8 Replies
10-19-2016, 12:44 PM
Cannondale
    Thread: Controller Method Name Prefix
Post: RE: Controller Method Name Prefix

dave friend, You make an interesting observation. In my company, we have php standards that require custom functions/methods to start with an underscore in order to quickly and easily distinguish b...
6,322 Views
8 Replies
10-19-2016, 11:07 AM
Cannondale
    Thread: From Validation Bug or Syntax
Post: From Validation Bug or Syntax

I'm trying to call a custom validation method (), which reside in a custom library (). But I'm getting a CI error in libraries/Form_validation.php. Not sure if this is a bug of a problem with my synt...
1,201 Views
0 Replies
10-16-2016, 10:43 AM
Cannondale
    Thread: Adding alpha_spaces_dashes as a native validation rule
Post: RE: Adding alpha_spaces_dashes as a native validat...

PaulD, thanks for your thoughts. They were helpful.
3,709 Views
3 Replies
10-16-2016, 06:20 AM
Cannondale
    Thread: Adding alpha_spaces_dashes as a native validation rule
Post: Adding alpha_spaces_dashes as a native validation ...

Any thoughts on adding alpha_spaces_dashes as a native validation rule?  Validating a persons last name is very common. Last names can include dashes and spaces but not numbers. However, this common...
3,709 Views
3 Replies
10-16-2016, 05:25 AM
Cannondale
    Thread: Controller Method Name Prefix
Post: Controller Method Name Prefix

The CI 3.10 documentation indicates that "Prefixing method names with an underscore will also prevent them from being called." However, PHP has no such naming restriction. Is this restriction somethi...
6,322 Views
8 Replies
10-14-2016, 08:14 AM
Cannondale
    Thread: Using $_SESSION vs $this->session
Post: RE: Using $_SESSION vs $this->session

dave friend Wrote: (09-30-2016, 06:52 PM) -- If you don't use CI_Session then you will have to write your own code managing PHP sessions. $_SESSION isn't available until some code in your app makes a...
6,184 Views
4 Replies
10-01-2016, 03:42 AM
Cannondale
    Thread: Using $_SESSION vs $this->session
Post: Using $_SESSION vs $this->session

Question: Is using $_SESSION more efficient than using CI session class? It would seem that using $_SESSION may be more efficient as it is already available to the controller, models and views. Ho...
6,184 Views
4 Replies
09-30-2016, 03:18 PM
Cannondale
    Thread: Show all validation errors for a form field
Post: Show all validation errors for a form field

Is there a way to show all validation errors for one form field that contains multiple rules? The code below only shows one error if the field is not entered. PHP Code: -- form_validation->set_...
1,108 Views
0 Replies
09-29-2016, 12:50 PM
Cannondale
    Thread: Invalid system path in index.php
Post: Invalid system path in index.php

Guys, I'm new to CI and this forum but not to programming and server admin. I have installed (uploaded) CI v3.1.0 to a shared server. The CI server and application folders are located in my ser...
3,046 Views
1 Replies
09-17-2016, 08:45 AM
Cannondale

Theme © iAndrew 2016 - Forum software by © MyBB