Welcome Guest, Not a member yet? Register   Sign In
Model Functions - Same Code
#6

[eluser]Sam Dark[/eluser]
Code:
class Post extends Model {
  ststic function doit(){
    return '123';
  }
  
  function get_123(){
    return self::doit();
  }
}


Messages In This Thread
Model Functions - Same Code - by El Forum - 06-24-2008, 03:42 AM
Model Functions - Same Code - by El Forum - 06-24-2008, 04:49 AM
Model Functions - Same Code - by El Forum - 06-24-2008, 05:04 AM
Model Functions - Same Code - by El Forum - 06-24-2008, 05:05 AM
Model Functions - Same Code - by El Forum - 06-24-2008, 05:27 AM
Model Functions - Same Code - by El Forum - 06-24-2008, 05:30 AM
Model Functions - Same Code - by El Forum - 06-24-2008, 05:37 AM



Theme © iAndrew 2016 - Forum software by © MyBB