Closed Thread
Results 1 to 3 of 3

Thread: PHP Cross Reference of Joomla

  1. #1
    phpforfun's Avatar
    phpforfun is offline Speaks fluent binary
    Join Date
    Feb 2008
    Posts
    1,232
    Blog Entries
    17
    Rep Power
    24

    PHP Cross Reference of Joomla

    PHPXRef 0.7 : Joomla 1.0.15 DE : /

    Ever use joomla and try to edit the script and find a function you need to define but cant find it? I did, I couldnt find how to define 'mosmakepassword()'. So I googled it, found this site, thought id give it a shot.. It said this.

    Function and Method Cross Reference
    mosmakepassword()
    Defined at:

    * /installation/common.php -> line 47
    * /includes/joomla.php -> line 4141

    Referenced 16 times:

    * /administrator/components/com_users/admin.users.php -> line 312
    * /administrator/components/com_users/admin.users.php -> line 314
    * /administrator/components/com_users/admin.users.php -> line 320
    * /administrator/components/com_users/admin.users.php -> line 335
    * /includes/joomla.php -> line 1077
    * /includes/joomla.php -> line 6138
    * /components/com_user/user.php -> line 124
    * /administrator/index.php -> line 89
    * /installation/install3.php -> line 196
    * /components/com_registration/registration.php -> line 80
    * /components/com_registration/registration.php -> line 88
    * /components/com_registration/registration.php -> line 148
    * /components/com_registration/registration.php -> line 159
    * /CHANGELOG.php -> line 491
    * /installation/install4.php -> line 201
    * /installation/install4.php -> line 226
    It gives you every time its defined and every time its used by default, thats awesome.

    then you click on the function, and it shows it to you:
    function mosMakePassword($length) {
    $salt = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVW XYZ0123456789";
    $len = strlen($salt);
    $makepass="";
    mt_srand(10000000*(double)microtime());
    for ($i = 0; $i < $length; $i++)
    $makepass .= $salt[mt_rand(0,$len - 1)];
    return $makepass;
    }
    I just figured that this would be great for joomla users
    Last edited by phpforfun; 07-15-2008 at 10:30 AM.
    Checkout my new forum! http://adminreference.com/

  2. CODECALL Circuit advertisement
    Join Date
    Always
    Posts
    Many

     
  3. #2
    antoniyo is offline Learning Programmer
    Join Date
    Oct 2008
    Posts
    54
    Rep Power
    0

    Re: PHP Cross Reference of Joomla

    Well how do you know that PHP Cross Reference of Joomla, by the way i already knew that but it is nice to here same thing from another . thanks for sharing.

  4. #3
    Jordan Guest

    Re: PHP Cross Reference of Joomla

    Not bad, thanks. For Joomla 1.5 you can use the developer network: Joomla! Developer Network

    You do realize that Joomla 1.0.x has announced the EOL in July (Check out my blog)?

Closed Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. cross languagues
    By SimonBoris in forum General Programming
    Replies: 4
    Last Post: 11-14-2009, 10:46 AM
  2. Cross Contamination
    By BlaineSch in forum Classes and Code Snippets
    Replies: 3
    Last Post: 08-20-2009, 11:40 AM
  3. Why did the chicken cross the road?
    By Phoenixz in forum The Lounge
    Replies: 2
    Last Post: 02-18-2009, 04:24 AM
  4. Joomla! Tutorial #2: Joomla! Extensions
    By takercena in forum Tutorials
    Replies: 0
    Last Post: 02-22-2008, 07:54 PM
  5. Cross Platform Compiler
    By Danerd100 in forum C and C++
    Replies: 25
    Last Post: 01-21-2008, 10:28 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts