+ Reply to Thread
Results 1 to 3 of 3

Thread: PHP Cross Reference of Joomla

  1. #1
    Speaks fluent binary phpforfun has a spectacular aura about phpforfun has a spectacular aura about phpforfun's Avatar
    Join Date
    Feb 2008
    Posts
    1,204
    Blog Entries
    17

    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 12:30 PM.
    AmpHosted - Reliable Hosting [Shared, Reseller, Exchange, VPS]

  2. #2
    Learning Programmer antoniyo can only hope to improve
    Join Date
    Oct 2008
    Posts
    55

    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.

  3. #3
    Administrator Jordan is a name known to all Jordan is a name known to all Jordan is a name known to all Jordan is a name known to all Jordan is a name known to all Jordan is a name known to all Jordan's Avatar
    Join Date
    Nov 2005
    Location
    Hendersonville, NC
    Posts
    24,556
    Blog Entries
    97

    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)?

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

     

Similar Threads

  1. Project: ionFiles - Joomla Simple File Download
    By Jordan in forum Community Projects
    Replies: 369
    Last Post: 01-30-2010, 01:10 PM
  2. PHP 5 and OOP
    By Jordan in forum PHP Tutorials
    Replies: 11
    Last Post: 09-22-2008, 01:58 AM
  3. Tutorial : Joomla! The Basic
    By takercena in forum Tutorials
    Replies: 4
    Last Post: 02-22-2008, 11:06 PM

Bookmarks

Bookmarks

     
        Algorithms and Data Structures

        Java tutorials

        Algorithms Forum

Posting Permissions

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