code/models/PlaceableObject_Preset.php
public function getPlaceableObject()
    {
        if ($this->placeableobject) {
            return $this->placeableobject;
        }
        $instance = Injector::inst()->get($this->ObjectClassName);
        $this->placeableobject = $instance;
        return $instance;
    }
public function getPlaceableObject()
    {
        if ($this->placeableobject) {
            return $this->placeableobject;
        }
        $instance = Injector::inst()->get($this->ObjectClassName);
        $this->placeableobject = $instance;
        return $instance;
    }
public function getPlaceableObject ( ) { if ( $ this -> placeableobject ) { return $ this -> placeableobject ; } $ instance = Injector :: inst ( ) -> get ( $ this -> ObjectClassName ) ; $ this -> placeableobject = $ instance ; return $ instance ; }
Gets a class instance of PlaceableObject
@return string
Gets a class instance of PlaceableObject