Skip to content

Commit

Permalink
Restoring the 0.11 version naming.
Browse files Browse the repository at this point in the history
  • Loading branch information
RadoslavGeorgiev committed Feb 24, 2017
1 parent a73bc22 commit 71e2102
Show file tree
Hide file tree
Showing 7 changed files with 24 additions and 24 deletions.
16 changes: 8 additions & 8 deletions classes/class-breadcrumbs.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,21 +4,21 @@
/**
* Handles normal breadcrumbs based on the current item.
*
* @since 0.2
* @since 0.11
*/
class Breadcrumbs {
/**
* Holds all current items.
*
* @since 0.2
* @since 0.11
* @var Rila\Item
*/
protected $item;

/**
* Saves the current item if one is available.
*
* @since 0.2
* @since 0.11
*
* @param Rila\Item $item The item that should be used as the current one.
*/
Expand All @@ -31,7 +31,7 @@ public function __construct( $item = null ) {
/**
* Locates the main item for the breadcrumbs.
*
* @since 0.2
* @since 0.11
*
* @return Rila\Item
*/
Expand All @@ -50,7 +50,7 @@ protected function get_item() {
/**
* Allows the current item for breadcrumbs to be overwritten.
*
* @since 0.2
* @since 0.11
*
* @param mixed $item The item that will be used for the breadcrumbs.
*/
Expand All @@ -62,7 +62,7 @@ protected function get_item() {
/**
* Renders the breadcrumbs.
*
* @since 0.2
* @since 0.11
*
* @return string
*/
Expand Down Expand Up @@ -108,7 +108,7 @@ public function render() {
/**
* Retrieves the breadcrumbs for a certain item.
*
* @since 0.2
* @since 0.11
*
* @param mixed $item The item to crawl.
* @return mixed[]
Expand Down Expand Up @@ -140,7 +140,7 @@ protected function crawl( $item ) {
/**
* Generates the string reprensentation of all breadcrumbs.
*
* @since 0.2
* @since 0.11
*
* @return string
*/
Expand Down
4 changes: 2 additions & 2 deletions classes/class-builder.php
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ public function render() {
/**
* Allows the CSS class of the block to be generated by the block itself.
*
* @since 0.2
* @since 0.11
*
* @param int $index The index of the block (starting with 0).
* @param int $type_index The index of the specific blocks' type.
Expand All @@ -212,7 +212,7 @@ public function render() {
/**
* Allows the CSS class of a block to be modified.
*
* @since 0.2
* @since 0.11
*
* @param string $css_class The already-generated CSS class.
* @param Rila\Block $block The block whose class is being generated.
Expand Down
10 changes: 5 additions & 5 deletions classes/class-collection.php
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ public function valid() {
/**
* Checks if a certain offset exists.
*
* @since 0.2
* @since 0.11
*
* @param int $offset The offset to check.
* @return bool
Expand All @@ -221,7 +221,7 @@ public function offsetExists( $offset ) {
/**
* Returns the item at a certain offset.
*
* @since 0.2
* @since 0.11
*
* @param int $offset The offset to retrieve an item from.
* @return mixed
Expand All @@ -235,7 +235,7 @@ public function offsetGet( $offset ) {
/**
* Attempts adding an item to the object.
*
* @since 0.2
* @since 0.11
*
* @param mixed $offset Either null to append or an integer.
* @param Item $value The value to set.
Expand Down Expand Up @@ -270,7 +270,7 @@ public function offsetSet( $offset, $value ) {
/**
* Unsets an offset from the internal array.
*
* @since 0.2
* @since 0.11
*
* @param string $offset The offset to unset.
*/
Expand Down Expand Up @@ -454,7 +454,7 @@ public function get( $id ) {
/**
* Returns the first element of the collection, if any.
*
* @since 0.2
* @since 0.11
*
* @return mixed Either the first element or null.
*/
Expand Down
2 changes: 1 addition & 1 deletion classes/class-image.php
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ protected function image_attributes() {
* This is needed because by default, the thumbnail property is pointing to the
* featured image of posts, which for an image is simply null.
*
* @since 0.2
* @since 0.11
*
* @return Rila\Image
*/
Expand Down
2 changes: 1 addition & 1 deletion classes/class-meta.php
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,7 @@ public static function map( $value, $property, $map ) {
/**
* Returns the count of the internal values.
*
* @since 0.2
* @since 0.11
*
* @return int
*/
Expand Down
2 changes: 1 addition & 1 deletion classes/class-post-type.php
Original file line number Diff line number Diff line change
Expand Up @@ -540,7 +540,7 @@ public function password_form() {
/**
* Returns the children of the current post, ordered by menu order.
*
* @since 0.2
* @since 0.11
*
* @return Rila\Collection\Posts
*/
Expand Down
12 changes: 6 additions & 6 deletions functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@ function rila_register_class( $classname ) {
/**
* Creates a new collection of posts.
*
* @since 0.2
* @since 0.11
*
* @param mixed $args Either an array or string of arguments for the collection. (optional)
* @return Rila\Collection\Posts
Expand All @@ -252,7 +252,7 @@ function rila_posts( $args = '' ) {
/**
* Creates a new collection of terms.
*
* @since 0.2
* @since 0.11
*
* @param mixed $args Either an array or string of arguments for the collection. (optional)
* @return Rila\Collection\Terms
Expand All @@ -264,7 +264,7 @@ function rila_terms( $args = '' ) {
/**
* Creates a new collection of users.
*
* @since 0.2
* @since 0.11
*
* @param mixed $args Either an array or string of arguments for the collection. (optional)
* @return Rila\Collection\Users
Expand All @@ -276,7 +276,7 @@ function rila_users( $args = '' ) {
/**
* Creates a new collection of comments.
*
* @since 0.2
* @since 0.11
*
* @param mixed $args Either an array or string of arguments for the collection. (optional)
* @return Rila\Collection\Comments
Expand All @@ -288,7 +288,7 @@ function rila_comments( $args = '' ) {
/**
* Creates a new collection of files.
*
* @since 0.2
* @since 0.11
*
* @param mixed $args Either an array or string of arguments for the collection. (optional)
* @return Rila\Collection\Files
Expand All @@ -300,7 +300,7 @@ function rila_files( $args = '' ) {
/**
* Creates a new collection of images.
*
* @since 0.2
* @since 0.11
*
* @param mixed $args Either an array or string of arguments for the collection. (optional)
* @return Rila\Collection\Images
Expand Down

0 comments on commit 71e2102

Please sign in to comment.