mirror of
https://we.phorge.it/source/phorge.git
synced 2025-02-23 20:19:03 +01:00
16 lines
226 B
PHP
16 lines
226 B
PHP
|
<?php
|
||
|
|
||
|
abstract class AphrontAutoIDView
|
||
|
extends AphrontView {
|
||
|
|
||
|
private $id;
|
||
|
|
||
|
final public function getID() {
|
||
|
if (!$this->id) {
|
||
|
$this->id = celerity_generate_unique_node_id();
|
||
|
}
|
||
|
return $this->id;
|
||
|
}
|
||
|
|
||
|
}
|