PHP Oops bir fonksiyonla ilgili classname ve dosya bilgilerini almak için herhangi bir yolu var

0 Cevap

i m learning OOPS with JOOMLA... here sometimes i found difficulties to find the method used in some class... is there any way to find that this function is declared on this class or useful information about that function??

xmaple için

class testModeltest extends JModel
{
     function modifyCategory($data = array())

{ $image = $this->imageResize($value); ....... } }

şimdi ben imageResize() function ilan nerede olduğunu bilmek istiyorum / ilk defa tanımlanmış ... Bu işlev doğmuş sınıf ve dosya adını demektir

i __METHOD__ Bu sınıf içinde faydalı bilgiler alınamadı sihirli constact kullanılır. ben sadece yöntemi adını koymak ve nereye i fonksiyonu bu tip gerekir ben bu fonksiyon tam bilgi almak

i tesisin altında bir tür (emin im orada bazı fonksiyon sınıfı hakkında bilgi almak için php ama bilmiyorum) istiyorum

functionInfo($methodname) // here i just put the function name

 which return

  Function Name:imageResize
  Main class : imageclass
  File name where it has been declared : /foldername/filename.php
  currenty using(called) in : thisclass::this function

0 Cevap