2
Contributors
2
Replies
3
Views
5 Years
Discussion Span
Last Post by veedeoo
0

Hi,

Look for the class file, and the method called $android.. OOP have setThisFunction and getThisFunction.. in your case look for the seThisFunction.. e.g. public function fetchFile()..

The item you are looking for is probably located in the constructor, if not look up somewhere above the property block.

By the way, you already asked this question? Why double post it?

Edited by veedeoo: more info added

0

Correction, look for the class android, and for the method called filedir as in

  $android = new Android();

 define('BASE_DIR', $android->filedir);

Inspect all the methods in the android class.. one of them is responsible for what you are looking for.. If you don't find it, just extend the android class like so..

 class YourClass extends android{
 private $yourProperty = null;

 public function __construct('redefinePropertyNeededByYourMethodAndMustBeInheritedByYourClass_YourClass,$yourProperty){
 ## below is pretty much the copy of the parents constructor
 parent::__construct('redefinePropertyNeededByYourMethodAndMustBeInheritedByYourClass_YourClass);
 $this->YourProperty = $whatEverIsYourNewProperty;

 ## define your method declare it as public if it is set as private above.
 public function get_yourMethodOrFunction(){

 ## this is the part where you need to do your changes

 }

 return $this->get_changesYouMadeOutOftheParentsMethod;

 }
 ## end of class YourClass

Edited by veedeoo: more info added

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.