| 1234567891011121314151617181920212223242526272829303132333435363738 |
- <?php
- /*
- * To change this license header, choose License Headers in Project Properties.
- * To change this template file, choose Tools | Templates
- * and open the template in the editor.
- */
- class timekeeper_shortcodes extends e_shortcode
- {
-
- function sc_element_number($parm='')
- {
- return vartrue($this->var['number']);
- }
-
- function sc_element_symbol($parm='')
- {
- return vartrue($this->var['symbol']);
- }
-
- function sc_element_name($parm='')
- {
- return vartrue($this->var['name']);
- }
-
- function sc_element_phase($parm='')
- {
- return vartrue($this->var['phase']);
- }
-
- function sc_element_atomic_mass($parm='')
- {
- return '('.vartrue($this->var['atomic_mass']).')';
- }
- //{SAY_HELLO},{ELEMENT_SYMBOL}
-
- }
|