# Class ObjStore

© 2019 Palo Alto Networks, Inc. All rights reserved.

Licensed under SCRIPT SOFTWARE AGREEMENT, Palo Alto Networks, Inc., at https://www.paloaltonetworks.com/legal/script-software-license-1-0.pdf

  ObjStore uses PathableName, XmlConvertible

#### Direct known subclasses

AppStore, EthernetIfStore, SecurityProfileStore, TagStore, TmpInterfaceStore, TunnelIfStore, VirtualRouterStore, VirtualWireStore, VlanIfStore, ZoneStore, IkeCryptoProfileStore, IKEGatewayStore, IPSecCryptoProfileStore, IPsecTunnelStore, LoopbackIfStore, ManagedDeviceStore, ScheduleStore, SecurityProfileGroupStore

#### Indirect known subclasses

AggregateEthernetIfStore
Located at object-classes/ObjStore.php

Methods summary
`public` | # `count( )`
`public` | # `countUnused( )`
`public` | # `setName( mixed $newname )`
`protected` | # `findByName( mixed $name, mixed $ref = null )`
`public` | # `find( mixed $name )`
`public` | # `inStore( mixed $Obj )` Returns 'true' if this object is in the store Returns 'true' if this object is in the store
`public` | # `findOrCreate( mixed $name, mixed $ref = null )` search for object with its name and returns it. If it doesn't exist, create it and return it. search for object with its name and returns it. If it doesn't exist, create it and return it.
`public` | # `createTmp( mixed $name, mixed $ref = null )`
`public` | # `display( mixed $indentSpace = 0 )`
`public` | # `referencedObjectRenamed( `ReferenceableObject` $h, string $oldName )` #### Parameters $h ``ReferenceableObject`` $h $oldName `string` $oldName #### Throws ``Exception``
`protected` | # `removeAll( )`
`protected boolean` | # `remove( `ReferenceableObject` $Obj )` #### Parameters $Obj ``ReferenceableObject`` $Obj #### Returns `boolean`
`public array` | # `getAll( )` Returns an array with all objects in store Returns an array with all objects in store #### Returns `array`
`public` | # `rewriteXML( )`

Methods used from PathableName
`(), (), ()`

Methods used from XmlConvertible
`(), (), (), (), ()`

Properties summary
`public mixed` | $owner | `null` | #
`public string` | $name | `''` | #
`public null|`ReferenceableObject[]`` | $o | `array()` | #
`protected null|`ReferenceableObject[]`` | $nameIndex | `array()` | #
`protected mixed` | $classn | `null` | #
`protected boolean` | $skipEmptyXmlObjects | `FALSE` | #

Properties used from XmlConvertible
`$xmlroot`

Magic properties used from PathableName
`$name, $owner`