Skip to content

Commit

Permalink
Merge pull request #70 from pborreli/typos
Browse files Browse the repository at this point in the history
Fixed typos
  • Loading branch information
dbu committed Aug 13, 2013
2 parents 2ed00cd + 7cf7c83 commit 79319b8
Show file tree
Hide file tree
Showing 14 changed files with 23 additions and 23 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ are interchangeable with each other.

# Implementations

*Jackalope separates the content repository logic from the storage backend. Several backend drivers are currently being developped.*
*Jackalope separates the content repository logic from the storage backend. Several backend drivers are currently being developed.*

* [Jackalope-Jackrabbit](https://jackalope.github.com/): Mapping requests to a java Jackrabbit instance. To day the most feature complete implementation.
* [Jackalope-DoctrineDBAL](https://jackalope.github.com/): Storing data in a relational database using the Doctrine Database Abstraction Layer.
Expand Down
6 changes: 3 additions & 3 deletions doc/JCR_TO_PHPCR.txt
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ does *not* require the ArrayAccess interface with random access by key.
Additionally, API elements have been declared as Traversable where it makes sense.
This allows to directly use the objects in a foreach statement.
The implementation either has to implement IteratorAggregate::getIterator to
return a suitable iterator, or be an iterator itselves.
return a suitable iterator, or be an iterator itself.

PHP NOTE: When implementing the interfaces, you have to declare either
implements Iterator or IteratorAggregate explicitly in your class signature.
Expand Down Expand Up @@ -250,14 +250,14 @@ Main differences to the original Java UserTransaction:
- java.lang.SecurityException -> \PHPCR\AccessDeniedException
* New PHPCR exception specified by the Java spec:
- RollbackException -> \PHPCR\Transaction\RollbackException
* Standrad Java exception exchanged by SPL PHP exception:
* Standard Java exception exchanged by SPL PHP exception:
- java.lang.IllegalStateException -> LogicException
* Two Java exceptions were dropped:
- HeuristicMixedException
- HeuristicRollbackException

An implementation of the UserTransaction interface has to take care of that if
a transaction is startet every following request to the repository will be
a transaction is started every following request to the repository will be
done in the transactions context.

It shall also be possible to use the UserTransaction interface on a deeper
Expand Down
2 changes: 1 addition & 1 deletion doc/config/README
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ How to use the configuration file to generate the documentation
to render the documentation when your working directory is the phpcr root directory.

NOTE:
Please do not commit your copy of the configuration file or the generated documenation.
Please do not commit your copy of the configuration file or the generated documentation.


Links
Expand Down
2 changes: 1 addition & 1 deletion src/PHPCR/NodeType/NodeTypeDefinitionInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ public function isMixin();
public function hasOrderableChildNodes();

/**
* Determins if the node type is queryable.
* Determines if the node type is queryable.
*
* Returns true if the node type is queryable, meaning that the
* available-query-operators, full-text-searchable and query-orderable
Expand Down
2 changes: 1 addition & 1 deletion src/PHPCR/PropertyInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -760,7 +760,7 @@ public function getProperty();
* For a BINARY property, getLength returns the number of bytes.
* For other property types, getLength returns the same value that would be
* returned by calling strlen() on the value when it has been converted to
* a STRING according to standard JCR propety type conversion.
* a STRING according to standard JCR property type conversion.
*
* Returns -1 if the implementation cannot determine the length.
*
Expand Down
2 changes: 1 addition & 1 deletion src/PHPCR/PropertyType.php
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
*
* PHP Note on date formatting:
* Since there is no formatting for milliseconds in PHP we construct the date formatting by cutting the microseconds
* to 3 positions. Unfortunately this might cause an inacuracy of one millisecond in the worst case.
* to 3 positions. Unfortunately this might cause an inaccuracy of one millisecond in the worst case.
*
* @author Sebastian Kurfürst <sebastian@typo3.org>
* @author Karsten Dambekalns <karsten@typo3.org>
Expand Down
2 changes: 1 addition & 1 deletion src/PHPCR/Query/QOM/QueryObjectModelInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
* - a list of zero or more orderings. The orderings specify the order in which
* the node-tuples appear in the query results. The relative order of two
* node-tuples is determined by evaluating the specified orderings, in list
* order, untilencountering an ordering for which one node-tuple precedes the
* order, until encountering an ordering for which one node-tuple precedes the
* other. If no orderings are specified, or if for none of the specified
* orderings does one node-tuple precede the other, then the relative order
* of the node-tuples is implementation determined (and may be arbitrary).
Expand Down
6 changes: 3 additions & 3 deletions src/PHPCR/RepositoryInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -118,11 +118,11 @@ interface RepositoryInterface
*
* - IDENTIFIER_STABILITY_METHOD_DURATION - Identifiers may change between
* method calls.
* - IDENTIFIER_STABILITY_SAVE_DURATION - Identifers are guaranteed stable
* - IDENTIFIER_STABILITY_SAVE_DURATION - Identifiers are guaranteed stable
* within a single save/refresh cycle.
* - IDENTIFIER_STABILITY_SESSION_DURATION - Identifiers are guaranteed
* stable within a single session.
* - IDENTIFIER_STABILITY_INDEFINITE_DURATION - Identifers are guaranteed
* - IDENTIFIER_STABILITY_INDEFINITE_DURATION - Identifiers are guaranteed
* to be stable forever.
*
* @api
Expand Down Expand Up @@ -329,7 +329,7 @@ interface RepositoryInterface
* type inheritance:
*
* - NODE_TYPE_MANAGEMENT_INHERITANCE_MINIMAL Registration of primary node
* types is limited to those which have onlynt:base as supertype.
* types is limited to those which have only nt:base as supertype.
* Registration of mixin node types is limited to those without any
* supertypes.
*
Expand Down
2 changes: 1 addition & 1 deletion src/PHPCR/Retention/RetentionManagerInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ public function addHold($absPath, $name, $isDeep);
public function removeHold($absPath, HoldInterface $hold);

/**
* Gets the retention poilcy of a node identified by its path.
* Gets the retention policy of a node identified by its path.
*
* Returns the retention policy that has been set using
* setRetentionPolicy() on the node at $absPath or null if no policy has
Expand Down
2 changes: 1 addition & 1 deletion src/PHPCR/Security/PrivilegeInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ interface PrivilegeInterface
const JCR_LOCK_MANAGEMENT = "{http://www.jcp.org/jcr/1.0}lockManagement";

/**
* A constant representing jcr:versionManagment (in extended form), the
* A constant representing jcr:versionManagement (in extended form), the
* privilege to perform versioning operations on a node.
*
* @api
Expand Down
10 changes: 5 additions & 5 deletions src/PHPCR/SessionInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ interface SessionInterface

/**
* A constant representing the set_property action string, used to
* determine ifthis Session has permission to set (add or modify) a
* determine if this Session has permission to set (add or modify) a
* property.
*
* @api
Expand Down Expand Up @@ -397,7 +397,7 @@ public function itemExists($absPath);
public function nodeExists($absPath);

/**
* Determines the existance of a property.
* Determines the existence of a property.
*
* Returns true if a property exists at absPath and this Session has read
* access to it; otherwise returns false.
Expand Down Expand Up @@ -959,7 +959,7 @@ public function importXML($parentAbsPath, $uri, $uuidBehavior);
*
* @param string $absPath The path of the root of the subgraph to be
* serialized. This must be the path to a node, not a property
* @param resource $stream The stream resource (i.e. aquired with fopen) to
* @param resource $stream The stream resource (i.e. acquired with fopen) to
* which the XML serialization of the subgraph will be output. Must
* support the fwrite method.
* @param boolean $skipBinary A boolean governing whether binary properties
Expand Down Expand Up @@ -1007,7 +1007,7 @@ public function exportSystemView($absPath, $stream, $skipBinary, $noRecurse);
*
* @param string $absPath The path of the root of the subgraph to be
* serialized. This must be the path to a node, not a property
* @param resource $stream The stream resource (i.e. aquired with fopen) to
* @param resource $stream The stream resource (i.e. acquired with fopen) to
* which the XML serialization of the subgraph will be output. Must
* support the fwrite method.
* @param boolean $skipBinary A boolean governing whether binary properties
Expand Down Expand Up @@ -1080,7 +1080,7 @@ public function getNamespaceURI($prefix);
* Returns the prefix to which the given uri is mapped as currently set in
* this Session.
*
* @param string $uri The loaction of the namespace definition (usually a
* @param string $uri The location of the namespace definition (usually a
* uri).
*
* @return string The prefix of a namespace identified by its uri.
Expand Down
2 changes: 1 addition & 1 deletion src/PHPCR/Version/VersionHistoryInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ public function getAllVersions();

/**
* This method returns all the frozen nodes of all the versions in this
* verison history in the same order as getAllLinearVersions().
* version history in the same order as getAllLinearVersions().
*
* @return \Iterator implementing <b>SeekableIterator</b> and
* <b>Countable</b>. Values are the NodeInterface instances. Keys
Expand Down
2 changes: 1 addition & 1 deletion src/PHPCR/Version/VersionInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ public function getSuccessors();
*
* Assuming that this Version object was acquired through a Workspace $w
* and is within the VersionHistory $h, this method returns the predecessor
* ofthis version along the same line of descent as is returned by
* of this version along the same line of descent as is returned by
* $h->getAllLinearVersions() where $h was also acquired through $w.
*
* Note that under simple versioning the behavior of this method is
Expand Down
4 changes: 2 additions & 2 deletions src/PHPCR/Version/VersionManagerInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -442,7 +442,7 @@ public function restoreByLabel($absPath, $versionLabel, $removeExisting);
* is encountered whose corresponding node's base version is on a divergent
* branch from the base version of the node at absPath.
*
* This is a worksapce-write method and therefore any changes are dispatched
* This is a workspace-write method and therefore any changes are dispatched
* immediately.
*
* This method returns an iterator over all versionable nodes in the
Expand Down Expand Up @@ -682,7 +682,7 @@ public function getActivity();
*
* The new node is dispatched immediately and does not require a save.
*
* @param string $title The tilte of the activity to be created.
* @param string $title The title of the activity to be created.
*
* @return \PHPCR\NodeInterface the new activity Node.
*
Expand Down

0 comments on commit 79319b8

Please sign in to comment.