!C99Shell v. 2.1 [PHP 8 Update] [02.02.2022]!

Software: Apache/2.4.53 (Unix) OpenSSL/1.1.1o PHP/7.4.29 mod_perl/2.0.12 Perl/v5.34.1. PHP/7.4.29 

uname -a: Linux vps-2738122-x 4.15.0-213-generic #224-Ubuntu SMP Mon Jun 19 13:30:12 UTC 2023 x86_64 

uid=1(daemon) gid=1(daemon) grupos=1(daemon) 

Safe-mode: OFF (not secure)

/opt/lampp/lib/php/doc/HTML_Progress/docs/TDG/HTML_Progress/   drwxr-xr-x
Free 13.06 GB of 61.93 GB (21.08%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     tutorial_progress.setdm.pkg.html (8.27 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
HTML_Progress::setDM
HTML_Progress
[ class tree: HTML_Progress ] [ index: HTML_Progress ] [ all elements ]
Prev Next
HTML_Progress::setDM
sets the new instance of HTML_Progress_DM object

Synopsis

require_once 'HTML/Progress.php';

void HTML_Progress::setDM( string $model)

Description

This method is used to set the new instance of HTML_Progress_DM object used to manage mathematical data model.

$model is the name of a class (that must exists) which inherit from HTML_Progress_DM.

Parameter

    string $model
  • a classname that will replace the default HTML_Progress_DM object.

Throws

Possible PEAR_Error values

Error level Error code Error message Solution
error HTML_PROGRESS_ERROR_INVALID_INPUT invalid input, parameter #1 "$model" was expecting "class defined" Defines the new class
error HTML_PROGRESS_ERROR_INVALID_INPUT invalid input, parameter #1 "$model" was expecting "HTML_Progress_DM extends" Fixed the inheritance of the new class

Note

( HTML_Progress >= 1.0 )

This function can not be called statically.

See

HTML_Progress::getDM

Example

  1. <?php
  2. require_once 'HTML/Progress.php';
  3.  
  4. class Progress_Plus extends HTML_Progress_DM
  5. {
  6. var $_plus;
  7. function Progress_Plus()
  8. {
  9. $this->setMinimum(0);
  10. $this->setMaximum(60);
  11. $this->setIncrement(1);
  12. $this->setValue(0);
  13. $this->myNewFeature('a new feature');
  14. }
  15.  
  16. function myNewFeature($plus)
  17. {
  18. $this->_plus = $plus;
  19. }
  20. }
  21.  
  22. $bar = new HTML_Progress();
  23. $bar->setDM('Progress_Plus');
  24. $dm =& $bar->getDM();
  25.  
  26. print_r($dm);
  27. ?>

Prev Up Next
HTML_Progress::getDM Reference Guide HTML_Progress::isStringPainted

Documentation generated on Sun, 12 Sep 2004 20:23:08 +0200 by phpDocumentor 1.3.0RC3

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ Read-Only ]

:: Make Dir ::
 
[ Read-Only ]
:: Make File ::
 
[ Read-Only ]

:: Go Dir ::
 
:: Go File ::
 

--[ c99shell v. 2.1 [PHP 8 Update] [02.02.2022] maintained byC99Shell Github | Generation time: 0.5507 ]--