kintObject.class.php 449 B

12345678910111213141516171819
  1. <?php
  2. abstract class KintObject
  3. {
  4. /** @var string type of variable, can be set in inherited object or in static::parse() method */
  5. public $name = 'NOT SET';
  6. /** @var string quick variable value displayed inline */
  7. public $value;
  8. /**
  9. * returns false or associative array - each key represents a tab in default view, values may be anything
  10. *
  11. * @param $variable
  12. *
  13. * @return mixed
  14. */
  15. abstract public function parse( & $variable );
  16. }